mqtt output: cleanup, implement TLS

Also normalize TLS config across all output plugins and normalize
comment strings as well.
This commit is contained in:
Cameron Sparr
2016-02-03 12:59:34 -07:00
parent b941d270ce
commit bd9c5b6995
17 changed files with 236 additions and 194 deletions

View File

@@ -22,13 +22,13 @@ type Amon struct {
}
var sampleConfig = `
# Amon Server Key
### Amon Server Key
server_key = "my-server-key" # required.
# Amon Instance URL
### Amon Instance URL
amon_instance = "https://youramoninstance" # required
# Connection timeout.
### Connection timeout.
# timeout = "5s"
`