Last week upgraded the online Zabbix version to 2.2.0, which adds a simple monitoring Vmare esxi feature, which I think is very good, here's my monitoring step reference document: HTTPS://WWW.ZABBIX.COM/DOCUMENTATION/2.2/ Manual/vm_monitoring
1. Compile the installation phase to support VMware monitoring need to add--WITH-LIBXML2 and--with-libcurl to the./configure where the previous one was added in 2.2
2. After the installation is complete, the zabbix_server.conf configuration file needs to specify the ' startvmwarecollectors ' parameter, otherwise the startup Zabbix_server will not start the VMware-related process (configuration file There is an explanation I don't do a detailed description )
Vi/data/soft/zabbix-2.2.0/etc/zabbix_server.conf
Startvmwarecollectors=5
Vmwarefrequency=60
Vmwarecachesize=8m
3. After adding a VMware ESXi device in the host interface, you need to specify {$URL}, {$USERNAME}, and {$PASSWORD} three variables, because when you debug the template Virt VMware templates that your system comes with, The key in the template calls these three variables
4. When the third step succeeds, it not only monitors the ESXi physical host, but also automatically discovers the host running on the ESXi and automatically adds it to the monitoring system and loads the template Virt VMware Guest templates (templates are available below for download)
Operation Steps
3. Add ESXi Host Monitoring
650) this.width=650; "title=" 1.jpg "alt=" 121018207.jpg "src=" http://img1.51cto.com/attachment/201312/121018207.jpg "Width=" 650 "style=" padding:0px;margin:0px;vertical-align:top;border:none;/>
Setting variables
650) this.width=650; "title=" 2.jpg "alt=" 121121899.jpg "src=" http://img1.51cto.com/attachment/201312/121121899.jpg "Width=" 650 "style=" padding:0px;margin:0px;vertical-align:top;border:none;/>
Association templates
650) this.width=650; "title=" 3.jpg "alt=" 121146470.jpg "src=" http://img1.51cto.com/attachment/201312/121146470.jpg "Width=" 650 "style=" padding:0px;margin:0px;vertical-align:top;border:none;/>
4. View host will have many more monitoring items
650) this.width=650; "title=" 5.jpg "alt=" 121601496.jpg "src=" http://img1.51cto.com/attachment/201312/121601496.jpg "Width=" 650 "style=" padding:0px;margin:0px;vertical-align:top;border:none;/>
Automatic discovery of monitoring items
650) this.width=650; "title=" 6.jpg "alt=" 121704708.jpg "src=" http://img1.51cto.com/attachment/201312/121704708.jpg "Width=" 650 "style=" padding:0px;margin:0px;vertical-align:top;border:none;/>
zabbix-2.2.0 simple monitoring of VMware ESXi