KVM monitoring through Zabbix

Posted by Yancy on 2016-07-21

KVM monitoring through Zabbix

Monitor your KVM resources through Zabbix

Zabbix 监控 KVM

安装依赖

python2, libvirt-python (tested with 0.9.12.3, 0.10.2 and 1.1.3.x)

pip install libvirt-python 

KVM Server 设定程序

1
2
3
4
5
6
cd /usr/local/bin/
wget https://github.com/bushvin/zabbix-kvm-res/raw/master/bin/zabbix-kvm-res.py
chmod a+x zabbix-kvm-res.py
cd /etc/zabbix/zabbix_agentd.d
wget https://github.com/bushvin/zabbix-kvm-res/raw/master/zabbix_agentd.conf/UserParameters
service zabbix-agent restart

Zabbix Server 设定程序

https://github.com/bushvin/zabbix-kvm-res下载zabbix_kvm.xml
zabbix_kvm.xml 汇入至Zabbix Server → Configuration → Templates → Import

交流学习:

🐧 Linux shell_高级运维派: 459096184 圈子 (系统运维-应用运维-自动化运维-虚拟化技术研究欢迎加入)
🐧 BigData-Exchange School : 521621407 圈子(大数据运维)(Hadoop开发人员)(大数据研究爱好者) 欢迎加入

相应Bidata有内部微信交流群互相学习,加入QQ群有链接。