I committed a new Munin-plugin for HAProxy. It’s a multigraph plugin, it discovers all the configured frontends and backends automatically – all you need to provide is the username/password for the haproxy status page.
It produces 8 graphs, + subgraphs for some of the backends, where it presents the same graphs, but with server-specific metrics.
Some of the root-graphs:
Do you use HAProxy and Munin? Check it out!








Looks great! I’m about to give this plugin a try, would be perfect if it supported unix socket. =)
Thanks
I’ll see if I can get around and patch it with unix-socket support.
Excellent plugin! Thumbs up… I’ve just configured it on my haproxy, looking forward to seeing graphs tomorrow morning when they collect more data.
Tnx for sharing!
When I do munin-run haproxy_ng, it shows values and stuff, but when munin runs its cron, graphs do not update – they stay with ‘nan’.
I’ve checked permissions and they are fine.
Come by on IRC, and I’ll help you debug?
I’ve sorted that out.
Editor joe and it’s autoindent and line wrap messed up the source code of plugin. After downloading the plugin with wget – graphs are drawn OK.
Great plugin,
Sorry I am new in munin, buy when i try to configure it I got this error:
2012/05/17-21:59:00 [17147] Error output from haproxy_ng:
2012/05/17-21:59:00 [17147] Can’t exec “/etc/munin/plugins/haproxy_ng”: No such file or directory at /usr/share/perl5/Munin/Node/Service.pm line 215.
2012/05/17-21:59:00 [17147] # ERROR: Failed to exec.
Thank you.
Sounds like it’s a symlink pointing to nothing. Make sure to copy the plugin in and make it executable.
If you still have problems, asking politely on irc, #munin on freenode or oftc will often give you the help needed.