ganglia / gmond_python_modules

Repository of user-contributed Gmond Python DSO metric modules
http://sourceforge.net/apps/trac/ganglia/wiki/ganglia_gmond_python_modules
389 stars 355 forks source link

ipmi.py sends ipmi metrics with forward-slash in their names #242

Open hakansonOHSU opened 5 years ago

hakansonOHSU commented 5 years ago

This report applies to ganglia 3.7.2 as distributed with CentOS-7.5.

Many errors appear in the logs like this:

gmetad: RRD_create: creating '/var/lib/ganglia/rrds/__SummaryInfo__/ipmi_bb_1_8v_ib_i/o.rrd': No such file or directory gmetad: Unable to write meta data for metric ipmi_bb_1_8v_ib_i/o to RRD

I'm no Python programmer, but it looks like the routine mangle_metric_name needs a .replace("/","_") added to its last return statement.

hakansonOHSU commented 5 years ago

Or maybe it would be cleared up by a fix for https://github.com/ganglia/monitor-core/issues/265