To try out VMware support, we will need:
The IP address or hostname on which we have access to the VMware API
The username for an account with permissions to retrieve the information
The password for that account
First, the server must be compiled with VMware support. If you have installed from packages, the support most likely is included. If you installed from source, check whether the Zabbix server log file lists VMware monitoring as enabled:
VMware monitoring: YES
When compiling from source, the following options are needed for VMware support:
--with-libcurl
--with-libxml2
As with several other features we have explored so far, the Zabbix server doesn't start any VMware-specific processes by default. Edit zabbix_server.conf
and look for the StartVMwareCollectors
parameter. Add a new line and tell Zabbix to start two VMware collectors:
StartVMwareCollectors=2
Restart the server. Why two collectors? Zabbix developers recommend the number of the collectors to be...