[libvirt-users] How to collect the VM bandwidth usage utilization

Hi Guy, I am trying to figure out how & where can i get the bandwidth usage utilization statistic info for all the VM, so in the end i will be able to use it for metering purpose.. Anyone got any idea ? Regards, Peter

If you are trying to monitor KVM, XenServer or Xen then you might want to take a look at the Host sFlow project: http://host-sflow.sourceforge.net/ The Host sFlow agent is installed on the hypervisor and exports libvirt metrics for the VMs. sFlow uses a push model, continually streaming the metrics as UDP datagrams to a central collector. Pushing the statistics scales much better than polling and automatically adapts as VMs are added, moved and removed. Take a look at Ganglia for collecting and displaying the metrics: http://ganglia.sourceforge.net/ If you are using the latest versions of XCP or XenServer, then you can use sFlow monitoring in the Open vSwitch to get detailed visibility into traffic flows: http://openvswitch.org/ Open vSwitch supports both sFlow and NetFlow for traffic monitoring, the following article provides a comparison: http://blog.sflow.com/2011/10/comparing-sflow-and-netflow-in-vswitch.html Peter On Sun, Oct 23, 2011 at 11:12 PM, vmnode guy <vmnodeguy@gmail.com> wrote:
Hi Guy, I am trying to figure out how & where can i get the bandwidth usage utilization statistic info for all the VM, so in the end i will be able to use it for metering purpose.. Anyone got any idea ? Regards, Peter _______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Hi Peter Phaal Thanks for your recommendation, i will take sometime to go through & see how to implementing this thing.. it is a bit complex to me.. Regards, Peter On Thu, Oct 27, 2011 at 7:18 AM, Peter Phaal <peter.phaal@gmail.com> wrote:
If you are trying to monitor KVM, XenServer or Xen then you might want to take a look at the Host sFlow project: http://host-sflow.sourceforge.net/
The Host sFlow agent is installed on the hypervisor and exports libvirt metrics for the VMs. sFlow uses a push model, continually streaming the metrics as UDP datagrams to a central collector. Pushing the statistics scales much better than polling and automatically adapts as VMs are added, moved and removed.
Take a look at Ganglia for collecting and displaying the metrics: http://ganglia.sourceforge.net/
If you are using the latest versions of XCP or XenServer, then you can use sFlow monitoring in the Open vSwitch to get detailed visibility into traffic flows: http://openvswitch.org/
Open vSwitch supports both sFlow and NetFlow for traffic monitoring, the following article provides a comparison: http://blog.sflow.com/2011/10/comparing-sflow-and-netflow-in-vswitch.html
Peter
On Sun, Oct 23, 2011 at 11:12 PM, vmnode guy <vmnodeguy@gmail.com> wrote:
Hi Guy, I am trying to figure out how & where can i get the bandwidth usage utilization statistic info for all the VM, so in the end i will be able to use it for metering purpose.. Anyone got any idea ? Regards, Peter _______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
participants (2)
-
Peter Phaal
-
vmnode guy