-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't call the metric handler function for... #237
Comments
Hi, I'm seeing the same thing in /var/log/syslog on Ubuntu 14.04 with ganglia-monitor 3.6.0-1ubuntu2. Since the last few weeks, about the same time you reported the bug. What's more nodes are not reporting data back to the gmetad host so rrds are not being updated. :-/ |
(reboot of the cluster solved the trouble with the rrds not being updated) |
Check whether #88 (comment) helps |
I still see this error on gmond 3.7.2 from EPEL 7 that has the patch proposed here applied. |
We also see this on 3.7.2 |
Still monitoring, but so far I believe I was able to implement a fix for 3.7.2 Manually changed /usr/lib64/ganglia/python_modules/netstats.py (your installation location may differ) to catch ZeroDivisionErrors in the delta function. I can't see how this would have a negative effect on monitoring since the exception should only invoke in cases of divide-by-zero situations. So far so good on my end on a node I'm testing this on.
The only change being the addition of the lines:
|
Similar to (#88), the systemd logs of my systems are all constantly flooded with streams of messages such as:
journalctl | grep gmond
[PYTHON] Can't call the metric handler function for [udp_inerrors] in the python module [netstats].
[PYTHON] Can't call the metric handler function for [udp_rcvbuferrors] in the python module [netstats].
[PYTHON] Can't call the metric handler function for [tcpext_listendrops] in the python module [netstats].
[PYTHON] Can't call the metric handler function for [tcp_attemptfails] in the python module [netstats].
[PYTHON] Can't call the metric handler function for [tcpext_tcploss_percentage] in the python module [netstats].
[PYTHON] Can't call the metric handler function for [tcp_retrans_percentage] in the python module [netstats].
[PYTHON] Can't call the metric handler function for [tcp_outsegs] in the python module [netstats].
[PYTHON] Can't call the metric handler function for [tcp_insegs] in the python module [netstats].
[PYTHON] Can't call the metric handler function for [udp_indatagrams] in the python module [netstats].
[PYTHON] Can't call the metric handler function for [udp_outdatagrams] in the python module [netstats].
Perhaps the netstats module needs to do some more validation before calling functions?
I'm on debian 9 (ganglia-monitor 3.6.0-7)
The text was updated successfully, but these errors were encountered: