diff --git a/etc/telegraf.conf b/etc/telegraf.conf index ee0c00be0..39743abf1 100644 --- a/etc/telegraf.conf +++ b/etc/telegraf.conf @@ -121,6 +121,9 @@ ## HTTP Proxy Config # http_proxy = "http://corporate.proxy:3128" + ## Optional HTTP headers + # http_headers = {"X-Special-Header" = "Special-Value"} + ## Compress each HTTP request payload using GZIP. # content_encoding = "gzip" @@ -1095,10 +1098,7 @@ # # Read metrics from fail2ban. # [[inputs.fail2ban]] -# ## fail2ban-client require root access. -# ## Setting 'use_sudo' to true will make use of sudo to run fail2ban-client. -# ## Users must configure sudo to allow telegraf user to run fail2ban-client with no password. -# ## This plugin run only "fail2ban-client status". +# ## Use sudo to run fail2ban-client # use_sudo = false @@ -1960,13 +1960,9 @@ # ## Includes connection time, any redirects, and reading the response body. # # client_timeout = "4s" # -# ## A list of nodes to gather as the rabbitmq_node measurement. If not -# ## specified, metrics for all nodes are gathered. +# ## A list of nodes to pull metrics about. If not specified, metrics for +# ## all nodes are gathered. # # nodes = ["rabbit@node1", "rabbit@node2"] -# -# ## A list of queues to gather as the rabbitmq_queue measurement. If not -# ## specified, metrics for all queues are gathered. -# # queues = ["telegraf"] # # Read raindrops stats (raindrops - real-time stats for preforking Rack servers) @@ -2382,10 +2378,10 @@ # ## Use SSL but skip chain & host verification # # insecure_skip_verify = false # -# ## Data format to output. +# ## Data format to consume. # ## Each data format has its own unique set of configuration options, read # ## more about them here: -# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md +# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md # data_format = "influx" @@ -2519,6 +2515,8 @@ # servers = ["localhost:1883"] # ## MQTT QoS, must be 0, 1, or 2 # qos = 0 +# ## Connection timeout for initial connection in seconds +# connection_timeout = "30s" # # ## Topics to subscribe to # topics = [