Skip to content

H-Software/Zabbix-Template-Linux-Collectd_libvirt

 
 

Repository files navigation

Zabbix Template Linux Collectd_libvirt

A Zabbix templates for libvirt stats

Version 1.4.0 and higher are tested on:

CentOS 6.x x86_64, Collectd 4.10 Zabbix 2.2, Zabbix 2.4

CentOS 7.x x86_64, Collectd 5.5 Zabbix 2.2, Zabbix 2.4

versions 1.2 and lower were tested on:

Ubuntu 12.04 x86_64 with KVM (kernel 3.5.0-44), collectd 4.10 Zabbix 2.0.x

CentOS 6.x X86_64, Collectd 4.10 Zabbix 2.0.x

Authors

installation - Manual

on monitored server (where you have kvm/libvirt)
  • install a configure zabbix-agent

  • copy file "zabbix-collectd.conf" into zabbix agent config folder (e.g. /etc/zabbix/zabbix_agentd.d)

  • install collectd package(s) and perl modules

    apt-get install collectd
    apt-get install libregexp-common-perl
    
    yum install collectd collectd-virt perl-Collectd
    • if yum installation fails, install epel repo package (extras repo)

      yum install epel-release
  • copy/rewrite collectd config file (collectd.conf) in /etc

    • or enable libvirt & unixsock plugins in collectd service
  • copy script "collect-libvirt-handler.pl" into /etc/zabbix/scripts/collectd-libvirt folder (with 755 perms)

  • reboot collectd service

  • reboot zabbix-agent service

on zabbix server
  • import template (xml file)

installation - Automated

Monitored items

  • 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

About

A Zabbix template for monitoring libvirt stats over collectd

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%