Added SSL configuration for input haproxy (#2723)

This commit is contained in:
Seuf
2017-04-27 20:20:41 +02:00
committed by Daniel Nelson
parent 5fe5c46c6d
commit 4e2fe598ac
3 changed files with 33 additions and 1 deletions

View File

@@ -8,6 +8,12 @@
# SampleConfig
[[inputs.haproxy]]
servers = ["http://1.2.3.4/haproxy?stats", "/var/run/haproxy*.sock"]
# ssl_ca = "/etc/telegraf/ca.pem"
# ssl_cert = "/etc/telegraf/cert.pem"
# ssl_key = "/etc/telegraf/key.pem"
## Use SSL but skip chain & host verification
# insecure_skip_verify = false
```
#### `servers`