I have an older zabbix instance which I've been upgrading for several cycles to 5.4.1, along with an ESXi environment which has been brought from 6.0->6.5->6.7->7.0. I'm switching to the new vmware integration from an older template, and while it works, I had a bunch of vm guests already in zabbix, and the old guests don't link with the new autodiscover attempts, AND pre-prod and non-monitored vm guests now show in my host list. This is mostly fine.
I want to link existing zabbix objects with this new template, and as far as I can tell, I just need to add the "vmware guest" template to the existing host (vm) in zabbix, then populate the {$VMWARE.VM.UUID} macro. The issue is, I can't figure out how to get that UUID. If I find an auto-discovered host (vm) and look at the macro, go to the ESXi host which has that vm, I can run "esxcli vm process list" and get a UUID for that vm which does NOT match what autodiscovery found. If I populate a macro with the UUID shown by esxcli, I get "Unknown virtual machine uuid."
How can I find the UUID which zabbix is looking for to link a Zabbix Host to a vmware guest?
I want to link existing zabbix objects with this new template, and as far as I can tell, I just need to add the "vmware guest" template to the existing host (vm) in zabbix, then populate the {$VMWARE.VM.UUID} macro. The issue is, I can't figure out how to get that UUID. If I find an auto-discovered host (vm) and look at the macro, go to the ESXi host which has that vm, I can run "esxcli vm process list" and get a UUID for that vm which does NOT match what autodiscovery found. If I populate a macro with the UUID shown by esxcli, I get "Unknown virtual machine uuid."
How can I find the UUID which zabbix is looking for to link a Zabbix Host to a vmware guest?
Comment