This is great! Thank you soo much I haven't see it yet but does it support multiple frontends?
Thanks! On 1/16/10, Bart van der Schans <[email protected]> wrote: > 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 > -- Sent from my mobile device Gabriel Sosa Si buscas resultados distintos, no hagas siempre lo mismo. - Einstein

