add keep-alive support to socket_listener & socket_writer (#2697)

closes #2635
This commit is contained in:
Patrick Hemmer
2017-04-24 16:14:42 -04:00
committed by Daniel Nelson
parent ddc2f64593
commit b1a2f896a2
5 changed files with 77 additions and 4 deletions

View File

@@ -19,6 +19,12 @@ It can output data in any of the [supported output formats](https://github.com/i
# address = "unix:///tmp/telegraf.sock"
# address = "unixgram:///tmp/telegraf.sock"
## Period between keep alive probes.
## Only applies to TCP sockets.
## 0 disables keep alive probes.
## Defaults to the OS configuration.
# keep_alive_period = "5m"
## Data format to generate.
## Each data format has it's own unique set of configuration options, read
## more about them here: