Submitted by: David Nicklay
This ZenPack leverages the libvirt API for monitoring virtualization servers (e.g. XEN, KVM, etc...). This uses the system python and libvirt python API to monitor various virtualization platforms remotely. It provides a /Server/libvirtHost device class and this module is tested using ssh as a transport for the libvirt API, it could be made to use TLS or TCP with further development. It provides a libvirtvirtualHostlist report as well.
You can set zLibvirtUsername and zLibvirtConnectType to customize access to the hosts, though only qemu+ssh:// was tested at the moment. The libvirt versions packaged with Redhat 5.4 and Ubuntu 9.10 (libvirt 0.70) seem to work well. Earlier 5.x versions of Redhat have very old versions of libvirt. libvirt 0.75 has support for memory stats, but has not been tested yet.
- The Xen hypervisor on Linux and Solaris hosts.
- The QEMU emulator
- The KVM Linux hypervisor
- The LXC Linux container system
- The OpenVZ Linux container system
- The User Mode Linux paravirtualized kernel
- The VirtualBox hypervisor
- The VMware ESX and GSX hypervisors
- Storage on IDE/SCSI/USB disks, FibreChannel, LVM, iSCSI, NFS and filesystems
- Zenoss Version: 2.5
- ZenPack Dependencies: n/a
- External Dependencies: You need libvirt installed along with the python API
You will need to setup an ssh account on the remote libvirtd host with automatic login from the zenoss user on the monitoring host. You will need to set the zLibvirtUsername for a user on the remote box to which zenoss can ssh to without a password.
- 1.58 initial release
Trac tickets: http://zenpacks.zenoss.org/
- get dynamic data point additions working (disk and interfaces are done as totals rather than individual graphs for now). you can manually add the individual disk and interface devices in though.
- test XEN / vmware
- test TLS and TCP connect types (set via zLibvirtConnectType)
- get memory stats working (only available in libvirt 0.7.5)