VMware UUID ESXi Standalone Popular
Standalone template modified from Zabbix's "VM VMware Hypervisor" template that includes ESXI event log from Zabbix's "VM VMware" template. Modified from 3.4.7 and 3.0.15
Requirements
- Read-only ESXi user credentials
- ESXi server UUID#
- ESXi server IP address
Zabbix config required
Edit zabbix_server.conf, update StartVMwareCollectors value to more than 0 and restart zabbix-server. For more details, refer to https://www.zabbix.com/documentation/4.0/manual/vm_monitoring#configuration
To use
- Create new Host* (preferably in host group VMware)
- Go to Templates
- Search for, select "VMware UUID ESXi Standalone" and add
- Go to Macros, Inherited and host Macros
- Click Change to modify the values for
- {$USERNAME} : ESXi username
- {$PASSWORD} : ESXi password
- {$URL} : https://{ESXi-IP-Address}/sdk
- {$UUID} : UUID in lower case#
- Click Add
#Obtaining UUID
Login to your ESXi server, run esxcfg-info -u |awk '{print tolower($0)}' from SSH shell (Thanks to Travis Quinnelly)
Else
- Vsphere Advanced Settings, Config, Hostagent, plugins, solo, check "Config.HostAgent.plugins.solo.enableMob"
- Browse to https:///mob/?moid=ha-host&doPath=hardware.systemInfo
- Copy down value
- Uncheck as in step 1
*Grafana dashboard
For those using Grafana, I have uploaded dashboard to https://grafana.com/dashboards/4812. Note that your host must be in Zabbix host group VMware.
Others
If template does not work, try using the official Zabbix VMware monitoring (e.g. https://www.zabbix.com/documentation/4.0/manual/vm_monitoring)