diff --git a/src/im_mad/remotes/lib/vcenter_cluster.rb b/src/im_mad/remotes/lib/vcenter_cluster.rb index 6f1bd37337..0f4edd067c 100644 --- a/src/im_mad/remotes/lib/vcenter_cluster.rb +++ b/src/im_mad/remotes/lib/vcenter_cluster.rb @@ -145,8 +145,10 @@ class Cluster cluster_monitoring end + # Try connectivity to a vCenter instance and close the connection def beacon_host - VCenterDriver::VIClient.new(connection, @host.id) + vi_client = VCenterDriver::VIClient.new(connection, @host.id) + vi_client.close_connection Time.now.to_s end