See www.zabbix.com for the official Zabbix site.

Esxi standalone template

From Zabbix.org
Jump to: navigation, search

The standard Zabbix Template system for VMWare assume you are running vCenter server and that you zabbix can connect to the vCenter server and auto create all the child hypervisors and guest etc from there. When you use an ESXi server in standalone enviroment where it is directly managed via vSphere client or the webui in ESXi6.x then this process fails.

This template and notes allow you to bypass the vCenter steps and directly poll an ESXi Server for monitoring and VM discovery. Not Guest monitoring if out of band from the guest OS so you will often have 2 hosts for a single device. One autodiscovered monitoring the VM Guest level and a second in band monitoring at agent/OS level.

To avoid name conflicts this template sets guest names as:

{#VM.NAME} (Guest {#VM.ID}) 



Macros

Needs 4 Macros Set:

{$URL}   = https://ESXI_SERVER_IP/sdk/
{$UUID}  = See Notes
{$USERNAME} = ESXi Login
{$PASSWORD} = ESxi Password

ZABBIX UUID

Set {$UUID} Macro to uuid value from

https://<host>/mob/?moid=ha-host&doPath=hardware.systemInfo


Note in ESXi 6.0 the mob ui is disabled by default so below can be used

vim-cmd hostsvc/hostsummary | grep uuid

TEMPLATE - VMWARE - STANDALONE ESXI HOST

File:TEMPLATE - VMWARE - STANDALONE ESXI HOST.xml