Monitor VMware is new feature of Zabbix 2.2
I got alot of disadvantages at this moment, can’t get the most from guest machine: host IP address, host status, trigger, action… But it worth a try.
To turn on VMware monitoring, Zabbix extensions –with-libxml2 –with-libcurl needs to be compiled with. In addition, the configuration file zabbix_server.conf StartVMwareCollectors must be set to 1 or higher.
apt-get install libxml2-dev libcurl
Edit /etc/zabbix/zabbix_server.conf
LogFile=/tmp/zabbix_server.log
DBName=zabbix
DBUser=zabbix
DBPassword=
StartTrappers=5
StartVMwareCollectors=5
VMwareFrequency=10
VMwareCacheSize=32M
ListenIP=0.0.0.0
StartPollers=96
CacheSize=64M
HistoryCacheSize=16M
TrendCacheSize=16M
HistoryTextCacheSize=32M
ValueCacheSize=16M
Use the following procedure to monitor VMware.
- Create a host of vCenter VMware hypervisor or (vSphere / ESXi)
- $ {URL} , {$ USERNAME} , {$ PASSWORD}
$URL -> https://(name/IP of vSphere Host or vCenter)/sdk
You must have access to the URL. Try test it first. If it not work go to your VCenter and adjust it. - Apply “Template Virt VMware” to host
- Hypervisor, guest VM is automatically registered by the discovery, monitoring is started. It take more than 2 hours to fetch the Information from VCenter. That’s it