Hello,
I am trying to add python netstats ganglia module but i have the followin
errors
File "/usr/local/lib64/ganglia/python_modules/netstats.py", line 103, in
get_tcploss_percentage
[curr_metrics, last_metrics] = get_metrics()
TypeError: 'int' object is not iterable
metric 'tcpext_tcploss_percentage' has value_threshold 1.000000
metric 'tcp_retrans_percentage' being collected now
[PYTHON] Can't call the metric handler function for
[tcp_retrans_percentage] in the python module [netstats].
Traceback (most recent call last):
File "/usr/local/lib64/ganglia/python_modules/netstats.py", line 118, in
get_retrans_percentage
[curr_metrics, last_metrics] = get_metrics()
TypeError: 'int' object is not iterable
metric 'tcp_retrans_percentage' has value_threshold 1.000000
metric 'tcp_outsegs' being collected now
[PYTHON] Can't call the metric handler function for [tcp_outsegs] in the
python module [netstats].
Traceback (most recent call last):
File "/usr/local/lib64/ganglia/python_modules/netstats.py", line 83, in
get_delta
[curr_metrics, last_metrics] = get_metrics()
TypeError: 'int' object is not iterable
metric 'tcp_outsegs' has value_threshold 1.000000
metric 'tcp_insegs' being collected now
[PYTHON] Can't call the metric handler function for [tcp_insegs] in the
python module [netstats].
Traceback (most recent call last):
File "/usr/local/lib64/ganglia/python_modules/netstats.py", line 83, in
get_delta
[curr_metrics, last_metrics] = get_metrics()
TypeError: 'int' object is not iterable
metric 'tcp_insegs' has value_threshold 1.000000
metric 'udp_indatagrams' being collected now
[PYTHON] Can't call the metric handler function for [udp_indatagrams] in
the python module [netstats].
Traceback (most recent call last):
File "/usr/local/lib64/ganglia/python_modules/netstats.py", line 83, in
get_delta
[curr_metrics, last_metrics] = get_metrics()
TypeError: 'int' object is not iterable
metric 'udp_indatagrams' has value_threshold 1.000000
metric 'udp_outdatagrams' being collected now
[PYTHON] Can't call the metric handler function for [udp_outdatagrams] in
the python module [netstats].
Traceback (most recent call last):
File "/usr/local/lib64/ganglia/python_modules/netstats.py", line 83, in
get_delta
[curr_metrics, last_metrics] = get_metrics()
TypeError: 'int' object is not iterable
metric 'udp_outdatagrams' has value_threshold 1.000000
metric 'udp_inerrors' being collected now
[PYTHON] Can't call the metric handler function for [udp_inerrors] in the
python module [netstats].
Can you help me?
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers