From aa441ba30c0ffdb540afd2248e355906ee5ba67f Mon Sep 17 00:00:00 2001 From: chewieip Date: Tue, 3 May 2016 10:39:53 +0200 Subject: [PATCH] Updating Readme Added full URI to parse haproxy stats --- plugins/inputs/haproxy/Readme.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 plugins/inputs/haproxy/Readme.md diff --git a/plugins/inputs/haproxy/Readme.md b/plugins/inputs/haproxy/Readme.md new file mode 100644 index 000000000..fbc49a402 --- /dev/null +++ b/plugins/inputs/haproxy/Readme.md @@ -0,0 +1,15 @@ +# Telegraf plugin: Haproxy + +#### Configuration + +```toml + [[inputs.haproxy]] +# ## An array of address to gather stats about. Specify an ip on hostname +# ## with optional port. ie localhost, 10.10.3.33:1936, etc. +# +# ## If no servers are specified, then default to 127.0.0.1:1936 +# servers = ["http://myhaproxy.com:1936/;csv", "http://anotherhaproxy.com:1936/;csv"] + servers = ["http://localhost:8080/haproxy?stats;csv"] +``` + +URI will be different for each server. Plugin doesn't modify it when it queries to Haproxy stats webpage.