Hi, A few days ago there's was some interest in munin plugins for haproxy. I have written a few plugins in perl. To code is fairly strait forward and should be quite easy to adjust to your needs. The four attached plugins are:
- haproxy_check_duration: monitor the duration of the health checks per server - haproxy_errors: monitor the rate of 5xx response headers per backend - haproxy_sessions: monitors the rate of (tcp) sessions per backend - haproxy_volume: monitors the bps in and out per backend To use them you'll have to add something like the following to your munin-node config: [haproxy*] user haproxy env.socket /var/run/haproxy.sock The user should have rights to read and write to the unix socket and env.socket should point to the haproxy stats socket. For debugging the "dump" command line option can be quite useful. It print the complete %hastats data structure containing all the info read from the socket with "show stat". I can setup some sourceforge/github thingie which will make it easier to share patches/updates/additions/etc. if people are interested. Regards, Bart
haproxy_check_duration
Description: Binary data
haproxy_errors
Description: Binary data
haproxy_sessions
Description: Binary data
haproxy_volume
Description: Binary data