Comments (6)
Check whether #88 (comment) helps
from gmond_python_modules.
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.
Kernel is Ubuntu's 4.4.0-124-generic, up from 3.16.0.
What's more nodes are not reporting data back to the gmetad host so rrds are not being updated.
:-/
Hamish
from gmond_python_modules.
(reboot of the cluster solved the trouble with the rrds not being updated)
The netstats problem on the nodes remains.
from gmond_python_modules.
I still see this error on gmond 3.7.2 from EPEL 7 that has the patch proposed here applied.
from gmond_python_modules.
We also see this on 3.7.2
from gmond_python_modules.
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.
def get_delta(name):
"""Return change over time for the requested metric"""
# get metrics
[curr_metrics, last_metrics] = get_metrics()
parts = name.split("_")
group = parts[0]
metric = "_".join(parts[1:])
try:
delta = (float(curr_metrics['data'][group][metric]) - float(last_metrics['data'][group][metric])) / (curr_metrics['time'] - last_metrics['time'])
if delta < 0:
print name + " is less 0"
delta = 0
except KeyError:
delta = 0.0
except ZeroDivisionError:
delta = 0.0
return delta
The only change being the addition of the lines:
except ZeroDivisionError:
delta = 0.0
from gmond_python_modules.
Related Issues (20)
- [PYTHON] Can't find the metric_init function in the python module [varnish].
- The GPU Nvidia module's documentation should make clear what do with the patch file HOT 3
- Outstanding ipmi pull requests
- mysqld python module have error "Can't call the metric_init function in the python module"
- GPU custom graphs dont work with default installation in CentOS 6 HOT 2
- How to add metrics to Ganglia
- i can't monitor my infiniband network HOT 2
- User of sudo within python plugins in Ganglia
- Unsupported NVML Commands
- cpu_temp: wrong directory
- [Ganglia restart extended metrics data lost]
- ipmi.py sends ipmi metrics with forward-slash in their names HOT 1
- Support for aggregate GPU usage statistics
- How to monitor AMD GPUs ?
- No support for 64bit counters? HOT 2
- Migrate LGTM.com installation from OAuth to GitHub App
- json button return numbers not json data format for the graph
- Proposing a PR to fix a few small typos
- inconsistence between nvidia.py and nvidia-ml-py-3.295.00 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmond_python_modules.