Hello,
after unsuccessful quest for probes for monitoring Citrix XenServer hosts via the native mechanism I've decided to write my own probes. These probes do not require installation of Zabbix on XenServer.
Package contains two probes:
- citrix.py: extracts hosts and VMs performance via XenServer XAPI RRDs
- citrix-storage.py: extracts hosts and VMs storage size and allocation
Probes cache results for all hosts and VMs in local files. In case that probe fail cache files are kept.
Templates are provided for both XenServer hosts and VMs. Hosts monitoring follows the same logic as the VMware monitoring solution (http://www.zabbix.com/forum/showthread.php?t=15691). For each host IP is set to Zabbix server IP in order to enable running Zabbix passive items. Probes citrix.py and citrix-storage.py are associated only to master host(s).
VMs can be monitored with passive or trigger items. Passive items enable fine tuning items (e.g. frequency). However with a large Citrix cluster can create load on the Zabbix server. With trigger items all VM results are reported at the same time.
Installation details are provided in the README file.
I'd like to emphasize that my Python knowledge is very limited so code might be a bit clunky
All comments and especially contributions are very welcome.
Cheers
emir
after unsuccessful quest for probes for monitoring Citrix XenServer hosts via the native mechanism I've decided to write my own probes. These probes do not require installation of Zabbix on XenServer.
Package contains two probes:
- citrix.py: extracts hosts and VMs performance via XenServer XAPI RRDs
- citrix-storage.py: extracts hosts and VMs storage size and allocation
Probes cache results for all hosts and VMs in local files. In case that probe fail cache files are kept.
Templates are provided for both XenServer hosts and VMs. Hosts monitoring follows the same logic as the VMware monitoring solution (http://www.zabbix.com/forum/showthread.php?t=15691). For each host IP is set to Zabbix server IP in order to enable running Zabbix passive items. Probes citrix.py and citrix-storage.py are associated only to master host(s).
VMs can be monitored with passive or trigger items. Passive items enable fine tuning items (e.g. frequency). However with a large Citrix cluster can create load on the Zabbix server. With trigger items all VM results are reported at the same time.
Installation details are provided in the README file.
I'd like to emphasize that my Python knowledge is very limited so code might be a bit clunky
All comments and especially contributions are very welcome.Cheers
emir
Comment