feat: update etc/telegraf.conf and etc/telegraf_windows.conf (#10843)
This commit is contained in:
parent
6f0c5afe48
commit
f70a6c6253
|
|
@ -70,7 +70,7 @@
|
|||
##
|
||||
## Precision will NOT be used for service inputs. It is up to each individual
|
||||
## service input to set the timestamp at the appropriate precision.
|
||||
precision = ""
|
||||
precision = "0s"
|
||||
|
||||
## Log at debug level.
|
||||
# debug = false
|
||||
|
|
@ -108,6 +108,11 @@
|
|||
## If set to true, do no set the "host" tag in the telegraf agent.
|
||||
omit_hostname = false
|
||||
|
||||
## 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"
|
||||
|
||||
###############################################################################
|
||||
# OUTPUT PLUGINS #
|
||||
###############################################################################
|
||||
|
|
@ -3705,8 +3710,8 @@
|
|||
# # tag_delimiter = ":"
|
||||
|
||||
|
||||
# # Read metrics from the Consul API
|
||||
# [[inputs.consul_metrics]]
|
||||
# # Read metrics from the Consul Agent API
|
||||
# [[inputs.consul_agent]]
|
||||
# ## URL for the Consul agent
|
||||
# # url = "http://127.0.0.1:8500"
|
||||
#
|
||||
|
|
@ -4580,6 +4585,15 @@
|
|||
# # apiVersion = "v1"
|
||||
|
||||
|
||||
# # Gathers huge pages measurements.
|
||||
# [[inputs.hugepages]]
|
||||
# ## Supported huge page types:
|
||||
# ## - "root" - based on root huge page control directory: /sys/kernel/mm/hugepages
|
||||
# ## - "per_node" - based on per NUMA node directories: /sys/devices/system/node/node[0-9]*/hugepages
|
||||
# ## - "meminfo" - based on /proc/meminfo file
|
||||
# # types = ["root", "per_node"]
|
||||
|
||||
|
||||
# # Gather Icinga2 status
|
||||
# [[inputs.icinga2]]
|
||||
# ## Required Icinga2 server address
|
||||
|
|
@ -6653,6 +6667,8 @@
|
|||
# # version = 2
|
||||
#
|
||||
# ## Path to mib files
|
||||
# ## Used by the gosmi translator.
|
||||
# ## To add paths when translating with netsnmp, use the MIBDIRS environment variable
|
||||
# # path = ["/usr/share/snmp/mibs"]
|
||||
#
|
||||
# ## Agent host tag; the tag used to reference the source host
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@
|
|||
##
|
||||
## Precision will NOT be used for service inputs. It is up to each individual
|
||||
## service input to set the timestamp at the appropriate precision.
|
||||
precision = ""
|
||||
precision = "0s"
|
||||
|
||||
## Log at debug level.
|
||||
# debug = false
|
||||
|
|
@ -108,6 +108,11 @@
|
|||
## If set to true, do no set the "host" tag in the telegraf agent.
|
||||
omit_hostname = false
|
||||
|
||||
## 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"
|
||||
|
||||
###############################################################################
|
||||
# OUTPUT PLUGINS #
|
||||
###############################################################################
|
||||
|
|
@ -3677,8 +3682,8 @@
|
|||
# # tag_delimiter = ":"
|
||||
|
||||
|
||||
# # Read metrics from the Consul API
|
||||
# [[inputs.consul_metrics]]
|
||||
# # Read metrics from the Consul Agent API
|
||||
# [[inputs.consul_agent]]
|
||||
# ## URL for the Consul agent
|
||||
# # url = "http://127.0.0.1:8500"
|
||||
#
|
||||
|
|
@ -6510,6 +6515,8 @@
|
|||
# # version = 2
|
||||
#
|
||||
# ## Path to mib files
|
||||
# ## Used by the gosmi translator.
|
||||
# ## To add paths when translating with netsnmp, use the MIBDIRS environment variable
|
||||
# # path = ["/usr/share/snmp/mibs"]
|
||||
#
|
||||
# ## Agent host tag; the tag used to reference the source host
|
||||
|
|
|
|||
Loading…
Reference in New Issue