jonathanio / monitoring-munin-haproxy

Extensive Munin plugin for monitoring HAProxy services.
GNU General Public License v2.0
9 stars 4 forks source link

Issue with Graphs #5

Open mozzee opened 6 years ago

mozzee commented 6 years ago

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' \

pboesch commented 4 years ago

Same issue. Any update on this?

eff917 commented 2 years ago

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
eff917 commented 2 years ago

I have narrowed it down to this line: https://github.com/jonathanio/monitoring-munin-haproxy/blob/2d09f305194d1b860b9a11d75e0421085aabe625/haproxyng#L670

The queued parameters are referenced wrong in the graph.