A Zabbix templates for libvirt stats
Tested on:
Ubuntu 12.04 x86_64 with KVM (kernel 3.5.0-44), collectd 4.10
Zabbix 2.0.x
Linux centos 2.6.32-431.29.2.el6.x86_64 collectd-4.10.9
Zabbix 2.4.3
- Patrik Majer [email protected]
-
install a configure zabbix-agent
-
copy file "zabbix-collectd.conf" into your zabbix include folder
-
install collectd package(s) and perl modules
apt-get install collectd
apt-get install libregexp-common-perl
yum install collectd collectd-virt perl-Collectd
-
copy collectd config file (collectd.conf)
-
copy script "collect-libvirt-handler.pl" into /etc/zabbix/scripts/collectd-libvirt folder (with 755 perms)
-
reboot collectd service
-
reboot zabbix-agent service
- use puppet module/manifest czhujer/puppet-zabbixagent
-
virt-cpu-total - on all libvirt guests
-
disk operations READ - on all libvirt guests
-
disk operations WRITE - on all libvirt guests
-
disk octets READ - on all libvirt guests
-
disk octets WRITE - on all libvirt guests
-
network interface packets TR/RX - on all libvirt guests
-
network interface octets TR/RX - on all libvirt guests