Skip to content

Commit

Permalink
docs: Update etc/telegraf.conf and etc/telegraf_windows.conf (#11351)
Browse files Browse the repository at this point in the history
Co-authored-by: Tiger Bot <>
Co-authored-by: Sebastian Spaink <[email protected]>
  • Loading branch information
telegraf-tiger[bot] and Sebastian Spaink authored Jun 22, 2022
1 parent c46f42f commit 38c5ec1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config/agent.conf
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@
## Method of translating SNMP objects. Can be "netsnmp" which
## translates by calling external programs snmptranslate and snmptable,
## or "gosmi" which translates using the built-in gosmi library.
# snmp_translator = "netsnmp"
# snmp_translator = "netsnmp"
18 changes: 15 additions & 3 deletions etc/telegraf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
## Environment variables can be used as tags, and throughout the config file
# user = "$USER"


# Configuration for telegraf agent
[agent]
## Default data collection interval for all inputs
Expand Down Expand Up @@ -586,7 +585,8 @@
# ## Write URL override; useful for debugging.
# # url = "https://app.datadoghq.com/api/v1/series"
#
# ## Set http_proxy (telegraf uses the system wide proxy settings if it isn't set)
# ## Set http_proxy
# # use_system_proxy = false
# # http_proxy_url = "http://localhost:8888"
#
# ## Override the default (none) compression used to send data.
Expand Down Expand Up @@ -2307,6 +2307,10 @@
# # socks5_username = "alice"
# # socks5_password = "pass123"
#
# ## Optional HTTP proxy to use
# # use_system_proxy = false
# # http_proxy_url = "http://localhost:8888"
#
# ## Data format to output.
# ## Each data format has it's own unique set of configuration options, read
# ## more about them here:
Expand Down Expand Up @@ -3656,7 +3660,8 @@
# ## ex: endpoint_url = "http://localhost:8000"
# # endpoint_url = ""
#
# ## Set http_proxy (telegraf uses the system wide proxy settings if it's is not set)
# ## Set http_proxy
# # use_system_proxy = false
# # http_proxy_url = "http://localhost:8888"
#
# # The minimum period for Cloudwatch metrics is 1 minute (60s). However not all
Expand Down Expand Up @@ -7326,6 +7331,10 @@
# # tls_cert = "/etc/telegraf/cert.pem"
# # tls_key = "/etc/telegraf/key.pem"
# # tls_server_name = "myhost.example.org"
#
# ## Set the proxy URL
# # use_proxy = true
# # proxy_url = "http://localhost:8888"


# # Gathers Metrics From a Dell EMC XtremIO Storage Array's V3 API
Expand Down Expand Up @@ -9135,6 +9144,9 @@
# ## specify server password
# # password = "s#cr@t%"
#
# ## specify username for ACL auth (Redis 6.0+)
# # username = "default"
#
# ## Optional TLS Config
# # tls_ca = "/etc/telegraf/ca.pem"
# # tls_cert = "/etc/telegraf/cert.pem"
Expand Down
18 changes: 15 additions & 3 deletions etc/telegraf_windows.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
## Environment variables can be used as tags, and throughout the config file
# user = "$USER"


# Configuration for telegraf agent
[agent]
## Default data collection interval for all inputs
Expand Down Expand Up @@ -586,7 +585,8 @@
# ## Write URL override; useful for debugging.
# # url = "https://app.datadoghq.com/api/v1/series"
#
# ## Set http_proxy (telegraf uses the system wide proxy settings if it isn't set)
# ## Set http_proxy
# # use_system_proxy = false
# # http_proxy_url = "http://localhost:8888"
#
# ## Override the default (none) compression used to send data.
Expand Down Expand Up @@ -2307,6 +2307,10 @@
# # socks5_username = "alice"
# # socks5_password = "pass123"
#
# ## Optional HTTP proxy to use
# # use_system_proxy = false
# # http_proxy_url = "http://localhost:8888"
#
# ## Data format to output.
# ## Each data format has it's own unique set of configuration options, read
# ## more about them here:
Expand Down Expand Up @@ -3643,7 +3647,8 @@
# ## ex: endpoint_url = "http://localhost:8000"
# # endpoint_url = ""
#
# ## Set http_proxy (telegraf uses the system wide proxy settings if it's is not set)
# ## Set http_proxy
# # use_system_proxy = false
# # http_proxy_url = "http://localhost:8888"
#
# # The minimum period for Cloudwatch metrics is 1 minute (60s). However not all
Expand Down Expand Up @@ -7283,6 +7288,10 @@
# # tls_cert = "/etc/telegraf/cert.pem"
# # tls_key = "/etc/telegraf/key.pem"
# # tls_server_name = "myhost.example.org"
#
# ## Set the proxy URL
# # use_proxy = true
# # proxy_url = "http://localhost:8888"


# # Gathers Metrics From a Dell EMC XtremIO Storage Array's V3 API
Expand Down Expand Up @@ -9006,6 +9015,9 @@
# ## specify server password
# # password = "s#cr@t%"
#
# ## specify username for ACL auth (Redis 6.0+)
# # username = "default"
#
# ## Optional TLS Config
# # tls_ca = "/etc/telegraf/ca.pem"
# # tls_cert = "/etc/telegraf/cert.pem"
Expand Down

0 comments on commit 38c5ec1

Please sign in to comment.