Plugin:haproxy.rb
From collectd Wiki
| 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.
Contents |
Synopsis
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"
</Plugin>
Example graphs
None yet. Add one now!
Dependencies
- Ruby
- Exec plugin
External links
- git://github.com/ryansch/haproxy-collectd-plugin.git
git clone URL - http://github.com/ryansch/haproxy-collectd-plugin
Official Git repository at GitHub

