[fedora-virt] Nagios plugin for monitoring libvirt: multiple servers not possible?
Andrea Modesto Rossi
amrossi at linux.it
Thu Apr 1 10:23:03 UTC 2010
On Gio, 1 Aprile 2010 9:49 am, Richard W.M. Jones wrote:
>
> You could perhaps try something with libvirt remote support:
> http://libvirt.org/remote.html
I use ZABBIX to monitor my KVM cluster, both qemu processes and libvirtd
service. Simply, on zabbiz client:
cat /etc/zabbix/zabbix_agent.conf
.....
UserParameter=proc.num[libvirtd],ps axu | grep "libvirtd" | awk '{print
$11}' | grep "libvirtd" | wc -l
UserParameter=proc.num[qemu-kvm],ps axu | grep "qemu-kvm" | awk '{print
$11}' | grep "qemu-kvm" | wc -l
I hope this can help you.
--
Andrea Modesto Rossi
Fedora Ambassador
More information about the virt
mailing list