M #-: Retry connection in the vCenter probe

This commit is contained in:
Tino Vazquez committed 2020-05-27 20:22:42 +02:00
1 parent c1c819fc46
commit f7a351e7c1
1 file changed
+3
@@ -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?