What I am trying to accomplish:
Hosts that are discovered from VMWare gets OS specific Agent (active) template applied when the Agent 2 comes online.
What I've done:
IF the host is added with Autoregistration first, it does not get the "VMware Guest" template after adding VMware host to Zabbix.
What can I do to achieve my goal?
Hosts that are discovered from VMWare gets OS specific Agent (active) template applied when the Agent 2 comes online.
What I've done:
- VMware template discovery "VMware VM discovery" host prototype is modified to have {#VM.NAME} as name instead of {#VM.UUID} (necessary to match the Agent 2 hostname)
- VMware host is configured to use PSK authentication
- Windows Zabbix Agent 2 is configured to use PSK autentication and send string "Windows_NT" as HostMetadataItem
- Autoregistration rule to Add host and Link template "Windows by Zabbix Agent active" if HostMetadataItem = "Windows_NT"
- Host is successfully discovered by VMware VM discovery
- Agent 2 is started on the Windows VM
- Template "Windows by Zabbix Agent active" is not applied
- No errors in Zabbix Agent log, in debuglevel=5 it shows there is successful communication between Zabbix Server and Agent2
- No errors in Zabbix Server log in debuglevel=3, no mention of the host at all
IF the host is added with Autoregistration first, it does not get the "VMware Guest" template after adding VMware host to Zabbix.
What can I do to achieve my goal?
Comment