diff --git a/src/im_mad/remotes/lib/vcenter_cluster.rb b/src/im_mad/remotes/lib/vcenter_cluster.rb index 1d1327fc1b..5566781d3c 100644 --- a/src/im_mad/remotes/lib/vcenter_cluster.rb +++ b/src/im_mad/remotes/lib/vcenter_cluster.rb @@ -790,6 +790,9 @@ class ClusterSet def monitor(conf) @mutex.synchronize do @clusters.each do |id, c| + if c[:cluster].nil? + c[:cluster] = Cluster.new(id, @client) rescue nil + end next if c[:cluster].nil? if c[:monitordc].nil?