Justin,<div><br></div><div>Thank you for the listing. </div><div><br></div><div>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:</div>
<div><a href="http://www.sflow.org/sflow_host.txt">http://www.sflow.org/sflow_host.txt</a></div><div><br></div><div>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:</div>
<div><a href="http://blog.sflow.com/2010/08/sflow-host-structures.html">http://blog.sflow.com/2010/08/sflow-host-structures.html</a></div><div><br></div><div>Peter</div><div><br><br><div class="gmail_quote">On Wed, Oct 20, 2010 at 7:25 AM, Justin Clift <span dir="ltr"><<a href="mailto:jclift@redhat.com">jclift@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 10/16/2010 10:26 AM, <a href="mailto:peter.phaal@gmail.com" target="_blank">peter.phaal@gmail.com</a> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Oct 01, 2010 at 03:47:23PM +0200, Tomi wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi folks,<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
is it possible to monitor and gather statistics in realtime (CPU,<br>
memory, HDD, network, ... - something like dstat) of guest systems<br>
with libvirt through console from host system (KVM based)? If yes, do<br>
those guests need to be created through libvirt? Thanks for your help<br>
and time.<br>
</blockquote>
<br>
If you have a large number of servers to monitor, you might want to look<br>
at the Host sFlow agent:<br>
<a href="http://host-sflow.sourceforge.net/" target="_blank">http://host-sflow.sourceforge.net/</a><br>
</blockquote>
<br></div>
Useful looking project.  Just added a link to it from the <a href="http://libvirt.org" target="_blank">libvirt.org</a><br>
wiki:<br>
<br>
  <a href="http://wiki.libvirt.org/page/Main_Page#Networking" target="_blank">http://wiki.libvirt.org/page/Main_Page#Networking</a><br>
<br>
Hope that helps. :)<br>
<br>
Regards and best wishes,<br><font color="#888888">
<br>
Justin Clift<br>
<br>
</font></blockquote></div><br></div>