Update sample configuration
This commit is contained in:
parent
ad49e311e4
commit
9f612fd52d
|
@ -496,6 +496,21 @@
|
||||||
# overwrite_template = false
|
# overwrite_template = false
|
||||||
|
|
||||||
|
|
||||||
|
# # Send metrics to command as input over stdin
|
||||||
|
# [[outputs.exec]]
|
||||||
|
# ## Command to injest metrics via stdin.
|
||||||
|
# command = ["tee", "-a", "/dev/null"]
|
||||||
|
#
|
||||||
|
# ## Timeout for command to complete.
|
||||||
|
# # timeout = "5s"
|
||||||
|
#
|
||||||
|
# ## Data format to output.
|
||||||
|
# ## 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
|
||||||
|
# # data_format = "influx"
|
||||||
|
|
||||||
|
|
||||||
# # Send telegraf metrics to file(s)
|
# # Send telegraf metrics to file(s)
|
||||||
# [[outputs.file]]
|
# [[outputs.file]]
|
||||||
# ## Files to write to, "stdout" is a specially handled file.
|
# ## Files to write to, "stdout" is a specially handled file.
|
||||||
|
@ -555,9 +570,9 @@
|
||||||
# # Configurable HTTP health check resource based on metrics
|
# # Configurable HTTP health check resource based on metrics
|
||||||
# [[outputs.health]]
|
# [[outputs.health]]
|
||||||
# ## Address and port to listen on.
|
# ## Address and port to listen on.
|
||||||
# ## ex: service_address = "tcp://localhost:8080"
|
# ## ex: service_address = "http://localhost:8080"
|
||||||
# ## service_address = "unix:///var/run/telegraf-health.sock"
|
# ## service_address = "unix:///var/run/telegraf-health.sock"
|
||||||
# # service_address = "tcp://:8080"
|
# # service_address = "http://:8080"
|
||||||
#
|
#
|
||||||
# ## The maximum duration for reading the entire request.
|
# ## The maximum duration for reading the entire request.
|
||||||
# # read_timeout = "5s"
|
# # read_timeout = "5s"
|
||||||
|
@ -950,6 +965,9 @@
|
||||||
# ## NATS subject for producer messages
|
# ## NATS subject for producer messages
|
||||||
# subject = "telegraf"
|
# subject = "telegraf"
|
||||||
#
|
#
|
||||||
|
# ## Use Transport Layer Security
|
||||||
|
# # secure = false
|
||||||
|
#
|
||||||
# ## Optional TLS Config
|
# ## Optional TLS Config
|
||||||
# # tls_ca = "/etc/telegraf/ca.pem"
|
# # tls_ca = "/etc/telegraf/ca.pem"
|
||||||
# # tls_cert = "/etc/telegraf/cert.pem"
|
# # tls_cert = "/etc/telegraf/cert.pem"
|
||||||
|
@ -1456,6 +1474,20 @@
|
||||||
# # measurement = "*"
|
# # measurement = "*"
|
||||||
# # old = ":"
|
# # old = ":"
|
||||||
# # new = "_"
|
# # new = "_"
|
||||||
|
#
|
||||||
|
# ## Trims strings based on width
|
||||||
|
# # [[processors.strings.left]]
|
||||||
|
# # field = "message"
|
||||||
|
# # width = 10
|
||||||
|
|
||||||
|
|
||||||
|
# # Restricts the number of tags that can pass through this filter and chooses which tags to preserve when over the limit.
|
||||||
|
# [[processors.tag_limit]]
|
||||||
|
# ## Maximum number of tags to preserve
|
||||||
|
# limit = 10
|
||||||
|
#
|
||||||
|
# ## List of tags to preferentially preserve
|
||||||
|
# keep = ["foo", "bar", "baz"]
|
||||||
|
|
||||||
|
|
||||||
# # Print all metrics that pass through this filter.
|
# # Print all metrics that pass through this filter.
|
||||||
|
@ -1748,6 +1780,16 @@
|
||||||
# # insecure_skip_verify = false
|
# # insecure_skip_verify = false
|
||||||
|
|
||||||
|
|
||||||
|
# # Monitor APC UPSes connected to apcupsd
|
||||||
|
# [[inputs.apcupsd]]
|
||||||
|
# # A list of running apcupsd server to connect to.
|
||||||
|
# # If not provided will default to tcp://127.0.0.1:3551
|
||||||
|
# servers = ["tcp://127.0.0.1:3551"]
|
||||||
|
#
|
||||||
|
# ## Timeout for dialing server.
|
||||||
|
# timeout = "5s"
|
||||||
|
|
||||||
|
|
||||||
# # Gather metrics from Apache Aurora schedulers
|
# # Gather metrics from Apache Aurora schedulers
|
||||||
# [[inputs.aurora]]
|
# [[inputs.aurora]]
|
||||||
# ## Schedulers are the base addresses of your Aurora Schedulers
|
# ## Schedulers are the base addresses of your Aurora Schedulers
|
||||||
|
@ -2290,11 +2332,6 @@
|
||||||
# # insecure_skip_verify = false
|
# # insecure_skip_verify = false
|
||||||
|
|
||||||
|
|
||||||
# # Example go-plugin for Telegraf
|
|
||||||
# [[inputs.example]]
|
|
||||||
# value = 42
|
|
||||||
|
|
||||||
|
|
||||||
# # Read metrics from one or more commands that can output to stdout
|
# # Read metrics from one or more commands that can output to stdout
|
||||||
# [[inputs.exec]]
|
# [[inputs.exec]]
|
||||||
# ## Commands array
|
# ## Commands array
|
||||||
|
@ -2436,11 +2473,17 @@
|
||||||
# # Gather repository information from GitHub hosted repositories.
|
# # Gather repository information from GitHub hosted repositories.
|
||||||
# [[inputs.github]]
|
# [[inputs.github]]
|
||||||
# ## List of repositories to monitor.
|
# ## List of repositories to monitor.
|
||||||
# repositories = ["influxdata/telegraf"]
|
# repositories = [
|
||||||
|
# "influxdata/telegraf",
|
||||||
|
# "influxdata/influxdb"
|
||||||
|
# ]
|
||||||
#
|
#
|
||||||
# ## Github API access token. Unauthenticated requests are limited to 60 per hour.
|
# ## Github API access token. Unauthenticated requests are limited to 60 per hour.
|
||||||
# # access_token = ""
|
# # access_token = ""
|
||||||
#
|
#
|
||||||
|
# ## Github API enterprise url. Github Enterprise accounts must specify their base url.
|
||||||
|
# # enterprise_base_url = ""
|
||||||
|
#
|
||||||
# ## Timeout for HTTP requests.
|
# ## Timeout for HTTP requests.
|
||||||
# # http_timeout = "5s"
|
# # http_timeout = "5s"
|
||||||
|
|
||||||
|
@ -2776,7 +2819,7 @@
|
||||||
# ## iptables can be restricted to only list command "iptables -nvL".
|
# ## iptables can be restricted to only list command "iptables -nvL".
|
||||||
# use_sudo = false
|
# use_sudo = false
|
||||||
# ## Setting 'use_lock' to true runs iptables with the "-w" option.
|
# ## Setting 'use_lock' to true runs iptables with the "-w" option.
|
||||||
# ## Adjust your sudo settings appropriately if using this option ("iptables -wnvl")
|
# ## Adjust your sudo settings appropriately if using this option ("iptables -w 5 -nvl")
|
||||||
# use_lock = false
|
# use_lock = false
|
||||||
# ## Define an alternate executable, such as "ip6tables". Default is "iptables".
|
# ## Define an alternate executable, such as "ip6tables". Default is "iptables".
|
||||||
# # binary = "ip6tables"
|
# # binary = "ip6tables"
|
||||||
|
@ -3025,8 +3068,8 @@
|
||||||
#
|
#
|
||||||
# ## Optional Resources to exclude from gathering
|
# ## Optional Resources to exclude from gathering
|
||||||
# ## Leave them with blank with try to gather everything available.
|
# ## Leave them with blank with try to gather everything available.
|
||||||
# ## Values can be - "daemonsets", deployments", "nodes", "persistentvolumes",
|
# ## Values can be - "daemonsets", deployments", "endpoints", "ingress", "nodes",
|
||||||
# ## "persistentvolumeclaims", "pods", "statefulsets"
|
# ## "persistentvolumes", "persistentvolumeclaims", "pods", "services", "statefulsets"
|
||||||
# # resource_exclude = [ "deployments", "nodes", "statefulsets" ]
|
# # resource_exclude = [ "deployments", "nodes", "statefulsets" ]
|
||||||
#
|
#
|
||||||
# ## Optional Resources to include when gathering
|
# ## Optional Resources to include when gathering
|
||||||
|
@ -3074,6 +3117,39 @@
|
||||||
# # no configuration
|
# # no configuration
|
||||||
|
|
||||||
|
|
||||||
|
# # Read metrics exposed by Logstash
|
||||||
|
# [[inputs.logstash]]
|
||||||
|
# ## The URL of the exposed Logstash API endpoint.
|
||||||
|
# url = "http://127.0.0.1:9600"
|
||||||
|
#
|
||||||
|
# ## Use Logstash 5 single pipeline API, set to true when monitoring
|
||||||
|
# ## Logstash 5.
|
||||||
|
# # single_pipeline = false
|
||||||
|
#
|
||||||
|
# ## Enable optional collection components. Can contain
|
||||||
|
# ## "pipelines", "process", and "jvm".
|
||||||
|
# # collect = ["pipelines", "process", "jvm"]
|
||||||
|
#
|
||||||
|
# ## Timeout for HTTP requests.
|
||||||
|
# # timeout = "5s"
|
||||||
|
#
|
||||||
|
# ## Optional HTTP Basic Auth credentials.
|
||||||
|
# # username = "username"
|
||||||
|
# # password = "pa$$word"
|
||||||
|
#
|
||||||
|
# ## Optional TLS Config.
|
||||||
|
# # tls_ca = "/etc/telegraf/ca.pem"
|
||||||
|
# # tls_cert = "/etc/telegraf/cert.pem"
|
||||||
|
# # tls_key = "/etc/telegraf/key.pem"
|
||||||
|
#
|
||||||
|
# ## Use TLS but skip chain & host verification.
|
||||||
|
# # insecure_skip_verify = false
|
||||||
|
#
|
||||||
|
# ## Optional HTTP headers.
|
||||||
|
# # [inputs.logstash.headers]
|
||||||
|
# # "X-Special-Header" = "Special-Value"
|
||||||
|
|
||||||
|
|
||||||
# # Read metrics from local Lustre service on OST, MDS
|
# # Read metrics from local Lustre service on OST, MDS
|
||||||
# [[inputs.lustre2]]
|
# [[inputs.lustre2]]
|
||||||
# ## An array of /proc globs to search for Lustre stats
|
# ## An array of /proc globs to search for Lustre stats
|
||||||
|
@ -3102,6 +3178,26 @@
|
||||||
# # campaign_id = ""
|
# # campaign_id = ""
|
||||||
|
|
||||||
|
|
||||||
|
# # Retrives information on a specific host in a MarkLogic Cluster
|
||||||
|
# [[inputs.marklogic]]
|
||||||
|
# ## Base URL of the MarkLogic HTTP Server.
|
||||||
|
# url = "http://localhost:8002"
|
||||||
|
#
|
||||||
|
# ## List of specific hostnames to retrieve information. At least (1) required.
|
||||||
|
# # hosts = ["hostname1", "hostname2"]
|
||||||
|
#
|
||||||
|
# ## Using HTTP Basic Authentication. Management API requires 'manage-user' role privileges
|
||||||
|
# # username = "myuser"
|
||||||
|
# # password = "mypassword"
|
||||||
|
#
|
||||||
|
# ## Optional TLS Config
|
||||||
|
# # tls_ca = "/etc/telegraf/ca.pem"
|
||||||
|
# # tls_cert = "/etc/telegraf/cert.pem"
|
||||||
|
# # tls_key = "/etc/telegraf/key.pem"
|
||||||
|
# ## Use TLS but skip chain & host verification
|
||||||
|
# # insecure_skip_verify = false
|
||||||
|
|
||||||
|
|
||||||
# # Read metrics from one or many mcrouter servers
|
# # Read metrics from one or many mcrouter servers
|
||||||
# [[inputs.mcrouter]]
|
# [[inputs.mcrouter]]
|
||||||
# ## An array of address to gather stats about. Specify an ip or hostname
|
# ## An array of address to gather stats about. Specify an ip or hostname
|
||||||
|
@ -3133,10 +3229,12 @@
|
||||||
# "system",
|
# "system",
|
||||||
# "agents",
|
# "agents",
|
||||||
# "frameworks",
|
# "frameworks",
|
||||||
|
# "framework_offers",
|
||||||
# "tasks",
|
# "tasks",
|
||||||
# "messages",
|
# "messages",
|
||||||
# "evqueue",
|
# "evqueue",
|
||||||
# "registrar",
|
# "registrar",
|
||||||
|
# "allocator",
|
||||||
# ]
|
# ]
|
||||||
# ## A list of Mesos slaves, default is []
|
# ## A list of Mesos slaves, default is []
|
||||||
# # slaves = []
|
# # slaves = []
|
||||||
|
@ -3400,6 +3498,13 @@
|
||||||
#
|
#
|
||||||
# # HTTP response timeout (default: 5s)
|
# # HTTP response timeout (default: 5s)
|
||||||
# response_timeout = "5s"
|
# response_timeout = "5s"
|
||||||
|
#
|
||||||
|
# ## Optional TLS Config
|
||||||
|
# # tls_ca = "/etc/telegraf/ca.pem"
|
||||||
|
# # tls_cert = "/etc/telegraf/cert.pem"
|
||||||
|
# # tls_key = "/etc/telegraf/key.pem"
|
||||||
|
# ## Use TLS but skip chain & host verification
|
||||||
|
# # insecure_skip_verify = false
|
||||||
|
|
||||||
|
|
||||||
# # Read Nginx Plus Api documentation
|
# # Read Nginx Plus Api documentation
|
||||||
|
@ -3412,6 +3517,13 @@
|
||||||
#
|
#
|
||||||
# # HTTP response timeout (default: 5s)
|
# # HTTP response timeout (default: 5s)
|
||||||
# response_timeout = "5s"
|
# response_timeout = "5s"
|
||||||
|
#
|
||||||
|
# ## Optional TLS Config
|
||||||
|
# # tls_ca = "/etc/telegraf/ca.pem"
|
||||||
|
# # tls_cert = "/etc/telegraf/cert.pem"
|
||||||
|
# # tls_key = "/etc/telegraf/key.pem"
|
||||||
|
# ## Use TLS but skip chain & host verification
|
||||||
|
# # insecure_skip_verify = false
|
||||||
|
|
||||||
|
|
||||||
# # Read nginx_upstream_check module status information (https://github.com/yaoweibin/nginx_upstream_check_module)
|
# # Read nginx_upstream_check module status information (https://github.com/yaoweibin/nginx_upstream_check_module)
|
||||||
|
@ -3451,6 +3563,13 @@
|
||||||
#
|
#
|
||||||
# ## HTTP response timeout (default: 5s)
|
# ## HTTP response timeout (default: 5s)
|
||||||
# response_timeout = "5s"
|
# response_timeout = "5s"
|
||||||
|
#
|
||||||
|
# ## Optional TLS Config
|
||||||
|
# # tls_ca = "/etc/telegraf/ca.pem"
|
||||||
|
# # tls_cert = "/etc/telegraf/cert.pem"
|
||||||
|
# # tls_key = "/etc/telegraf/key.pem"
|
||||||
|
# ## Use TLS but skip chain & host verification
|
||||||
|
# # insecure_skip_verify = false
|
||||||
|
|
||||||
|
|
||||||
# # Read NSQ topic and channel statistics.
|
# # Read NSQ topic and channel statistics.
|
||||||
|
@ -3518,7 +3637,19 @@
|
||||||
# reverse_metric_names = true
|
# reverse_metric_names = true
|
||||||
|
|
||||||
|
|
||||||
# # A plugin to collect stats from Opensmtpd - a validating, recursive, and caching DNS resolver
|
# # Get standard NTP query metrics from OpenNTPD.
|
||||||
|
# [[inputs.openntpd]]
|
||||||
|
# ## Run ntpctl binary with sudo.
|
||||||
|
# # use_sudo = false
|
||||||
|
#
|
||||||
|
# ## Location of the ntpctl binary.
|
||||||
|
# # binary = "/usr/sbin/ntpctl"
|
||||||
|
#
|
||||||
|
# ## Maximum time the ntpctl binary is allowed to run.
|
||||||
|
# # timeout = "5ms"
|
||||||
|
|
||||||
|
|
||||||
|
# # A plugin to collect stats from Opensmtpd - a validating, recursive, and caching DNS resolver
|
||||||
# [[inputs.opensmtpd]]
|
# [[inputs.opensmtpd]]
|
||||||
# ## If running as a restricted user you can prepend sudo for additional access:
|
# ## If running as a restricted user you can prepend sudo for additional access:
|
||||||
# #use_sudo = false
|
# #use_sudo = false
|
||||||
|
@ -3662,14 +3793,14 @@
|
||||||
|
|
||||||
# # Read metrics from one or many PowerDNS Recursor servers
|
# # Read metrics from one or many PowerDNS Recursor servers
|
||||||
# [[inputs.powerdns_recursor]]
|
# [[inputs.powerdns_recursor]]
|
||||||
# ## An array of sockets to gather stats about.
|
# ## Path to the Recursor control socket.
|
||||||
# ## Specify a path to unix socket.
|
|
||||||
# unix_sockets = ["/var/run/pdns_recursor.controlsocket"]
|
# unix_sockets = ["/var/run/pdns_recursor.controlsocket"]
|
||||||
#
|
#
|
||||||
# ## Socket for Receive
|
# ## Directory to create receive socket. This default is likely not writable,
|
||||||
# #socket_dir = "/var/run/"
|
# ## please reference the full plugin documentation for a recommended setup.
|
||||||
# ## Socket permissions
|
# # socket_dir = "/var/run/"
|
||||||
# #socket_mode = "0666"
|
# ## Socket permissions for the receive socket.
|
||||||
|
# # socket_mode = "0666"
|
||||||
|
|
||||||
|
|
||||||
# # Monitor process cpu and memory usage
|
# # Monitor process cpu and memory usage
|
||||||
|
@ -3866,7 +3997,8 @@
|
||||||
# ## "never" depending on your disks.
|
# ## "never" depending on your disks.
|
||||||
# # nocheck = "standby"
|
# # nocheck = "standby"
|
||||||
#
|
#
|
||||||
# ## Gather detailed metrics for each SMART Attribute.
|
# ## Gather all returned S.M.A.R.T. attribute metrics and the detailed
|
||||||
|
# ## information from each drive into the 'smart_attribute' measurement.
|
||||||
# # attributes = false
|
# # attributes = false
|
||||||
#
|
#
|
||||||
# ## Optionally specify devices to exclude from reporting.
|
# ## Optionally specify devices to exclude from reporting.
|
||||||
|
@ -3877,6 +4009,9 @@
|
||||||
# ## done and all found will be included except for the
|
# ## done and all found will be included except for the
|
||||||
# ## excluded in excludes.
|
# ## excluded in excludes.
|
||||||
# # devices = [ "/dev/ada0 -d atacam" ]
|
# # devices = [ "/dev/ada0 -d atacam" ]
|
||||||
|
#
|
||||||
|
# ## Timeout for the smartctl command to complete.
|
||||||
|
# # timeout = "30s"
|
||||||
|
|
||||||
|
|
||||||
# # Retrieves SNMP values from remote agents
|
# # Retrieves SNMP values from remote agents
|
||||||
|
@ -4787,6 +4922,13 @@
|
||||||
# ## 0 means to use the default of 65536 bytes (64 kibibytes)
|
# ## 0 means to use the default of 65536 bytes (64 kibibytes)
|
||||||
# max_line_size = "64KiB"
|
# max_line_size = "64KiB"
|
||||||
#
|
#
|
||||||
|
#
|
||||||
|
# ## Optional tag name used to store the database.
|
||||||
|
# ## If the write has a database in the query string then it will be kept in this tag name.
|
||||||
|
# ## This tag can be used in downstream outputs.
|
||||||
|
# ## The default value of nothing means it will be off and the database will not be recorded.
|
||||||
|
# # database_tag = ""
|
||||||
|
#
|
||||||
# ## Set one or more allowed client CA certificate file names to
|
# ## Set one or more allowed client CA certificate file names to
|
||||||
# ## enable mutually authenticated TLS connections
|
# ## enable mutually authenticated TLS connections
|
||||||
# tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]
|
# tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]
|
||||||
|
@ -4863,6 +5005,13 @@
|
||||||
# ## 0 means to use the default of 65536 bytes (64 kibibytes)
|
# ## 0 means to use the default of 65536 bytes (64 kibibytes)
|
||||||
# max_line_size = "64KiB"
|
# max_line_size = "64KiB"
|
||||||
#
|
#
|
||||||
|
#
|
||||||
|
# ## Optional tag name used to store the database.
|
||||||
|
# ## If the write has a database in the query string then it will be kept in this tag name.
|
||||||
|
# ## This tag can be used in downstream outputs.
|
||||||
|
# ## The default value of nothing means it will be off and the database will not be recorded.
|
||||||
|
# # database_tag = ""
|
||||||
|
#
|
||||||
# ## Set one or more allowed client CA certificate file names to
|
# ## Set one or more allowed client CA certificate file names to
|
||||||
# ## enable mutually authenticated TLS connections
|
# ## enable mutually authenticated TLS connections
|
||||||
# tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]
|
# tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]
|
||||||
|
@ -5123,7 +5272,18 @@
|
||||||
# [[inputs.mqtt_consumer]]
|
# [[inputs.mqtt_consumer]]
|
||||||
# ## MQTT broker URLs to be used. The format should be scheme://host:port,
|
# ## MQTT broker URLs to be used. The format should be scheme://host:port,
|
||||||
# ## schema can be tcp, ssl, or ws.
|
# ## schema can be tcp, ssl, or ws.
|
||||||
# servers = ["tcp://localhost:1883"]
|
# servers = ["tcp://127.0.0.1:1883"]
|
||||||
|
#
|
||||||
|
# ## Topics that will be subscribed to.
|
||||||
|
# topics = [
|
||||||
|
# "telegraf/host01/cpu",
|
||||||
|
# "telegraf/+/mem",
|
||||||
|
# "sensors/#",
|
||||||
|
# ]
|
||||||
|
#
|
||||||
|
# ## The message topic will be stored in a tag specified by this value. If set
|
||||||
|
# ## to the empty string no topic tag will be created.
|
||||||
|
# # topic_tag = "topic"
|
||||||
#
|
#
|
||||||
# ## QoS policy for messages
|
# ## QoS policy for messages
|
||||||
# ## 0 = at most once
|
# ## 0 = at most once
|
||||||
|
@ -5132,10 +5292,10 @@
|
||||||
# ##
|
# ##
|
||||||
# ## When using a QoS of 1 or 2, you should enable persistent_session to allow
|
# ## When using a QoS of 1 or 2, you should enable persistent_session to allow
|
||||||
# ## resuming unacknowledged messages.
|
# ## resuming unacknowledged messages.
|
||||||
# qos = 0
|
# # qos = 0
|
||||||
#
|
#
|
||||||
# ## Connection timeout for initial connection in seconds
|
# ## Connection timeout for initial connection in seconds
|
||||||
# connection_timeout = "30s"
|
# # connection_timeout = "30s"
|
||||||
#
|
#
|
||||||
# ## Maximum messages to read from the broker that have not been written by an
|
# ## Maximum messages to read from the broker that have not been written by an
|
||||||
# ## output. For best throughput set based on the number of metrics within
|
# ## output. For best throughput set based on the number of metrics within
|
||||||
|
@ -5147,21 +5307,17 @@
|
||||||
# ## waiting until the next flush_interval.
|
# ## waiting until the next flush_interval.
|
||||||
# # max_undelivered_messages = 1000
|
# # max_undelivered_messages = 1000
|
||||||
#
|
#
|
||||||
# ## Topics to subscribe to
|
# ## Persistent session disables clearing of the client session on connection.
|
||||||
# topics = [
|
# ## In order for this option to work you must also set client_id to identity
|
||||||
# "telegraf/host01/cpu",
|
# ## the client. To receive messages that arrived while the client is offline,
|
||||||
# "telegraf/+/mem",
|
# ## also set the qos option to 1 or 2 and don't forget to also set the QoS when
|
||||||
# "sensors/#",
|
# ## publishing.
|
||||||
# ]
|
# # persistent_session = false
|
||||||
#
|
#
|
||||||
# # if true, messages that can't be delivered while the subscriber is offline
|
# ## If unset, a random client ID will be generated.
|
||||||
# # will be delivered when it comes back (such as on service restart).
|
# # client_id = ""
|
||||||
# # NOTE: if true, client_id MUST be set
|
|
||||||
# persistent_session = false
|
|
||||||
# # If empty, a random client ID will be generated.
|
|
||||||
# client_id = ""
|
|
||||||
#
|
#
|
||||||
# ## username and password to connect MQTT server.
|
# ## Username and password to connect MQTT server.
|
||||||
# # username = "telegraf"
|
# # username = "telegraf"
|
||||||
# # password = "metricsmetricsmetricsmetrics"
|
# # password = "metricsmetricsmetricsmetrics"
|
||||||
#
|
#
|
||||||
|
@ -5183,13 +5339,26 @@
|
||||||
# [[inputs.nats_consumer]]
|
# [[inputs.nats_consumer]]
|
||||||
# ## urls of NATS servers
|
# ## urls of NATS servers
|
||||||
# servers = ["nats://localhost:4222"]
|
# servers = ["nats://localhost:4222"]
|
||||||
# ## Use Transport Layer Security
|
#
|
||||||
# secure = false
|
|
||||||
# ## subject(s) to consume
|
# ## subject(s) to consume
|
||||||
# subjects = ["telegraf"]
|
# subjects = ["telegraf"]
|
||||||
# ## name a queue group
|
# ## name a queue group
|
||||||
# queue_group = "telegraf_consumers"
|
# queue_group = "telegraf_consumers"
|
||||||
#
|
#
|
||||||
|
# ## Optional credentials
|
||||||
|
# # username = ""
|
||||||
|
# # password = ""
|
||||||
|
#
|
||||||
|
# ## Use Transport Layer Security
|
||||||
|
# # secure = false
|
||||||
|
#
|
||||||
|
# ## Optional TLS Config
|
||||||
|
# # tls_ca = "/etc/telegraf/ca.pem"
|
||||||
|
# # tls_cert = "/etc/telegraf/cert.pem"
|
||||||
|
# # tls_key = "/etc/telegraf/key.pem"
|
||||||
|
# ## Use TLS but skip chain & host verification
|
||||||
|
# # insecure_skip_verify = false
|
||||||
|
#
|
||||||
# ## Sets the limits for pending msgs and bytes for each subscription
|
# ## Sets the limits for pending msgs and bytes for each subscription
|
||||||
# ## These shouldn't need to be adjusted except in very high throughput scenarios
|
# ## These shouldn't need to be adjusted except in very high throughput scenarios
|
||||||
# # pending_message_limit = 65536
|
# # pending_message_limit = 65536
|
||||||
|
@ -5703,6 +5872,8 @@
|
||||||
# "storageAdapter.write.average",
|
# "storageAdapter.write.average",
|
||||||
# "sys.uptime.latest",
|
# "sys.uptime.latest",
|
||||||
# ]
|
# ]
|
||||||
|
# ## Collect IP addresses? Valid values are "ipv4" and "ipv6"
|
||||||
|
# # ip_addresses = ["ipv6", "ipv4" ]
|
||||||
# # host_metric_exclude = [] ## Nothing excluded by default
|
# # host_metric_exclude = [] ## Nothing excluded by default
|
||||||
# # host_instances = true ## true by default
|
# # host_instances = true ## true by default
|
||||||
#
|
#
|
||||||
|
@ -5756,6 +5927,14 @@
|
||||||
# ## preserve the full precision when averaging takes place.
|
# ## preserve the full precision when averaging takes place.
|
||||||
# # use_int_samples = true
|
# # use_int_samples = true
|
||||||
#
|
#
|
||||||
|
# ## Custom attributes from vCenter can be very useful for queries in order to slice the
|
||||||
|
# ## metrics along different dimension and for forming ad-hoc relationships. They are disabled
|
||||||
|
# ## by default, since they can add a considerable amount of tags to the resulting metrics. To
|
||||||
|
# ## enable, simply set custom_attribute_exlude to [] (empty set) and use custom_attribute_include
|
||||||
|
# ## to select the attributes you want to include.
|
||||||
|
# # custom_attribute_include = []
|
||||||
|
# # custom_attribute_exclude = ["*"]
|
||||||
|
#
|
||||||
# ## Optional SSL Config
|
# ## Optional SSL Config
|
||||||
# # ssl_ca = "/path/to/cafile"
|
# # ssl_ca = "/path/to/cafile"
|
||||||
# # ssl_cert = "/path/to/certfile"
|
# # ssl_cert = "/path/to/certfile"
|
||||||
|
|
Loading…
Reference in New Issue