From collectd Wiki
Jump to: navigation, search
haproxy.rb plugin
Type: read
Callbacks: n/a
Status: external
First version: n/a
Copyright: 2009 Clinicsoft. LLC
License: GPLv2+
Manpage: n/a
List of Plugins

The haproxy.rb plugin connects to the load balancing software HAproxy and requests status output. It parses the output and dispatches statistics (traffic, sessions) to collectd. The plugin is written by Ryan Schlesinger in Ruby and is used via the Exec plugin.


LoadPlugin exec
<Plugin exec>
  # userid plugin-executable plugin-args
  Exec "haproxy" "/usr/lib/collectd/plugins/haproxy" \
    "-s" "/home/haproxy/haproxy-stat" \
    "-i" "i-cfeba9a6" \
    "-e" "bck_lb" \
    "-n" "www" \
    "-w" "10"

Example graphs

None yet. Add one now!


External links