collectd-haproxy
collectd-haproxy copied to clipboard
A collectd plugin to collect statistics from HAProxy
This MR: * encodes/decodes strings to/from bytes when talking to the HAProxy socket * tweaks the `try` … `except` syntax both of which make the plugin work under Python 3....
The configuration example in `README.md` recommends to put the plugin into `/usr/lib64/collectd/`. This directory may contain the file `csv.so` (the collectd CSV plugin) which conflicts with the standard Python `csv`...
Hi, This PR : - Fix case where there is no key_prefix (ex: show info) to "haproxy.gauge-pipes_free" instead of "haproxy.gauge-.pipes_free" - Add possibility to put proxy name into plugin_instance instead...
This basically adds an additional level of "hierarchy" to the haproxy metrics in graphite, to separate them based on the "server" settings defined in haproxy.cfg. ie: - before: `collectd..haproxy.gauge-main_website_session_current` -...