Update example telegraf.conf

This commit is contained in:
Daniel Nelson 2020-01-08 10:50:40 -08:00
parent 5f52b9538d
commit 69d9c10572
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 57 additions and 51 deletions

View File

@ -822,6 +822,7 @@
# # max_message_bytes = 1000000 # # max_message_bytes = 1000000
# #
# ## Optional TLS Config # ## Optional TLS Config
# # enable_tls = true
# # tls_ca = "/etc/telegraf/ca.pem" # # tls_ca = "/etc/telegraf/ca.pem"
# # tls_cert = "/etc/telegraf/cert.pem" # # tls_cert = "/etc/telegraf/cert.pem"
# # tls_key = "/etc/telegraf/key.pem" # # tls_key = "/etc/telegraf/key.pem"
@ -832,6 +833,9 @@
# # sasl_username = "kafka" # # sasl_username = "kafka"
# # sasl_password = "secret" # # sasl_password = "secret"
# #
# ## SASL protocol version. When connecting to Azure EventHub set to 0.
# # sasl_version = 1
#
# ## Data format to output. # ## Data format to output.
# ## Each data format has its own unique set of configuration options, read # ## Each data format has its own unique set of configuration options, read
# ## more about them here: # ## more about them here:
@ -1651,7 +1655,9 @@
# # Merge metrics into multifield metrics by series key # # Merge metrics into multifield metrics by series key
# [[aggregators.merge]] # [[aggregators.merge]]
# # no configuration # ## If true, the original metric will be dropped by the
# ## aggregator and will not get sent to the output plugins.
# drop_original = true
# # Keep the aggregate min/max of each metric passing through. # # Keep the aggregate min/max of each metric passing through.
@ -2870,6 +2876,11 @@
# ## optionally specify the path to the ipmitool executable # ## optionally specify the path to the ipmitool executable
# # path = "/usr/bin/ipmitool" # # path = "/usr/bin/ipmitool"
# ## # ##
# ## Setting 'use_sudo' to true will make use of sudo to run ipmitool.
# ## Sudo must be configured to allow the telegraf user to run ipmitool
# ## without a password.
# # use_sudo = false
# ##
# ## optionally force session privilege level. Can be CALLBACK, USER, OPERATOR, ADMINISTRATOR # ## optionally force session privilege level. Can be CALLBACK, USER, OPERATOR, ADMINISTRATOR
# # privilege = "ADMINISTRATOR" # # privilege = "ADMINISTRATOR"
# ## # ##
@ -3191,6 +3202,11 @@
# ## OR # ## OR
# # bearer_token_string = "abc_123" # # bearer_token_string = "abc_123"
# #
# ## Pod labels to be added as tags. An empty array for both include and
# ## exclude will include all labels.
# # label_include = []
# # label_exclude = ["*"]
#
# ## Set response_timeout (default 5 seconds) # ## Set response_timeout (default 5 seconds)
# # response_timeout = "5s" # # response_timeout = "5s"
# #
@ -4150,61 +4166,46 @@
# # Retrieves SNMP values from remote agents # # Retrieves SNMP values from remote agents
# [[inputs.snmp]] # [[inputs.snmp]]
# agents = [ "127.0.0.1:161" ] # ## Agent addresses to retrieve values from.
# ## Timeout for each SNMP query. # ## example: agents = ["udp://127.0.0.1:161"]
# timeout = "5s" # ## agents = ["tcp://127.0.0.1:161"]
# ## Number of retries to attempt within timeout. # agents = ["udp://127.0.0.1:161"]
# retries = 3 #
# ## SNMP version, values can be 1, 2, or 3 # ## Timeout for each request.
# version = 2 # # timeout = "5s"
#
# ## SNMP version; can be 1, 2, or 3.
# # version = 2
# #
# ## SNMP community string. # ## SNMP community string.
# community = "public" # # community = "public"
# #
# ## The GETBULK max-repetitions parameter # ## Number of retries to attempt.
# max_repetitions = 10 # # retries = 3
# #
# ## SNMPv3 auth parameters # ## The GETBULK max-repetitions parameter.
# #sec_name = "myuser" # # max_repetitions = 10
# #auth_protocol = "md5" # Values: "MD5", "SHA", ""
# #auth_password = "pass"
# #sec_level = "authNoPriv" # Values: "noAuthNoPriv", "authNoPriv", "authPriv"
# #context_name = ""
# #priv_protocol = "" # Values: "DES", "AES", ""
# #priv_password = ""
# #
# ## measurement name # ## SNMPv3 authentication and encryption options.
# name = "system" # ##
# [[inputs.snmp.field]] # ## Security Name.
# name = "hostname" # # sec_name = "myuser"
# oid = ".1.0.0.1.1" # ## Authentication protocol; one of "MD5", "SHA", or "".
# [[inputs.snmp.field]] # # auth_protocol = "MD5"
# name = "uptime" # ## Authentication password.
# oid = ".1.0.0.1.2" # # auth_password = "pass"
# [[inputs.snmp.field]] # ## Security Level; one of "noAuthNoPriv", "authNoPriv", or "authPriv".
# name = "load" # # sec_level = "authNoPriv"
# oid = ".1.0.0.1.3" # ## Context Name.
# [[inputs.snmp.field]] # # context_name = ""
# oid = "HOST-RESOURCES-MIB::hrMemorySize" # ## Privacy protocol used for encrypted messages; one of "DES", "AES" or "".
# # priv_protocol = ""
# ## Privacy password used for encrypted messages.
# # priv_password = ""
# #
# [[inputs.snmp.table]] # ## Add fields and tables defining the variables you wish to collect. This
# ## measurement name # ## example collects the system uptime and interface variables. Reference the
# name = "remote_servers" # ## full plugin documentation for configuration details.
# inherit_tags = [ "hostname" ]
# [[inputs.snmp.table.field]]
# name = "server"
# oid = ".1.0.0.0.1.0"
# is_tag = true
# [[inputs.snmp.table.field]]
# name = "connections"
# oid = ".1.0.0.0.1.1"
# [[inputs.snmp.table.field]]
# name = "latency"
# oid = ".1.0.0.0.1.2"
#
# [[inputs.snmp.table]]
# ## auto populate table's fields using the MIB
# oid = "HOST-RESOURCES-MIB::hrNetworkTable"
# # DEPRECATED! PLEASE USE inputs.snmp INSTEAD. # # DEPRECATED! PLEASE USE inputs.snmp INSTEAD.
@ -5253,16 +5254,21 @@
# # version = "" # # version = ""
# #
# ## Optional TLS Config # ## Optional TLS Config
# # enable_tls = true
# # tls_ca = "/etc/telegraf/ca.pem" # # tls_ca = "/etc/telegraf/ca.pem"
# # tls_cert = "/etc/telegraf/cert.pem" # # tls_cert = "/etc/telegraf/cert.pem"
# # tls_key = "/etc/telegraf/key.pem" # # tls_key = "/etc/telegraf/key.pem"
# ## Use TLS but skip chain & host verification # ## Use TLS but skip chain & host verification
# # insecure_skip_verify = false # # insecure_skip_verify = false
# #
# ## Optional SASL Config # ## SASL authentication credentials. These settings should typically be used
# ## with TLS encryption enabled using the "enable_tls" option.
# # sasl_username = "kafka" # # sasl_username = "kafka"
# # sasl_password = "secret" # # sasl_password = "secret"
# #
# ## SASL protocol version. When connecting to Azure EventHub set to 0.
# # sasl_version = 1
#
# ## Name of the consumer group. # ## Name of the consumer group.
# # consumer_group = "telegraf_metrics_consumers" # # consumer_group = "telegraf_metrics_consumers"
# #