Re: [Ganglia-developers] Ganglia libvirt and other virtualization technologies

2012-06-21 Thread Bernard Li
Hi Semy: The more elegant solution is to use gmetad-python and write plugins to manipulate the metric data collected however way you want. For more information, please see the README: https://github.com/ganglia/monitor-core/blob/master/gmetad-python/README And Peter is right, ganglia-general is

Re: [Ganglia-developers] Ganglia libvirt and other virtualization technologies

2012-06-20 Thread Peter Phaal
TCP is not supported. Ganglia's binary protocol and sFlow both use UDP. Loosing a packet is no big deal - a new measurement will be sent next polling interval and the benefits of a stateless protocol are considerable. Peter On Jun 20, 2012, at 3:30 PM, "Simon G." wrote: > On Wed, Jun 20, 2012

Re: [Ganglia-developers] Ganglia libvirt and other virtualization technologies

2012-06-20 Thread Simon G.
On Wed, Jun 20, 2012 at 8:57 PM, Peter Phaal wrote: > There are people on this list who should be able to answer questions > relating to gmetad (although you might have better luck on the > ganglia-general list). My expertise is limited to sFlow. > Btw. sFlow can use TCP as well as UDP? I'm worr

Re: [Ganglia-developers] Ganglia libvirt and other virtualization technologies

2012-06-20 Thread Simon G.
On Wed, Jun 20, 2012 at 10:08 PM, Alex Dean wrote: > gweb allows downloading RRD data as either csv or json. Might that help? > > It could definitely help even if I'm not good at PHP. I'll try it. Thx. -- *Simon* -- Liv

Re: [Ganglia-developers] Ganglia libvirt and other virtualization technologies

2012-06-20 Thread Alex Dean
gweb allows downloading RRD data as either csv or json. Might that help? On Jun 20, 2012, at 2:40 PM, Simon G. wrote: > I think I've found answer for my question. I've just read few files from > source code of ganglia-web and as i can see they are reading RRD to draw > everything so i think I h

Re: [Ganglia-developers] Ganglia libvirt and other virtualization technologies

2012-06-20 Thread Simon G.
I think I've found answer for my question. I've just read few files from source code of ganglia-web and as i can see they are reading RRD to draw everything so i think I have to write my own wrapper around RRD to do what i need. Anyway thx for informations. Cheers, On Wed, Jun 20, 2012 at 8:57 PM

Re: [Ganglia-developers] Ganglia libvirt and other virtualization technologies

2012-06-20 Thread Peter Phaal
There are people on this list who should be able to answer questions relating to gmetad (although you might have better luck on the ganglia-general list). My expertise is limited to sFlow. On Jun 20, 2012, at 11:39 AM, Simon G. wrote: > In next 2-5 days I'll try ganglia + sFlow again, so I'll

Re: [Ganglia-developers] Ganglia libvirt and other virtualization technologies

2012-06-20 Thread Simon G.
In next 2-5 days I'll try ganglia + sFlow again, so I'll definitely let you know about my problems. If you can't answer my previous question to whom should I send it? Cheers, On Wed, Jun 20, 2012 at 8:24 PM, Peter Phaal wrote: > I can't help you with your questions about gmetad, but I would be

Re: [Ganglia-developers] Ganglia libvirt and other virtualization technologies

2012-06-20 Thread Peter Phaal
I can't help you with your questions about gmetad, but I would be very interested in hearing where you ran into trouble during the sFlow/Ganglia configuration. I am currently working on documentation and would like to make sure that I fill any gaps. On Jun 20, 2012, at 11:09 AM, Simon G. wrote

Re: [Ganglia-developers] Ganglia libvirt and other virtualization technologies

2012-06-20 Thread Simon G.
I've already seen sFlow and ganglia about month ago, and I had some problems during configuration, but maybe I should try it again. So maybe I have different question now. Is there any way to query gmetad about historical data? I'd like to retrieve some data in my external piece of software (pytho

Re: [Ganglia-developers] Ganglia libvirt and other virtualization technologies

2012-06-18 Thread Peter Phaal
Simon, Ganglia 3.2+ can collect and display sFlow metrics: http://blog.sflow.com/2012/01/using-ganglia-to-monitor-virtual.html You can monitor the virtual machines by installing Host sFlow agents (http://host-sflow.sourceforge.net/ ) on the hypervisors. The sFlow agents export libvirt metrics u

[Ganglia-developers] Ganglia libvirt and other virtualization technologies

2012-06-18 Thread Simon G.
Hello, Is there any way to use Ganglia to monitor virtual machines? Right now I'd like to get data from libvirt's api (CPU usage, IO, Network etc), but I don't want to reinvent the wheel and I'd like to use already mature tools to do that, for example Ganglia. I know collectd has plugins which sup