Fix wrong esx host retrieval for vCenter VMs

This commit is contained in:
Tino Vazquez committed 2016-04-26 18:52:38 +02:00
1 parent e769ba945e
commit cfc38b0359
1 file changed
+1 -1
@@ -1688,7 +1688,7 @@ class VCenterVm
@used_memory = 0 if @used_memory.to_i < 0
@used_cpu = 0 if @used_cpu.to_i < 0
@esx_host = host.name
@esx_host = @vm.summary.runtime.host.name
@guest_ip = @vm.guest.ipAddress
@guest_state = @vm.guest.guestState
@vmware_tools = @vm.guest.toolsRunningStatus