Skip to content

tcpcloud/Zabbix-Template-Linux-Collectd_libvirt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zabbix Template Linux Collectd_libvirt

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

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 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
    • if yum installation fails, install epel repo package (extras repo)

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

  • 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