Add SSL/TLS support to nginx input plugin (#2883)

This commit is contained in:
Bob Shannon
2017-06-07 20:52:10 -04:00
committed by Daniel Nelson
parent 84dbf8bb25
commit 1c73caba04
3 changed files with 65 additions and 9 deletions

View File

@@ -7,6 +7,16 @@
[[inputs.nginx]]
## An array of Nginx stub_status URI to gather stats.
urls = ["http://localhost/server_status"]
## Optional SSL Config
# 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
## HTTP response timeout (default: 5s)
response_timeout = "5s"
```
### Measurements & Fields: