Hello all,
I'm writing my first gmond python module and having a problem with data showing
as NaN's in the graphs. If anyone is able to help it'd be awesome.
The module does an snmp poll of an ironport appliance and retrieves network
interface total bytes sent/received. I can see the data
polling examples up there so it
might be useful.
Cheers, Evan.
Evan Fraser | Trade Me
-Original Message-
From: Evan Fraser [mailto:evan.fra...@trademe.co.nz]
Sent: Thursday, 5 April 2012 9:37 a.m.
To: ganglia-general@lists.sourceforge.net
Subject: [Ganglia-general] Gmond python module
Unfortunately no,
I ended up storing the previous results and then sending a delta. The
completed module is here:
https://github.com/ganglia/gmond_python_modules/tree/master/network/netiron
Thanks, Evan.
Evan Fraser
Trade Me | Storage Engineer
P
+64 4 803 2756
M
+64 22 087 4032
E
evan.fra
Hi Michael,
That output looks good, just to check that it's creating the descriptors
correctly could you perhaps add a line:
pprint.pprint(descriptors) on line #258 and then paste the output of a few of
those descriptors?
Thanks,
Evan.
Evan Fraser
Trade Me | Storage Engineer
P
+64 4 803
Hi Michael,
What happens if you set the params in the __main__ section of fibrechannel.py
and run it manually from the shell?
Do you get valid metric names and values output to screen?
Do you get any other (non fibrechannel) graphs? Could it be selinux issues?
Cheers, Evan.
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
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
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; ganglia-general
The Fibrechannel switch gmond python module would probably work if you want to
do SNMP polling:
https://github.com/ganglia/gmond_python_modules/tree/master/fibrechannel
Evan Fraser | Storage Engineer
T
+64 4 803 2756
M
+64 22 087 4032
-Original Message-
From: Adam Tygart
9 matches
Mail list logo