sergiotocalini / virbix

Zabbix Agent - KVM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

virbix

KVM Monitoring

This script is part of a monitoring solution that allows to monitor several services and applications.

For more information about this monitoring solution please check out this post on my site.

Star History

Star History Chart

Dependencies

Packages

  • ksh
  • xmllint

Debian/Ubuntu

~# sudo apt install ksh xmllint
~#

Red Hat

~# sudo yum install ksh
~#

Deploy

Default variables:

NAME VALUE
LIBVIRT_URI qemu:///system

Note: these variables has to be saved in the config file (virbix.conf) in the same directory than the script.

Zabbix

~# git clone https://github.com/sergiotocalini/virbix.git
~# sudo ./virbix/deploy_zabbix.sh -u "qemu:///system"
~# sudo systemctl restart zabbix-agent

Note: the installation has to be executed on the zabbix agent host and you have to import the template on the zabbix web. The default installation directory is /etc/zabbix/scripts/agentd/virbix

Usage

~# /etc/zabbix/scripts/agentd/virbix/virbix.sh -s domain_list -j DOMID:DOMNAME:DOMUUID:DOMTYPE:DOMSTATE
{
   ...
}
~#

About

Zabbix Agent - KVM

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%