[libvirt-users] Monitoring and statistics through libvirt

peter.phaal at gmail.com peter.phaal at gmail.com
Fri Oct 15 23:26:13 UTC 2010


On Fri, Oct 01, 2010 at 03:47:23PM +0200, Tomi wrote:
> Hi folks,

> is it possible to monitor and gather statistics in realtime (CPU,
> memory, HDD, network, ... - something like dstat) of guest systems
> with libvirt through console from host system (KVM based)? If yes, do
> those guests need to be created through libvirt? Thanks for your help
> and time.

If you have a large number of servers to monitor, you might want to look at  
the Host sFlow agent:
http://host-sflow.sourceforge.net/

The Host sFlow agent is installed on the server and locally polls physical  
server statistics and VM statistics using libvirt. The statistics are  
exported using the sFlow protocol.
http://www.sflow.org/

If you want detailed network visibility then the Open vSwitch includes  
sFlow monitoring of inter-VM traffic:
http://openvswitch.org/

For more information, see:
http://blog.sflow.com/2010/10/kvm.html
http://blog.sflow.com/2010/10/sflowtrend-adds-server-performance.html

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20101015/e377de4a/attachment.htm>


More information about the libvirt-users mailing list