Justin,

Thank you for the listing. 

For anyone interested in the format of the data exported by the Host sFlow agent, the following document describes how the libvirt metrics are encoded:
http://www.sflow.org/sflow_host.txt

The sFlow protocol is very simple, the existing libvirt structures are basically serialized using XDR and sent as UDP datagrams. Apart from the increased scalability of pushing rather than pulling performance counters; the sFlow standard links network, server (both physical and virtual) and application performance statistics together within a single multi-vendor standard:
http://blog.sflow.com/2010/08/sflow-host-structures.html

Peter


On Wed, Oct 20, 2010 at 7:25 AM, Justin Clift <jclift@redhat.com> wrote:
On 10/16/2010 10:26 AM, peter.phaal@gmail.com wrote:
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/

Useful looking project.  Just added a link to it from the libvirt.org
wiki:

 http://wiki.libvirt.org/page/Main_Page#Networking

Hope that helps. :)

Regards and best wishes,

Justin Clift