vmnode guy
2011-Oct-24 06:12 UTC
[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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111024/673d5b8a/attachment.htm>
Peter Phaal
2011-Oct-26 23:18 UTC
[libvirt-users] How to collect the VM bandwidth usage utilization
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 at 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 at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users >