feat: update etc/telegraf.conf and etc/telegraf_windows.conf (#10237)

This commit is contained in:
telegraf-tiger[bot] 2021-12-10 14:31:02 -07:00 committed by GitHub
parent aa642a4046
commit 393c5e606f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 159 additions and 2 deletions

View File

@ -955,6 +955,27 @@
# ## Maximum amount of time before idle connection is closed. # ## Maximum amount of time before idle connection is closed.
# ## Zero means no limit. # ## Zero means no limit.
# # idle_conn_timeout = 0 # # idle_conn_timeout = 0
#
# ## Amazon Region
# #region = "us-east-1"
#
# ## Amazon Credentials
# ## Credentials are loaded in the following order
# ## 1) Web identity provider credentials via STS if role_arn and web_identity_token_file are specified
# ## 2) Assumed credentials via STS if role_arn is specified
# ## 3) explicit credentials from 'access_key' and 'secret_key'
# ## 4) shared profile from 'profile'
# ## 5) environment variables
# ## 6) shared credentials file
# ## 7) EC2 Instance Profile
# #access_key = ""
# #secret_key = ""
# #token = ""
# #role_arn = ""
# #web_identity_token_file = ""
# #role_session_name = ""
# #profile = ""
# #shared_credential_file = ""
# # Configuration for sending metrics to InfluxDB # # Configuration for sending metrics to InfluxDB
@ -5224,7 +5245,7 @@
# #
# ## Define a request sent to the device # ## Define a request sent to the device
# ## Multiple of those requests can be defined. Data will be collated into metrics at the end of data collection. # ## Multiple of those requests can be defined. Data will be collated into metrics at the end of data collection.
# [[inputs.modbus.request]] # # [[inputs.modbus.request]]
# ## ID of the modbus slave device to query. # ## ID of the modbus slave device to query.
# ## If you need to query multiple slave-devices, create several "request" definitions. # ## If you need to query multiple slave-devices, create several "request" definitions.
# # slave_id = 0 # # slave_id = 0
@ -5270,6 +5291,11 @@
# # { address=3, name="motor1_overheating"}, # # { address=3, name="motor1_overheating"},
# # ] # # ]
# #
# ## Per-request tags
# ## These tags take precedence over predefined tags.
# # [[inputs.modbus.request.tags]]
# # name = "value"
#
# ## Holding / input example # ## Holding / input example
# ## All of those examples will result in FLOAT64 field outputs # ## All of those examples will result in FLOAT64 field outputs
# # fields = [ # # fields = [
@ -5289,6 +5315,11 @@
# # { address=4, name="hours", type="UINT32" }, # will result in UIN64 field # # { address=4, name="hours", type="UINT32" }, # will result in UIN64 field
# # ] # # ]
# #
# ## Per-request tags
# ## These tags take precedence over predefined tags.
# # [[inputs.modbus.request.tags]]
# # name = "value"
#
# #
# #
# ## Enable workarounds required by some devices to work correctly # ## Enable workarounds required by some devices to work correctly
@ -5695,6 +5726,20 @@
# # insecure_skip_verify = false # # insecure_skip_verify = false
# # Read metrics from the Nomad API
# [[inputs.nomad]]
# ## URL for the Nomad agent
# # url = "http://127.0.0.1:4646"
#
# ## Set response_timeout (default 5 seconds)
# # response_timeout = "5s"
#
# ## Optional TLS Config
# # tls_ca = /path/to/cafile
# # tls_cert = /path/to/certfile
# # tls_key = /path/to/keyfile
# # A plugin to collect stats from the NSD authoritative DNS name server # # A plugin to collect stats from the NSD authoritative DNS name server
# [[inputs.nsd]] # [[inputs.nsd]]
# ## Address of server to connect to, optionally ':port'. Defaults to the # ## Address of server to connect to, optionally ':port'. Defaults to the
@ -6433,6 +6478,14 @@
# #
# ## Timeout for the cli command to complete. # ## Timeout for the cli command to complete.
# # timeout = "30s" # # timeout = "30s"
#
# ## Optionally call smartctl and nvme-cli with a specific concurrency policy.
# ## By default, smartctl and nvme-cli are called in separate threads (goroutines) to gather disk attributes.
# ## Some devices (e.g. disks in RAID arrays) may have access limitations that require sequential reading of
# ## SMART data - one individual array drive at the time. In such case please set this configuration option
# ## to "sequential" to get readings for all drives.
# ## valid options: concurrent, sequential
# # read_method = "concurrent"
# # Retrieves SNMP values from remote agents # # Retrieves SNMP values from remote agents
@ -6895,6 +6948,27 @@
# # timeout = "1s" # # timeout = "1s"
# # Read metrics from the Vault API
# [[inputs.vault]]
# ## URL for the Vault agent
# # url = "http://127.0.0.1:8200"
#
# ## Use Vault token for authorization.
# ## Vault token configuration is mandatory.
# ## If both are empty or both are set, an error is thrown.
# # token_file = "/path/to/auth/token"
# ## OR
# token = "s.CDDrgg5zPv5ssI0Z2P4qxJj2"
#
# ## Set response_timeout (default 5 seconds)
# # response_timeout = "5s"
#
# ## Optional TLS Config
# # tls_ca = /path/to/cafile
# # tls_cert = /path/to/certfile
# # tls_key = /path/to/keyfile
# # Collect Wireguard server interface and peer statistics # # Collect Wireguard server interface and peer statistics
# [[inputs.wireguard]] # [[inputs.wireguard]]
# ## Optional list of Wireguard device/interface names to query. # ## Optional list of Wireguard device/interface names to query.

View File

@ -676,6 +676,15 @@
# ## If set to true a unique ID hash will be sent as sha256(concat(timestamp,measurement,series-hash)) string # ## If set to true a unique ID hash will be sent as sha256(concat(timestamp,measurement,series-hash)) string
# ## it will enable data resend and update metric points avoiding duplicated metrics with diferent id's # ## it will enable data resend and update metric points avoiding duplicated metrics with diferent id's
# force_document_id = false # force_document_id = false
#
# ## Specifies the handling of NaN and Inf values.
# ## This option can have the following values:
# ## none -- do not modify field-values (default); will produce an error if NaNs or infs are encountered
# ## drop -- drop fields containing NaNs or infs
# ## replace -- replace with the value in "float_replacement_value" (default: 0.0)
# ## NaNs and inf will be replaced with the given number, -inf with the negative of that number
# # float_handling = "none"
# # float_replacement_value = 0.0
# # Configuration for Event Hubs output plugin # # Configuration for Event Hubs output plugin
@ -946,6 +955,27 @@
# ## Maximum amount of time before idle connection is closed. # ## Maximum amount of time before idle connection is closed.
# ## Zero means no limit. # ## Zero means no limit.
# # idle_conn_timeout = 0 # # idle_conn_timeout = 0
#
# ## Amazon Region
# #region = "us-east-1"
#
# ## Amazon Credentials
# ## Credentials are loaded in the following order
# ## 1) Web identity provider credentials via STS if role_arn and web_identity_token_file are specified
# ## 2) Assumed credentials via STS if role_arn is specified
# ## 3) explicit credentials from 'access_key' and 'secret_key'
# ## 4) shared profile from 'profile'
# ## 5) environment variables
# ## 6) shared credentials file
# ## 7) EC2 Instance Profile
# #access_key = ""
# #secret_key = ""
# #token = ""
# #role_arn = ""
# #web_identity_token_file = ""
# #role_session_name = ""
# #profile = ""
# #shared_credential_file = ""
# # Configuration for sending metrics to InfluxDB # # Configuration for sending metrics to InfluxDB
@ -5089,7 +5119,7 @@
# #
# ## Define a request sent to the device # ## Define a request sent to the device
# ## Multiple of those requests can be defined. Data will be collated into metrics at the end of data collection. # ## Multiple of those requests can be defined. Data will be collated into metrics at the end of data collection.
# [[inputs.modbus.request]] # # [[inputs.modbus.request]]
# ## ID of the modbus slave device to query. # ## ID of the modbus slave device to query.
# ## If you need to query multiple slave-devices, create several "request" definitions. # ## If you need to query multiple slave-devices, create several "request" definitions.
# # slave_id = 0 # # slave_id = 0
@ -5135,6 +5165,11 @@
# # { address=3, name="motor1_overheating"}, # # { address=3, name="motor1_overheating"},
# # ] # # ]
# #
# ## Per-request tags
# ## These tags take precedence over predefined tags.
# # [[inputs.modbus.request.tags]]
# # name = "value"
#
# ## Holding / input example # ## Holding / input example
# ## All of those examples will result in FLOAT64 field outputs # ## All of those examples will result in FLOAT64 field outputs
# # fields = [ # # fields = [
@ -5154,6 +5189,11 @@
# # { address=4, name="hours", type="UINT32" }, # will result in UIN64 field # # { address=4, name="hours", type="UINT32" }, # will result in UIN64 field
# # ] # # ]
# #
# ## Per-request tags
# ## These tags take precedence over predefined tags.
# # [[inputs.modbus.request.tags]]
# # name = "value"
#
# #
# #
# ## Enable workarounds required by some devices to work correctly # ## Enable workarounds required by some devices to work correctly
@ -5560,6 +5600,20 @@
# # insecure_skip_verify = false # # insecure_skip_verify = false
# # Read metrics from the Nomad API
# [[inputs.nomad]]
# ## URL for the Nomad agent
# # url = "http://127.0.0.1:4646"
#
# ## Set response_timeout (default 5 seconds)
# # response_timeout = "5s"
#
# ## Optional TLS Config
# # tls_ca = /path/to/cafile
# # tls_cert = /path/to/certfile
# # tls_key = /path/to/keyfile
# # A plugin to collect stats from the NSD authoritative DNS name server # # A plugin to collect stats from the NSD authoritative DNS name server
# [[inputs.nsd]] # [[inputs.nsd]]
# ## Address of server to connect to, optionally ':port'. Defaults to the # ## Address of server to connect to, optionally ':port'. Defaults to the
@ -6281,6 +6335,14 @@
# #
# ## Timeout for the cli command to complete. # ## Timeout for the cli command to complete.
# # timeout = "30s" # # timeout = "30s"
#
# ## Optionally call smartctl and nvme-cli with a specific concurrency policy.
# ## By default, smartctl and nvme-cli are called in separate threads (goroutines) to gather disk attributes.
# ## Some devices (e.g. disks in RAID arrays) may have access limitations that require sequential reading of
# ## SMART data - one individual array drive at the time. In such case please set this configuration option
# ## to "sequential" to get readings for all drives.
# ## valid options: concurrent, sequential
# # read_method = "concurrent"
# # Retrieves SNMP values from remote agents # # Retrieves SNMP values from remote agents
@ -6646,6 +6708,27 @@
# # timeout = "5s" # # timeout = "5s"
# # Read metrics from the Vault API
# [[inputs.vault]]
# ## URL for the Vault agent
# # url = "http://127.0.0.1:8200"
#
# ## Use Vault token for authorization.
# ## Vault token configuration is mandatory.
# ## If both are empty or both are set, an error is thrown.
# # token_file = "/path/to/auth/token"
# ## OR
# token = "s.CDDrgg5zPv5ssI0Z2P4qxJj2"
#
# ## Set response_timeout (default 5 seconds)
# # response_timeout = "5s"
#
# ## Optional TLS Config
# # tls_ca = /path/to/cafile
# # tls_cert = /path/to/certfile
# # tls_key = /path/to/keyfile
# # Input plugin to collect Windows Event Log messages # # Input plugin to collect Windows Event Log messages
# [[inputs.win_eventlog]] # [[inputs.win_eventlog]]
# ## Telegraf should have Administrator permissions to subscribe for some Windows Events channels # ## Telegraf should have Administrator permissions to subscribe for some Windows Events channels