[Ganglia-general] help with gmond python plugin

2014-11-03 Thread Elias Abacioglu
Hi guys, I have very little understanding of python, but I've been trying to make a python plugin for gmond. But it doesn't work. I was hoping if someone could look at my code and tell me what is wrong? I have it at https://gist.github.com/Raboo/01d4dd9bc125efd4f9c5 And my conifg looks like this

[Ganglia-general] XSS Vulnerability

2014-11-03 Thread Cristovao Jose Domingues Cordeiro
Hi all, just wondering if there are any plans to take care of this issue in next releases of Ganglia web? Thanks Cumprimentos / Best regards, Cristóvão José Domingues Cordeiro IT Department - 28/R-018 CERN --

Re: [Ganglia-general] help with gmond python plugin

2014-11-03 Thread Evan Fraser
Hi Elias, When you run the module directly from the shell, what output do you get? It looks like the descriptors mightn't be getting the metric names set correctly? Evan Fraser | Storage Engineer T +64 4 803 2756 M +64 22 087 4032 From: Elias Abacioglu [mailto:elias.r...@gmail.com] Sent:

Re: [Ganglia-general] help with gmond python plugin

2014-11-03 Thread Evan Fraser
It also looks like it will only ever poll for metrics once as your call back function doesn't poll. It just returns the same value from 'metrics' that you set within your metric_init function. Hit me up on #ganglia on freenode if you want. Cheers, Evan. Evan Fraser | Storage Engineer T +64 4

Re: [Ganglia-general] help with gmond python plugin

2014-11-03 Thread Elias Abacioglu
Hi Evan, Here is the output. # python at_metrics.py value for Endpoint.Order.rejected.requests is 0 value for Endpoint.PageView.rejected.requests is 0 value for ThreadPoolExecutor.trackbox-http-executor.throughput is 1286349118 value for Queue.trackbox-app-executor.queueLatencyMicroseconds is

Re: [Ganglia-general] help with gmond python plugin

2014-11-03 Thread Rick Cobb
I'm sure somebody noticed that 'Queue.trackbox...' doesn't match 'Queues(.+)' . Singularly -- -- ReC On Mon, Nov 3, 2014 at 2:20 PM, Elias Abacioglu elias.r...@gmail.com wrote: Hi Evan, Here is the output. # python at_metrics.py value for Endpoint.Order.rejected.requests is 0 value for

Re: [Ganglia-general] help with gmond python plugin

2014-11-03 Thread Evan Fraser
That’s an excellent point that I hadn’t noticed! Evan Fraser | Storage Engineer T +64 4 803 2756 M +64 22 087 4032 From: cob...@gmail.com [mailto:cob...@gmail.com] On Behalf Of Rick Cobb Sent: Tuesday, 4 November 2014 12:26 p.m. To: Elias Abacioglu Cc: Evan Fraser;