From 947e1909ff96a700c5eed44d9f8c2f9a742b0379 Mon Sep 17 00:00:00 2001 From: Mohammad Ali Alfarra Date: Thu, 12 Jan 2017 16:47:01 +0800 Subject: [PATCH] Document basic auth for haproxy (#2258) * Document basic auth for haproxy * Typo in haproxy readme --- plugins/inputs/haproxy/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/inputs/haproxy/README.md b/plugins/inputs/haproxy/README.md index 52be25aa75a46..7f2bfa1dd8311 100644 --- a/plugins/inputs/haproxy/README.md +++ b/plugins/inputs/haproxy/README.md @@ -12,6 +12,8 @@ Server addresses need to explicitly start with 'http' if you wish to use HAproxy status page. Otherwise, address will be assumed to be an UNIX socket and protocol (if present) will be discarded. +For basic authentication you need to add username and password in the URL: `http://user:password@1.2.3.4/haproxy?stats`. + Following examples will all resolve to the same socket: ``` socket:/var/run/haproxy.sock