New Munin-plugin for HAProxy

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!

This entry was posted in Munin, Planet Redpill-Linpro. Bookmark the permalink.

8 Responses to New Munin-plugin for HAProxy

  1. Miah says:

    Looks great! I’m about to give this plugin a try, would be perfect if it supported unix socket. =)

  2. Branko Toic says:

    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!

  3. Max says:

    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.

  4. Diego says:

    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.

    • Trygve Vea says:

      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.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>