diff --git a/CHANGELOG.md b/CHANGELOG.md index 49bc3a04b..de1b5abc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,7 @@ - [#4418](https://github.com/influxdata/telegraf/pull/4418): Add support for setting kafka client id. - [#4332](https://github.com/influxdata/telegraf/pull/4332): Add file input plugin and grok parser. - [#4320](https://github.com/influxdata/telegraf/pull/4320): Improve cloudwatch output performance. +- [#3768](https://github.com/influxdata/telegraf/pull/3768): Add x509_cert input plugin. ## v1.7.2 [2018-07-18] diff --git a/plugins/inputs/x509_cert/README.md b/plugins/inputs/x509_cert/README.md index 6b922f0e1..781b9332a 100644 --- a/plugins/inputs/x509_cert/README.md +++ b/plugins/inputs/x509_cert/README.md @@ -13,7 +13,7 @@ file or network connection. sources = ["/etc/ssl/certs/ssl-cert-snakeoil.pem", "https://example.org"] ## Timeout for SSL connection - # timeout = 5s + # timeout = "5s" ## Optional TLS Config # tls_ca = "/etc/telegraf/ca.pem" diff --git a/plugins/inputs/x509_cert/x509_cert.go b/plugins/inputs/x509_cert/x509_cert.go index 2e5d26996..252b60e1f 100644 --- a/plugins/inputs/x509_cert/x509_cert.go +++ b/plugins/inputs/x509_cert/x509_cert.go @@ -23,7 +23,7 @@ const sampleConfig = ` sources = ["/etc/ssl/certs/ssl-cert-snakeoil.pem", "tcp://example.org:443"] ## Timeout for SSL connection - # timeout = 5s + # timeout = "5s" ## Optional TLS Config # tls_ca = "/etc/telegraf/ca.pem"