Re: [libvirt-users] Collecting system stats

2013-09-25 Thread Sam Giraffe
Thanks, I will look into sflow. Is it possible to get some basic info through libvirt though about the hypervisor without installing additional software? I was able to dig around a bit and found conn.GetInfo (where conn=libvirt.open("qemu:///system")) which gave me some information on hypervisor m

Re: [libvirt-users] Collecting system stats

2013-09-25 Thread Peter Phaal
If you need to continuously track libvirt metrics, you might want to install Host sFlow agents on each of your KVM hypervisors: http://host-sflow.sourceforge.net/ The Host sFlow agent is a lightweight daemon that links to the libvirt library on the hypervisor and sends hypervisor and VM metrics u

[libvirt-users] Collecting system stats

2013-09-25 Thread Sam Giraffe
Hi, I am trying to create a report across all my KVM hypervisors using libvirt API and I need some assistance in figuring out the right API calls. My report will contain the total available memory, CPU, disk across all hypervisors, versus the amount used by the virtual machines. This report will h