├── README.md └── zabbix_esx_template.xml /README.md: -------------------------------------------------------------------------------- 1 | # zabbix-vmwareesx 2 | This is a template which can be used to monitor oVirt or libvirt virtualization hosts from within Zabbix. 3 | 4 | The template was exported from Zabbix version 2.2.4 5 | Tested with ESXi 5.5.0 build 1881737 6 | 7 | ##How to use: 8 | 1. Enable SNMP on the VMWARE ESX-hosts: 9 | - connect with SSH to the ESX host and execute the following commands: 10 | - replace with your SNMP-community 11 | - `esxcli system snmp set --communities ` 12 | - `esxcli system snmp set --enable true` 13 | 2. Enable SNMP trough the firewall on the VMWARE ESX-hosts: 14 | - connect with SSH to the ESX host and execute the following commands: 15 | - `esxcli network firewall ruleset set --ruleset-id snmp --allowed-all true` 16 | - `esxcli network firewall ruleset set --ruleset-id snmp --enabled true` 17 | - `/etc/init.d/snmpd restart` 18 | 19 | 3. Import the template in Zabbix: 20 | - connect to your Zabbix Web-GUI and go to Configuration - Templates 21 | - click on Import 22 | - choose the file and click on Import 23 | 24 | 4. Add your VMWARE ESX-hosts to Zabbix: 25 | - connect to your Zabbix Web-GUI and go to Configuration - Hosts 26 | - for each host: click on Create Host 27 | - On the host tab: 28 | - enter a host name 29 | - add an SNMP-interface with your ESX-hosts IP and/or hostname 30 | - On the templates tab: 31 | - add template "Template SNMP ESX" 32 | - On the Macros tab: 33 | - enter macro {$SNMP_COMMUNITY} with as value 34 | - enter macro {$SNMP_PORT} with your SNMP-port as value (default 161) 35 | - click Save 36 | 37 | 5. Wait for the discovery to fire that creates all items, graphs and triggers 38 | -------------------------------------------------------------------------------- /zabbix_esx_template.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 2.0 4 | 2014-07-17T14:03:44Z 5 | 6 | 7 | Templates 8 | 9 | 10 | 11 | 2184 | 2185 | 2186 | --------------------------------------------------------------------------------