Skip to content

Commit

Permalink
Document basic auth for haproxy (#2258)
Browse files Browse the repository at this point in the history
* Document basic auth for haproxy

* Typo in haproxy readme
  • Loading branch information
mhdali authored and sparrc committed Jan 12, 2017
1 parent 31a4f03 commit 947e190
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/inputs/haproxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 947e190

Please sign in to comment.