Hello fellow networking friends 
I've been using Zabbix for quite some time now, both for my homelab as well as in both companies I've worked so far. So I'm not completely new, but still far from being a real expert.
I've set up a completely fresh install of Zabbix 7.2.1 on Debian 12 - Everything latest and up to date.
I started to add our Switches via SNMP - Works great.
Then I wanted to add our three ESX Hosts, and that's where the problems started ...
I've created all three hosts and assigned the official "VMware Hypervisor" template which ships with Zabbix by default.
I've also added the StartVMwareCollectors argument with a value of 5, as described in the template docs, and the macros {$VMWARE.URL}, {$VMWARE.USERNAME}, {$VMWARE.PASSWORD} and {$VMWARE.HV.SENSOR.DISCOVERY} are also configured for every host.
Little side note: While we do have a vCenter running, I thought it's smarter to add the hosts directly, in case the vCenter VM fails at some point.
Now, if I go to one of those three hosts (the behavior is the exact same for all three) all data collections fail.
I get the following two errors:
I've also tried manually setting the UUID Macro. Logged into one of the hosts via SSH, accessed the shell, got the host UUID via `cat /etc/vmware-vpx/instance.cfg`, added it as value for the {$VMWARE.HV.UUID} macro - Still getting the same errors.
But from my understanding based on the template docs it shouldn't be neccessary to do so, since such a step isn't described.
I guess that the Invalid second parameter. comes up because the UUID can't be found in the inherited Macro which than causes other data collection templates to fail since UUID is empty. Just a guess though.
Does anyone have an idea on how to solve this? I'm running out of ideas at this point ...
Thanks in advance to anyone who has an idea.
Best regards and have an amazing day

I've been using Zabbix for quite some time now, both for my homelab as well as in both companies I've worked so far. So I'm not completely new, but still far from being a real expert.
I've set up a completely fresh install of Zabbix 7.2.1 on Debian 12 - Everything latest and up to date.
I started to add our Switches via SNMP - Works great.
Then I wanted to add our three ESX Hosts, and that's where the problems started ...
I've created all three hosts and assigned the official "VMware Hypervisor" template which ships with Zabbix by default.
I've also added the StartVMwareCollectors argument with a value of 5, as described in the template docs, and the macros {$VMWARE.URL}, {$VMWARE.USERNAME}, {$VMWARE.PASSWORD} and {$VMWARE.HV.SENSOR.DISCOVERY} are also configured for every host.
Little side note: While we do have a vCenter running, I thought it's smarter to add the hosts directly, in case the vCenter VM fails at some point.
Now, if I go to one of those three hosts (the behavior is the exact same for all three) all data collections fail.
I get the following two errors:
- Invalid second parameter.
- Unknown hypervisor uuid.
I've also tried manually setting the UUID Macro. Logged into one of the hosts via SSH, accessed the shell, got the host UUID via `cat /etc/vmware-vpx/instance.cfg`, added it as value for the {$VMWARE.HV.UUID} macro - Still getting the same errors.
But from my understanding based on the template docs it shouldn't be neccessary to do so, since such a step isn't described.
I guess that the Invalid second parameter. comes up because the UUID can't be found in the inherited Macro which than causes other data collection templates to fail since UUID is empty. Just a guess though.
Does anyone have an idea on how to solve this? I'm running out of ideas at this point ...
Thanks in advance to anyone who has an idea.
Best regards and have an amazing day
At least docs say its possible... (The template "VMware Hypervisor" can be used in discovery as well as manually linked to a host.)
Comment