jonathanio / monitoring-munin-haproxy

Extensive Munin plugin for monitoring HAProxy services.

Repository from Github https://github.comjonathanio/monitoring-munin-haproxyRepository from Github https://github.comjonathanio/monitoring-munin-haproxy

Issue with Graphs

mozzee opened this issue · comments

installed the latest version with munin version 2.0.33 but most of the graphs ending ERROR like below

2018/04/08 18:30:12 [WARNING] Could not draw graph "/var/www/html/munin/localhost/localhost/haproxyng_be_sessions/statistics-day.png": /var/www/html/munin/localhost/localhost/haproxyng_be_sessions/statistics-day.png
2018/04/08 18:30:12 [RRD ERROR] Unable to graph /var/www/html/munin/localhost/localhost/haproxyng_be_sessions/statistics-year.png : Not a valid vname: cstatistics_queued in line GPRINT:cstatistics_queued:LAST:%6.2lf%s/\g
2018/04/08 18:30:12 [RRD ERROR] rrdtool 'graph' '/var/www/html/munin/localhost/localhost/haproxyng_be_sessions/statistics-year.png' \

Same issue. Any update on this?

I was able to narrow it down to the haproxyng_be_sessions-<backend name>_queued parameter being the cause of it, but I don't know perl and munin enough to find the exact problem.
For me the acual RRD seems to be syntactically valid, as the rrdtool can fetch on it. Th data is 0 which should be valid.

rrdtool fetch proxy.internal-haproxyng_be_sessions-reader_queued-g.rrd AVERAGE

I have narrowed it down to this line:

negative => "${service}_queued",

The queued parameters are referenced wrong in the graph.