Hello Daniel, I've been played with the RRDs of xen:
http://community.citrix.com/display/xs/Using+XenServer+RRDs http://community.citrix.com/display/xs/parse_rrd.py+%28Python+Script+for+parsing+RRDs%29 <-- example python script 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. Something like this: https://gist.github.com/badcrc/5713022 Regards! 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. > > Regards, > > Daniel > > > > _______________________________________________ > Xen-api mailing list > Xen-api@lists.xen.org > http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api ======================================== Koldo Aingeru Marcos Fdez. Ingeniería de Sistemas Sarenet S.A. 944209470 Parque Tecnológico, Edificio 103 48170 Zamudio, Bizkaia www.sarenet.es Twitter: @Sarenet ========================================
_______________________________________________ Xen-api mailing list Xen-api@lists.xen.org http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api