[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvirt-users
Subject:    Re: [libvirt-users] Monitoring and statistics through libvirt
From:       Peter Phaal <peter.phaal () gmail ! com>
Date:       2010-10-20 19:47:29
Message-ID: AANLkTinEvQJjyvAxj0uDwe16NNCxr0GNKYT-ZF8E6ost () mail ! gmail ! com
[Download RAW message or body]

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
>
>

[Attachment #3 (text/html)]

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">&lt;<a href="mailto:jclift@redhat.com">jclift@redhat.com</a>&gt;</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>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic