Created attachment 176058 [details] Screenshot of missing graphs Using the haproxy_ng plugin I encounter a lot of the following errors: 2016/10/22 12:55:12 [WARNING] Service HAPSessionsBack.mysql-write-backend on box-hlm-03/10.3.0.1:4949 returned no data for label mysql2 Consequently a lot of graphs are not shown, such as: * Bandwidth usage by Backend * Bandwidth usage by Frontend * Response errors by backend * Session rate by backend * Uptime by servers The only resource related to the issue I found is an abandoned issue on GitHub: https://github.com/munin-monitoring/contrib/issues/294 I attached a screenshot. I will attach a log of all the errors.
Created attachment 176059 [details] List of error messages
Is this a FreeBSD specific issue ?
(In reply to Mathieu Arnold from comment #2) I compared `/usr/local/share/munin/plugins/haproxy_ng` with the current one at https://github.com/munin-monitoring/munin/blob/master/plugins/node.d/haproxy_ng and they differ. That's why I reported here and not upstream. Searching for a solution, I only came across the issue report on GitHub mentioned in my previous comment. If this were also an issue on Linux, I would have come across further reports, I guess.
Could it generally be the case that the plugins packaged with the FreeBSD port are a bit old and not in line with upstream? I just figured out that `postfix_mailstats` upstream [1] has more features than the one in ports (it supports postscreen). This despite the fact that it works flawlessly on FreeBSD -- I only had to change the shebang. 1: https://github.com/munin-monitoring/munin/blob/devel/plugins/node.d/postfix_mailstats
The ports munin is lagging a bit behind, yes, it currently is at 2.0.25 and upstream has released 2.0.26 last month, I will update the port. I had not noticed before because munin used to be distributed via sourceforge, and it is not any more. (Also, note that the files your are linking to are on the development branch of munin, which is the 2.1 branch that will end up being munin 3.0 one day)
(In reply to Mathieu Arnold from comment #5) Ah, I see. You're right, I checked the development branch. Do you have any suggestions/ideas about the haproxy_ng plugin?
Is there still a problem with version 2.0.26 ?
(In reply to Mathieu Arnold from comment #7) Unfortunately, there is, yes. What I really don't understand is why everything works fine with `munin-run` but I get a lot of error messages when the plugin is executed by `munin-cron`.
Created attachment 177155 [details] Corresponding munin-graph.log Looks like https://lists.freebsd.org/pipermail/freebsd-ports/2016-November/105679.html but (re)installing www/p5-CGI-Fast didn't lead to success.
I have been using haproxy_ng successfully for years. Is this almost 7 year old bug still relevant?