[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] monitoring hypervisor with Ganglia

  • To: Koldo Aingeru Marcos Fernández <koldo.aingeru@xxxxxxxxxx>, xen-api <xen-api@xxxxxxxxxxxxx>
  • From: John Else <john.else@xxxxxxxxxx>
  • Date: Wed, 5 Jun 2013 11:00:55 +0000
  • Accept-language: en-GB, en-US
  • Delivery-date: Wed, 05 Jun 2013 11:01:15 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHOYck6p340yxION0C96pH2eYJABZkm3awAgAATfEA=
  • Thread-topic: [Xen-API] monitoring hypervisor with Ganglia

The RRD daemon in XCP 1.6 also has a plugin interface if you want to expose metrics which aren’t read by default – there’s a python example here:






From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On Behalf Of Koldo Aingeru Marcos Fernández
Sent: 05 June 2013 11:40
To: xen-api
Subject: Re: [Xen-API] monitoring hypervisor with Ganglia


Hello Daniel,


I've been played with the RRDs of xen:



After getting the values you want (cpu, memory, network, disk), you can use the python api of ganglia (just add gmetric.py and  do "import Gmetric") for sending the data.





El 05/06/2013, a las 10:41, Daniel Pocock escribió:

Has anybody made a Ganglia module for dom0 monitoring?  I found an sFlow
module exists, but would prefer to have native Ganglia support.

If not, I may be able to put together a very basic one

However, I couldn't see anything under /proc/xen or /sys/hypervisor for
giving me metrics

Is there a generic way to obtain hypervisor metrics on dom0 that will
work from all Xen variations, xl and xe?  This would avoid the need to
make multiple versions of a Ganglia module

Can anybody refer me to any existing C or Python code that gathers
metrics from the hypervisor?  If I can use existing code and just link
it to the Ganglia API (it has a C and Python API) then the final module
will be released under a compatible free license.



Xen-api mailing list



Koldo Aingeru Marcos Fdez.  

Ingeniería de Sistemas

Sarenet S.A.


Parque Tecnológico, Edificio 103

48170 Zamudio, Bizkaia

Twitter: @Sarenet





Xen-api mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.