#include <MsgBoxConstants.au3> ; to declare the Constants of MsgBox
Local $sRegex = "(?m)(^.+endpoint database needs to be configured on server.+\n^.+)#(.+)"
Local $sString = "# Telegraf Configuration" & @CRLF & _
"#" & @CRLF & _
"# Telegraf is entirely plugin driven. All metrics are gathered from the" & @CRLF & _
"# declared inputs, and sent to the declared outputs." & @CRLF & _
"#" & @CRLF & _
"# Plugins must be declared in here to be active." & @CRLF & _
"# To deactivate a plugin, comment out the name and any variables." & @CRLF & _
"#" & @CRLF & _
"# Use 'telegraf -config telegraf.conf -test' to see what metrics a config" & @CRLF & _
"# file would generate." & @CRLF & _
"#" & @CRLF & _
"# Environment variables can be used anywhere in this config file, simply surround" & @CRLF & _
"# them with ${}. For strings the variable must be within quotes (ie, "${STR_VAR}")," & @CRLF & _
"# for numbers and booleans they should be plain (ie, ${INT_VAR}, ${BOOL_VAR})" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# Global tags can be specified here in key="value" format." & @CRLF & _
"[global_tags]" & @CRLF & _
" # dc = "us-east-1" # will tag all metrics with dc=us-east-1" & @CRLF & _
" # rack = "1a"" & @CRLF & _
" ## Environment variables can be used as tags, and throughout the config file" & @CRLF & _
" # user = "$USER"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# Configuration for telegraf agent" & @CRLF & _
"[agent]" & @CRLF & _
" ## Default data collection interval for all inputs" & @CRLF & _
" interval = "10s"" & @CRLF & _
" ## Rounds collection interval to 'interval'" & @CRLF & _
" ## ie, if interval="10s" then always collect on :00, :10, :20, etc." & @CRLF & _
" round_interval = true" & @CRLF & _
"" & @CRLF & _
" ## Telegraf will send metrics to outputs in batches of at most" & @CRLF & _
" ## metric_batch_size metrics." & @CRLF & _
" ## This controls the size of writes that Telegraf sends to output plugins." & @CRLF & _
" metric_batch_size = 1000" & @CRLF & _
"" & @CRLF & _
" ## Maximum number of unwritten metrics per output." & @CRLF & _
" metric_buffer_limit = 10000" & @CRLF & _
"" & @CRLF & _
" ## Collection jitter is used to jitter the collection by a random amount." & @CRLF & _
" ## Each plugin will sleep for a random time within jitter before collecting." & @CRLF & _
" ## This can be used to avoid many plugins querying things like sysfs at the" & @CRLF & _
" ## same time, which can have a measurable effect on the system." & @CRLF & _
" collection_jitter = "0s"" & @CRLF & _
"" & @CRLF & _
" ## Default flushing interval for all outputs. Maximum flush_interval will be" & @CRLF & _
" ## flush_interval + flush_jitter" & @CRLF & _
" flush_interval = "10s"" & @CRLF & _
" ## Jitter the flush interval by a random amount. This is primarily to avoid" & @CRLF & _
" ## large write spikes for users running a large number of telegraf instances." & @CRLF & _
" ## ie, a jitter of 5s and interval 10s means flushes will happen every 10-15s" & @CRLF & _
" flush_jitter = "0s"" & @CRLF & _
"" & @CRLF & _
" ## By default or when set to "0s", precision will be set to the same" & @CRLF & _
" ## timestamp order as the collection interval, with the maximum being 1s." & @CRLF & _
" ## ie, when interval = "10s", precision will be "1s"" & @CRLF & _
" ## when interval = "250ms", precision will be "1ms"" & @CRLF & _
" ## Precision will NOT be used for service inputs. It is up to each individual" & @CRLF & _
" ## service input to set the timestamp at the appropriate precision." & @CRLF & _
" ## Valid time units are "ns", "us" (or "µs"), "ms", "s"." & @CRLF & _
" precision = """ & @CRLF & _
"" & @CRLF & _
" ## Log at debug level." & @CRLF & _
" # debug = false" & @CRLF & _
" ## Log only error level messages." & @CRLF & _
" # quiet = false" & @CRLF & _
"" & @CRLF & _
" ## Log file name, the empty string means to log to stderr." & @CRLF & _
" # logfile = """ & @CRLF & _
"" & @CRLF & _
" ## The logfile will be rotated after the time interval specified. When set" & @CRLF & _
" ## to 0 no time based rotation is performed." & @CRLF & _
" # logfile_rotation_interval = "0d"" & @CRLF & _
"" & @CRLF & _
" ## The logfile will be rotated when it becomes larger than the specified" & @CRLF & _
" ## size. When set to 0 no size based rotation is performed." & @CRLF & _
" # logfile_rotation_max_size = "0MB"" & @CRLF & _
"" & @CRLF & _
" ## Maximum number of rotated archives to keep, any older logs are deleted." & @CRLF & _
" ## If set to -1, no archives are removed." & @CRLF & _
" # logfile_rotation_max_archives = 5" & @CRLF & _
"" & @CRLF & _
" ## Override default hostname, if empty use os.Hostname()" & @CRLF & _
" hostname = """ & @CRLF & _
" ## If set to true, do no set the "host" tag in the telegraf agent." & @CRLF & _
" omit_hostname = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"###############################################################################" & @CRLF & _
"# OUTPUT PLUGINS #" & @CRLF & _
"###############################################################################" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# Configuration for sending metrics to InfluxDB" & @CRLF & _
"[[outputs.influxdb]]" & @CRLF & _
" ## The full HTTP or UDP URL for your InfluxDB instance." & @CRLF & _
" ##" & @CRLF & _
" ## Multiple URLs can be specified for a single cluster, only ONE of the" & @CRLF & _
" ## urls will be written to each interval." & @CRLF & _
" # urls = ["unix:///var/run/influxdb.sock"]" & @CRLF & _
" # urls = ["udp://127.0.0.1:8089"]" & @CRLF & _
" # urls = ["http://127.0.0.1:8086"]" & @CRLF & _
"" & @CRLF & _
" ## The target database for metrics; will be created as needed." & @CRLF & _
" ## For UDP url endpoint database needs to be configured on server side." & @CRLF & _
" # database = "telegraf"" & @CRLF & _
"" & @CRLF & _
" ## The value of this tag will be used to determine the database. If this" & @CRLF & _
" ## tag is not set the 'database' option is used as the default." & @CRLF & _
" # database_tag = """ & @CRLF & _
"" & @CRLF & _
" ## If true, no CREATE DATABASE queries will be sent. Set to true when using" & @CRLF & _
" ## Telegraf with a user without permissions to create databases or when the" & @CRLF & _
" ## database already exists." & @CRLF & _
" # skip_database_creation = false" & @CRLF & _
"" & @CRLF & _
" ## Name of existing retention policy to write to. Empty string writes to" & @CRLF & _
" ## the default retention policy. Only takes effect when using HTTP." & @CRLF & _
" # retention_policy = """ & @CRLF & _
"" & @CRLF & _
" ## Write consistency (clusters only), can be: "any", "one", "quorum", "all"." & @CRLF & _
" ## Only takes effect when using HTTP." & @CRLF & _
" # write_consistency = "any"" & @CRLF & _
"" & @CRLF & _
" ## Timeout for HTTP messages." & @CRLF & _
" # timeout = "5s"" & @CRLF & _
"" & @CRLF & _
" ## HTTP Basic Auth" & @CRLF & _
" # username = "telegraf"" & @CRLF & _
" # password = "metricsmetricsmetricsmetrics"" & @CRLF & _
"" & @CRLF & _
" ## HTTP User-Agent" & @CRLF & _
" # user_agent = "telegraf"" & @CRLF & _
"" & @CRLF & _
" ## UDP payload size is the maximum packet size to send." & @CRLF & _
" # udp_payload = "512B"" & @CRLF & _
"" & @CRLF & _
" ## Optional TLS Config for use on HTTP connections." & @CRLF & _
" # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
" # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
" # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
" ## Use TLS but skip chain & host verification" & @CRLF & _
" # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
" ## HTTP Proxy override, if unset values the standard proxy environment" & @CRLF & _
" ## variables are consulted to determine which proxy, if any, should be used." & @CRLF & _
" # http_proxy = "http://corporate.proxy:3128"" & @CRLF & _
"" & @CRLF & _
" ## Additional HTTP headers" & @CRLF & _
" # http_headers = {"X-Special-Header" = "Special-Value"}" & @CRLF & _
"" & @CRLF & _
" ## HTTP Content-Encoding for write request body, can be set to "gzip" to" & @CRLF & _
" ## compress body or "identity" to apply no encoding." & @CRLF & _
" # content_encoding = "identity"" & @CRLF & _
"" & @CRLF & _
" ## When true, Telegraf will output unsigned integers as unsigned values," & @CRLF & _
" ## i.e.: "42u". You will need a version of InfluxDB supporting unsigned" & @CRLF & _
" ## integer values. Enabling this option will result in field type errors if" & @CRLF & _
" ## existing data has been written." & @CRLF & _
" # influx_uint_support = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for Amon Server to send metrics to." & @CRLF & _
"# [[outputs.amon]]" & @CRLF & _
"# ## Amon Server Key" & @CRLF & _
"# server_key = "my-server-key" # required." & @CRLF & _
"#" & @CRLF & _
"# ## Amon Instance URL" & @CRLF & _
"# amon_instance = "https://youramoninstance" # required" & @CRLF & _
"#" & @CRLF & _
"# ## Connection timeout." & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Publishes metrics to an AMQP broker" & @CRLF & _
"# [[outputs.amqp]]" & @CRLF & _
"# ## Broker to publish to." & @CRLF & _
"# ## deprecated in 1.7; use the brokers option" & @CRLF & _
"# # url = "amqp://localhost:5672/influxdb"" & @CRLF & _
"#" & @CRLF & _
"# ## Brokers to publish to. If multiple brokers are specified a random broker" & @CRLF & _
"# ## will be selected anytime a connection is established. This can be" & @CRLF & _
"# ## helpful for load balancing when not using a dedicated load balancer." & @CRLF & _
"# brokers = ["amqp://localhost:5672/influxdb"]" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum messages to send over a connection. Once this is reached, the" & @CRLF & _
"# ## connection is closed and a new connection is made. This can be helpful for" & @CRLF & _
"# ## load balancing when not using a dedicated load balancer." & @CRLF & _
"# # max_messages = 0" & @CRLF & _
"#" & @CRLF & _
"# ## Exchange to declare and publish to." & @CRLF & _
"# exchange = "telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## Exchange type; common types are "direct", "fanout", "topic", "header", "x-consistent-hash"." & @CRLF & _
"# # exchange_type = "topic"" & @CRLF & _
"#" & @CRLF & _
"# ## If true, exchange will be passively declared." & @CRLF & _
"# # exchange_passive = false" & @CRLF & _
"#" & @CRLF & _
"# ## Exchange durability can be either "transient" or "durable"." & @CRLF & _
"# # exchange_durability = "durable"" & @CRLF & _
"#" & @CRLF & _
"# ## Additional exchange arguments." & @CRLF & _
"# # exchange_arguments = { }" & @CRLF & _
"# # exchange_arguments = {"hash_propery" = "timestamp"}" & @CRLF & _
"#" & @CRLF & _
"# ## Authentication credentials for the PLAIN auth_method." & @CRLF & _
"# # username = """ & @CRLF & _
"# # password = """ & @CRLF & _
"#" & @CRLF & _
"# ## Auth method. PLAIN and EXTERNAL are supported" & @CRLF & _
"# ## Using EXTERNAL requires enabling the rabbitmq_auth_mechanism_ssl plugin as" & @CRLF & _
"# ## described here: https://www.rabbitmq.com/plugins.html" & @CRLF & _
"# # auth_method = "PLAIN"" & @CRLF & _
"#" & @CRLF & _
"# ## Metric tag to use as a routing key." & @CRLF & _
"# ## ie, if this tag exists, its value will be used as the routing key" & @CRLF & _
"# # routing_tag = "host"" & @CRLF & _
"#" & @CRLF & _
"# ## Static routing key. Used when no routing_tag is set or as a fallback" & @CRLF & _
"# ## when the tag specified in routing tag is not found." & @CRLF & _
"# # routing_key = """ & @CRLF & _
"# # routing_key = "telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## Delivery Mode controls if a published message is persistent." & @CRLF & _
"# ## One of "transient" or "persistent"." & @CRLF & _
"# # delivery_mode = "transient"" & @CRLF & _
"#" & @CRLF & _
"# ## InfluxDB database added as a message header." & @CRLF & _
"# ## deprecated in 1.7; use the headers option" & @CRLF & _
"# # database = "telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## InfluxDB retention policy added as a message header" & @CRLF & _
"# ## deprecated in 1.7; use the headers option" & @CRLF & _
"# # retention_policy = "default"" & @CRLF & _
"#" & @CRLF & _
"# ## Static headers added to each published message." & @CRLF & _
"# # headers = { }" & @CRLF & _
"# # headers = {"database" = "telegraf", "retention_policy" = "default"}" & @CRLF & _
"#" & @CRLF & _
"# ## Connection timeout. If not provided, will default to 5s. 0s means no" & @CRLF & _
"# ## timeout (not recommended)." & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## If true use batch serialization format instead of line based delimiting." & @CRLF & _
"# ## Only applies to data formats which are not line based such as JSON." & @CRLF & _
"# ## Recommended to set to true." & @CRLF & _
"# # use_batch_format = false" & @CRLF & _
"#" & @CRLF & _
"# ## Content encoding for message payloads, can be set to "gzip" to or" & @CRLF & _
"# ## "identity" to apply no encoding." & @CRLF & _
"# ##" & @CRLF & _
"# ## Please note that when use_batch_format = false each amqp message contains only" & @CRLF & _
"# ## a single metric, it is recommended to use compression with batch format" & @CRLF & _
"# ## for best results." & @CRLF & _
"# # content_encoding = "identity"" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to output." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md" & @CRLF & _
"# # data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Send metrics to Azure Application Insights" & @CRLF & _
"# [[outputs.application_insights]]" & @CRLF & _
"# ## Instrumentation key of the Application Insights resource." & @CRLF & _
"# instrumentation_key = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx"" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for closing (default: 5s)." & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Enable additional diagnostic logging." & @CRLF & _
"# # enable_diagnostic_logging = false" & @CRLF & _
"#" & @CRLF & _
"# ## Context Tag Sources add Application Insights context tags to a tag value." & @CRLF & _
"# ##" & @CRLF & _
"# ## For list of allowed context tag keys see:" & @CRLF & _
"# ## https://github.com/Microsoft/ApplicationInsights-Go/blob/master/appinsights/contracts/contexttagkeys.go" & @CRLF & _
"# # [outputs.application_insights.context_tag_sources]" & @CRLF & _
"# # "ai.cloud.role" = "kubernetes_container_name"" & @CRLF & _
"# # "ai.cloud.roleInstance" = "kubernetes_pod_name"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Send aggregate metrics to Azure Monitor" & @CRLF & _
"# [[outputs.azure_monitor]]" & @CRLF & _
"# ## Timeout for HTTP writes." & @CRLF & _
"# # timeout = "20s"" & @CRLF & _
"#" & @CRLF & _
"# ## Set the namespace prefix, defaults to "Telegraf/<input-name>"." & @CRLF & _
"# # namespace_prefix = "Telegraf/"" & @CRLF & _
"#" & @CRLF & _
"# ## Azure Monitor doesn't have a string value type, so convert string" & @CRLF & _
"# ## fields to dimensions (a.k.a. tags) if enabled. Azure Monitor allows" & @CRLF & _
"# ## a maximum of 10 dimensions so Telegraf will only send the first 10" & @CRLF & _
"# ## alphanumeric dimensions." & @CRLF & _
"# # strings_as_dimensions = false" & @CRLF & _
"#" & @CRLF & _
"# ## Both region and resource_id must be set or be available via the" & @CRLF & _
"# ## Instance Metadata service on Azure Virtual Machines." & @CRLF & _
"# #" & @CRLF & _
"# ## Azure Region to publish metrics against." & @CRLF & _
"# ## ex: region = "southcentralus"" & @CRLF & _
"# # region = """ & @CRLF & _
"# #" & @CRLF & _
"# ## The Azure Resource ID against which metric will be logged, e.g." & @CRLF & _
"# ## ex: resource_id = "/subscriptions/<subscription_id>/resourceGroups/<resource_group>/providers/Microsoft.Compute/virtualMachines/<vm_name>"" & @CRLF & _
"# # resource_id = """ & @CRLF & _
"#" & @CRLF & _
"# ## Optionally, if in Azure US Government, China or other sovereign" & @CRLF & _
"# ## cloud environment, set appropriate REST endpoint for receiving" & @CRLF & _
"# ## metrics. (Note: region may be unused in this context)" & @CRLF & _
"# # endpoint_url = "https://monitoring.core.usgovcloudapi.net"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Publish Telegraf metrics to a Google Cloud PubSub topic" & @CRLF & _
"# [[outputs.cloud_pubsub]]" & @CRLF & _
"# ## Required. Name of Google Cloud Platform (GCP) Project that owns" & @CRLF & _
"# ## the given PubSub topic." & @CRLF & _
"# project = "my-project"" & @CRLF & _
"#" & @CRLF & _
"# ## Required. Name of PubSub topic to publish metrics to." & @CRLF & _
"# topic = "my-topic"" & @CRLF & _
"#" & @CRLF & _
"# ## Required. Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options." & @CRLF & _
"# ## Read more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Filepath for GCP credentials JSON file to authorize calls to" & @CRLF & _
"# ## PubSub APIs. If not set explicitly, Telegraf will attempt to use" & @CRLF & _
"# ## Application Default Credentials, which is preferred." & @CRLF & _
"# # credentials_file = "path/to/my/creds.json"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. If true, will send all metrics per write in one PubSub message." & @CRLF & _
"# # send_batched = true" & @CRLF & _
"#" & @CRLF & _
"# ## The following publish_* parameters specifically configures batching" & @CRLF & _
"# ## requests made to the GCP Cloud PubSub API via the PubSub Golang library. Read" & @CRLF & _
"# ## more here: https://godoc.org/cloud.google.com/go/pubsub#PublishSettings" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Send a request to PubSub (i.e. actually publish a batch)" & @CRLF & _
"# ## when it has this many PubSub messages. If send_batched is true," & @CRLF & _
"# ## this is ignored and treated as if it were 1." & @CRLF & _
"# # publish_count_threshold = 1000" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Send a request to PubSub (i.e. actually publish a batch)" & @CRLF & _
"# ## when it has this many PubSub messages. If send_batched is true," & @CRLF & _
"# ## this is ignored and treated as if it were 1" & @CRLF & _
"# # publish_byte_threshold = 1000000" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Specifically configures requests made to the PubSub API." & @CRLF & _
"# # publish_num_go_routines = 2" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Specifies a timeout for requests to the PubSub API." & @CRLF & _
"# # publish_timeout = "30s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. If true, published PubSub message data will be base64-encoded." & @CRLF & _
"# # base64_data = false" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. PubSub attributes to add to metrics." & @CRLF & _
"# # [[inputs.pubsub.attributes]]" & @CRLF & _
"# # my_attr = "tag_value"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for AWS CloudWatch output." & @CRLF & _
"# [[outputs.cloudwatch]]" & @CRLF & _
"# ## Amazon REGION" & @CRLF & _
"# region = "us-east-1"" & @CRLF & _
"#" & @CRLF & _
"# ## Amazon Credentials" & @CRLF & _
"# ## Credentials are loaded in the following order" & @CRLF & _
"# ## 1) Assumed credentials via STS if role_arn is specified" & @CRLF & _
"# ## 2) explicit credentials from 'access_key' and 'secret_key'" & @CRLF & _
"# ## 3) shared profile from 'profile'" & @CRLF & _
"# ## 4) environment variables" & @CRLF & _
"# ## 5) shared credentials file" & @CRLF & _
"# ## 6) EC2 Instance Profile" & @CRLF & _
"# #access_key = """ & @CRLF & _
"# #secret_key = """ & @CRLF & _
"# #token = """ & @CRLF & _
"# #role_arn = """ & @CRLF & _
"# #profile = """ & @CRLF & _
"# #shared_credential_file = """ & @CRLF & _
"#" & @CRLF & _
"# ## Endpoint to make request against, the correct endpoint is automatically" & @CRLF & _
"# ## determined and this option should only be set if you wish to override the" & @CRLF & _
"# ## default." & @CRLF & _
"# ## ex: endpoint_url = "http://localhost:8000"" & @CRLF & _
"# # endpoint_url = """ & @CRLF & _
"#" & @CRLF & _
"# ## Namespace for the CloudWatch MetricDatums" & @CRLF & _
"# namespace = "InfluxData/Telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## If you have a large amount of metrics, you should consider to send statistic" & @CRLF & _
"# ## values instead of raw metrics which could not only improve performance but" & @CRLF & _
"# ## also save AWS API cost. If enable this flag, this plugin would parse the required" & @CRLF & _
"# ## CloudWatch statistic fields (count, min, max, and sum) and send them to CloudWatch." & @CRLF & _
"# ## You could use basicstats aggregator to calculate those fields. If not all statistic" & @CRLF & _
"# ## fields are available, all fields would still be sent as raw metrics." & @CRLF & _
"# # write_statistics = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for CrateDB to send metrics to." & @CRLF & _
"# [[outputs.cratedb]]" & @CRLF & _
"# # A github.com/jackc/pgx connection string." & @CRLF & _
"# # See https://godoc.org/github.com/jackc/pgx#ParseDSN" & @CRLF & _
"# url = "postgres://user:password@localhost/schema?sslmode=disable"" & @CRLF & _
"# # Timeout for all CrateDB queries." & @CRLF & _
"# timeout = "5s"" & @CRLF & _
"# # Name of the table to store metrics in." & @CRLF & _
"# table = "metrics"" & @CRLF & _
"# # If true, and the metrics table does not exist, create it automatically." & @CRLF & _
"# table_create = true" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for DataDog API to send metrics to." & @CRLF & _
"# [[outputs.datadog]]" & @CRLF & _
"# ## Datadog API key" & @CRLF & _
"# apikey = "my-secret-key" # required." & @CRLF & _
"#" & @CRLF & _
"# # The base endpoint URL can optionally be specified but it defaults to:" & @CRLF & _
"# #url = "https://app.datadoghq.com/api/v1/series"" & @CRLF & _
"#" & @CRLF & _
"# ## Connection timeout." & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Send metrics to nowhere at all" & @CRLF & _
"# [[outputs.discard]]" & @CRLF & _
"# # no configuration" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for Elasticsearch to send metrics to." & @CRLF & _
"# [[outputs.elasticsearch]]" & @CRLF & _
"# ## The full HTTP endpoint URL for your Elasticsearch instance" & @CRLF & _
"# ## Multiple urls can be specified as part of the same cluster," & @CRLF & _
"# ## this means that only ONE of the urls will be written to each interval." & @CRLF & _
"# urls = [ "http://node1.es.example.com:9200" ] # required." & @CRLF & _
"# ## Elasticsearch client timeout, defaults to "5s" if not set." & @CRLF & _
"# timeout = "5s"" & @CRLF & _
"# ## Set to true to ask Elasticsearch a list of all cluster nodes," & @CRLF & _
"# ## thus it is not necessary to list all nodes in the urls config option." & @CRLF & _
"# enable_sniffer = false" & @CRLF & _
"# ## Set the interval to check if the Elasticsearch nodes are available" & @CRLF & _
"# ## Setting to "0s" will disable the health check (not recommended in production)" & @CRLF & _
"# health_check_interval = "10s"" & @CRLF & _
"# ## HTTP basic authentication details (eg. when using Shield)" & @CRLF & _
"# # username = "telegraf"" & @CRLF & _
"# # password = "mypassword"" & @CRLF & _
"#" & @CRLF & _
"# ## Index Config" & @CRLF & _
"# ## The target index for metrics (Elasticsearch will create if it not exists)." & @CRLF & _
"# ## You can use the date specifiers below to create indexes per time frame." & @CRLF & _
"# ## The metric timestamp will be used to decide the destination index name" & @CRLF & _
"# # %Y - year (2016)" & @CRLF & _
"# # %y - last two digits of year (00..99)" & @CRLF & _
"# # %m - month (01..12)" & @CRLF & _
"# # %d - day of month (e.g., 01)" & @CRLF & _
"# # %H - hour (00..23)" & @CRLF & _
"# # %V - week of the year (ISO week) (01..53)" & @CRLF & _
"# ## Additionally, you can specify a tag name using the notation {{tag_name}}" & @CRLF & _
"# ## which will be used as part of the index name. If the tag does not exist," & @CRLF & _
"# ## the default tag value will be used." & @CRLF & _
"# # index_name = "telegraf-{{host}}-%Y.%m.%d"" & @CRLF & _
"# # default_tag_value = "none"" & @CRLF & _
"# index_name = "telegraf-%Y.%m.%d" # required." & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Template Config" & @CRLF & _
"# ## Set to true if you want telegraf to manage its index template." & @CRLF & _
"# ## If enabled it will create a recommended index template for telegraf indexes" & @CRLF & _
"# manage_template = true" & @CRLF & _
"# ## The template name used for telegraf indexes" & @CRLF & _
"# template_name = "telegraf"" & @CRLF & _
"# ## Set to true if you want telegraf to overwrite an existing template" & @CRLF & _
"# overwrite_template = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Send telegraf metrics to file(s)" & @CRLF & _
"# [[outputs.file]]" & @CRLF & _
"# ## Files to write to, "stdout" is a specially handled file." & @CRLF & _
"# files = ["stdout", "/tmp/metrics.out"]" & @CRLF & _
"#" & @CRLF & _
"# ## The file will be rotated after the time interval specified. When set" & @CRLF & _
"# ## to 0 no time based rotation is performed." & @CRLF & _
"# # rotation_interval = "0d"" & @CRLF & _
"#" & @CRLF & _
"# ## The logfile will be rotated when it becomes larger than the specified" & @CRLF & _
"# ## size. When set to 0 no size based rotation is performed." & @CRLF & _
"# # rotation_max_size = "0MB"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum number of rotated archives to keep, any older logs are deleted." & @CRLF & _
"# ## If set to -1, no archives are removed." & @CRLF & _
"# # rotation_max_archives = 5" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to output." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for Graphite server to send metrics to" & @CRLF & _
"# [[outputs.graphite]]" & @CRLF & _
"# ## TCP endpoint for your graphite instance." & @CRLF & _
"# ## If multiple endpoints are configured, output will be load balanced." & @CRLF & _
"# ## Only one of the endpoints will be written to with each iteration." & @CRLF & _
"# servers = ["localhost:2003"]" & @CRLF & _
"# ## Prefix metrics name" & @CRLF & _
"# prefix = """ & @CRLF & _
"# ## Graphite output template" & @CRLF & _
"# ## see https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md" & @CRLF & _
"# template = "host.tags.measurement.field"" & @CRLF & _
"#" & @CRLF & _
"# ## Enable Graphite tags support" & @CRLF & _
"# # graphite_tag_support = false" & @CRLF & _
"#" & @CRLF & _
"# ## timeout in seconds for the write connection to graphite" & @CRLF & _
"# timeout = 2" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Send telegraf metrics to graylog(s)" & @CRLF & _
"# [[outputs.graylog]]" & @CRLF & _
"# ## UDP endpoint for your graylog instance." & @CRLF & _
"# servers = ["127.0.0.1:12201", "192.168.1.1:12201"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configurable HTTP health check resource based on metrics" & @CRLF & _
"# [[outputs.health]]" & @CRLF & _
"# ## Address and port to listen on." & @CRLF & _
"# ## ex: service_address = "tcp://localhost:8080"" & @CRLF & _
"# ## service_address = "unix:///var/run/telegraf-health.sock"" & @CRLF & _
"# # service_address = "tcp://:8080"" & @CRLF & _
"#" & @CRLF & _
"# ## The maximum duration for reading the entire request." & @CRLF & _
"# # read_timeout = "5s"" & @CRLF & _
"# ## The maximum duration for writing the entire response." & @CRLF & _
"# # write_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Username and password to accept for HTTP basic authentication." & @CRLF & _
"# # basic_username = "user1"" & @CRLF & _
"# # basic_password = "secret"" & @CRLF & _
"#" & @CRLF & _
"# ## Allowed CA certificates for client certificates." & @CRLF & _
"# # tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]" & @CRLF & _
"#" & @CRLF & _
"# ## TLS server certificate and private key." & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"#" & @CRLF & _
"# ## One or more check sub-tables should be defined, it is also recommended to" & @CRLF & _
"# ## use metric filtering to limit the metrics that flow into this output." & @CRLF & _
"# ##" & @CRLF & _
"# ## When using the default buffer sizes, this example will fail when the" & @CRLF & _
"# ## metric buffer is half full." & @CRLF & _
"# ##" & @CRLF & _
"# ## namepass = ["internal_write"]" & @CRLF & _
"# ## tagpass = { output = ["influxdb"] }" & @CRLF & _
"# ##" & @CRLF & _
"# ## [[outputs.health.compares]]" & @CRLF & _
"# ## field = "buffer_size"" & @CRLF & _
"# ## lt = 5000.0" & @CRLF & _
"# ##" & @CRLF & _
"# ## [[outputs.health.contains]]" & @CRLF & _
"# ## field = "buffer_size"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # A plugin that can transmit metrics over HTTP" & @CRLF & _
"# [[outputs.http]]" & @CRLF & _
"# ## URL is the address to send metrics to" & @CRLF & _
"# url = "http://127.0.0.1:8080/metric"" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for HTTP message" & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP method, one of: "POST" or "PUT"" & @CRLF & _
"# # method = "POST"" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP Basic Auth credentials" & @CRLF & _
"# # username = "username"" & @CRLF & _
"# # password = "pa$$word"" & @CRLF & _
"#" & @CRLF & _
"# ## OAuth2 Client Credentials Grant" & @CRLF & _
"# # client_id = "clientid"" & @CRLF & _
"# # client_secret = "secret"" & @CRLF & _
"# # token_url = "https://indentityprovider/oauth2/v1/token"" & @CRLF & _
"# # scopes = ["urn:opc:idm:__myscopes__"]" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to output." & @CRLF & _
"# ## Each data format has it's own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md" & @CRLF & _
"# # data_format = "influx"" & @CRLF & _
"#" & @CRLF & _
"# ## Additional HTTP headers" & @CRLF & _
"# # [outputs.http.headers]" & @CRLF & _
"# # # Should be set manually to "application/json" for json data_format" & @CRLF & _
"# # Content-Type = "text/plain; charset=utf-8"" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP Content-Encoding for write request body, can be set to "gzip" to" & @CRLF & _
"# ## compress body or "identity" to apply no encoding." & @CRLF & _
"# # content_encoding = "identity"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for sending metrics to InfluxDB" & @CRLF & _
"# [[outputs.influxdb_v2]]" & @CRLF & _
"# ## The URLs of the InfluxDB cluster nodes." & @CRLF & _
"# ##" & @CRLF & _
"# ## Multiple URLs can be specified for a single cluster, only ONE of the" & @CRLF & _
"# ## urls will be written to each interval." & @CRLF & _
"# urls = ["http://127.0.0.1:9999"]" & @CRLF & _
"#" & @CRLF & _
"# ## Token for authentication." & @CRLF & _
"# token = """ & @CRLF & _
"#" & @CRLF & _
"# ## Organization is the name of the organization you wish to write to; must exist." & @CRLF & _
"# organization = """ & @CRLF & _
"#" & @CRLF & _
"# ## Destination bucket to write into." & @CRLF & _
"# bucket = """ & @CRLF & _
"#" & @CRLF & _
"# ## The value of this tag will be used to determine the bucket. If this" & @CRLF & _
"# ## tag is not set the 'bucket' option is used as the default." & @CRLF & _
"# # bucket_tag = """ & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for HTTP messages." & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Additional HTTP headers" & @CRLF & _
"# # http_headers = {"X-Special-Header" = "Special-Value"}" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP Proxy override, if unset values the standard proxy environment" & @CRLF & _
"# ## variables are consulted to determine which proxy, if any, should be used." & @CRLF & _
"# # http_proxy = "http://corporate.proxy:3128"" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP User-Agent" & @CRLF & _
"# # user_agent = "telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## Content-Encoding for write request body, can be set to "gzip" to" & @CRLF & _
"# ## compress body or "identity" to apply no encoding." & @CRLF & _
"# # content_encoding = "gzip"" & @CRLF & _
"#" & @CRLF & _
"# ## Enable or disable uint support for writing uints influxdb 2.0." & @CRLF & _
"# # influx_uint_support = false" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config for use on HTTP connections." & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for sending metrics to an Instrumental project" & @CRLF & _
"# [[outputs.instrumental]]" & @CRLF & _
"# ## Project API Token (required)" & @CRLF & _
"# api_token = "API Token" # required" & @CRLF & _
"# ## Prefix the metrics with a given name" & @CRLF & _
"# prefix = """ & @CRLF & _
"# ## Stats output template (Graphite formatting)" & @CRLF & _
"# ## see https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md#graphite" & @CRLF & _
"# template = "host.tags.measurement.field"" & @CRLF & _
"# ## Timeout in seconds to connect" & @CRLF & _
"# timeout = "2s"" & @CRLF & _
"# ## Display Communcation to Instrumental" & @CRLF & _
"# debug = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for the Kafka server to send metrics to" & @CRLF & _
"# [[outputs.kafka]]" & @CRLF & _
"# ## URLs of kafka brokers" & @CRLF & _
"# brokers = ["localhost:9092"]" & @CRLF & _
"# ## Kafka topic for producer messages" & @CRLF & _
"# topic = "telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional Client id" & @CRLF & _
"# # client_id = "Telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## Set the minimal supported Kafka version. Setting this enables the use of new" & @CRLF & _
"# ## Kafka features and APIs. Of particular interest, lz4 compression" & @CRLF & _
"# ## requires at least version 0.10.0.0." & @CRLF & _
"# ## ex: version = "1.1.0"" & @CRLF & _
"# # version = """ & @CRLF & _
"#" & @CRLF & _
"# ## Optional topic suffix configuration." & @CRLF & _
"# ## If the section is omitted, no suffix is used." & @CRLF & _
"# ## Following topic suffix methods are supported:" & @CRLF & _
"# ## measurement - suffix equals to separator + measurement's name" & @CRLF & _
"# ## tags - suffix equals to separator + specified tags' values" & @CRLF & _
"# ## interleaved with separator" & @CRLF & _
"#" & @CRLF & _
"# ## Suffix equals to "_" + measurement name" & @CRLF & _
"# # [outputs.kafka.topic_suffix]" & @CRLF & _
"# # method = "measurement"" & @CRLF & _
"# # separator = "_"" & @CRLF & _
"#" & @CRLF & _
"# ## Suffix equals to "__" + measurement's "foo" tag value." & @CRLF & _
"# ## If there's no such a tag, suffix equals to an empty string" & @CRLF & _
"# # [outputs.kafka.topic_suffix]" & @CRLF & _
"# # method = "tags"" & @CRLF & _
"# # keys = ["foo"]" & @CRLF & _
"# # separator = "__"" & @CRLF & _
"#" & @CRLF & _
"# ## Suffix equals to "_" + measurement's "foo" and "bar"" & @CRLF & _
"# ## tag values, separated by "_". If there is no such tags," & @CRLF & _
"# ## their values treated as empty strings." & @CRLF & _
"# # [outputs.kafka.topic_suffix]" & @CRLF & _
"# # method = "tags"" & @CRLF & _
"# # keys = ["foo", "bar"]" & @CRLF & _
"# # separator = "_"" & @CRLF & _
"#" & @CRLF & _
"# ## Telegraf tag to use as a routing key" & @CRLF & _
"# ## ie, if this tag exists, its value will be used as the routing key" & @CRLF & _
"# routing_tag = "host"" & @CRLF & _
"#" & @CRLF & _
"# ## Static routing key. Used when no routing_tag is set or as a fallback" & @CRLF & _
"# ## when the tag specified in routing tag is not found. If set to "random"," & @CRLF & _
"# ## a random value will be generated for each message." & @CRLF & _
"# ## ex: routing_key = "random"" & @CRLF & _
"# ## routing_key = "telegraf"" & @CRLF & _
"# # routing_key = """ & @CRLF & _
"#" & @CRLF & _
"# ## CompressionCodec represents the various compression codecs recognized by" & @CRLF & _
"# ## Kafka in messages." & @CRLF & _
"# ## 0 : No compression" & @CRLF & _
"# ## 1 : Gzip compression" & @CRLF & _
"# ## 2 : Snappy compression" & @CRLF & _
"# ## 3 : LZ4 compression" & @CRLF & _
"# # compression_codec = 0" & @CRLF & _
"#" & @CRLF & _
"# ## RequiredAcks is used in Produce Requests to tell the broker how many" & @CRLF & _
"# ## replica acknowledgements it must see before responding" & @CRLF & _
"# ## 0 : the producer never waits for an acknowledgement from the broker." & @CRLF & _
"# ## This option provides the lowest latency but the weakest durability" & @CRLF & _
"# ## guarantees (some data will be lost when a server fails)." & @CRLF & _
"# ## 1 : the producer gets an acknowledgement after the leader replica has" & @CRLF & _
"# ## received the data. This option provides better durability as the" & @CRLF & _
"# ## client waits until the server acknowledges the request as successful" & @CRLF & _
"# ## (only messages that were written to the now-dead leader but not yet" & @CRLF & _
"# ## replicated will be lost)." & @CRLF & _
"# ## -1: the producer gets an acknowledgement after all in-sync replicas have" & @CRLF & _
"# ## received the data. This option provides the best durability, we" & @CRLF & _
"# ## guarantee that no messages will be lost as long as at least one in" & @CRLF & _
"# ## sync replica remains." & @CRLF & _
"# # required_acks = -1" & @CRLF & _
"#" & @CRLF & _
"# ## The maximum number of times to retry sending a metric before failing" & @CRLF & _
"# ## until the next flush." & @CRLF & _
"# # max_retry = 3" & @CRLF & _
"#" & @CRLF & _
"# ## The maximum permitted size of a message. Should be set equal to or" & @CRLF & _
"# ## smaller than the broker's 'message.max.bytes'." & @CRLF & _
"# # max_message_bytes = 1000000" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Optional SASL Config" & @CRLF & _
"# # sasl_username = "kafka"" & @CRLF & _
"# # sasl_password = "secret"" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to output." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md" & @CRLF & _
"# # data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for the AWS Kinesis output." & @CRLF & _
"# [[outputs.kinesis]]" & @CRLF & _
"# ## Amazon REGION of kinesis endpoint." & @CRLF & _
"# region = "ap-southeast-2"" & @CRLF & _
"#" & @CRLF & _
"# ## Amazon Credentials" & @CRLF & _
"# ## Credentials are loaded in the following order" & @CRLF & _
"# ## 1) Assumed credentials via STS if role_arn is specified" & @CRLF & _
"# ## 2) explicit credentials from 'access_key' and 'secret_key'" & @CRLF & _
"# ## 3) shared profile from 'profile'" & @CRLF & _
"# ## 4) environment variables" & @CRLF & _
"# ## 5) shared credentials file" & @CRLF & _
"# ## 6) EC2 Instance Profile" & @CRLF & _
"# #access_key = """ & @CRLF & _
"# #secret_key = """ & @CRLF & _
"# #token = """ & @CRLF & _
"# #role_arn = """ & @CRLF & _
"# #profile = """ & @CRLF & _
"# #shared_credential_file = """ & @CRLF & _
"#" & @CRLF & _
"# ## Endpoint to make request against, the correct endpoint is automatically" & @CRLF & _
"# ## determined and this option should only be set if you wish to override the" & @CRLF & _
"# ## default." & @CRLF & _
"# ## ex: endpoint_url = "http://localhost:8000"" & @CRLF & _
"# # endpoint_url = """ & @CRLF & _
"#" & @CRLF & _
"# ## Kinesis StreamName must exist prior to starting telegraf." & @CRLF & _
"# streamname = "StreamName"" & @CRLF & _
"# ## DEPRECATED: PartitionKey as used for sharding data." & @CRLF & _
"# partitionkey = "PartitionKey"" & @CRLF & _
"# ## DEPRECATED: If set the paritionKey will be a random UUID on every put." & @CRLF & _
"# ## This allows for scaling across multiple shards in a stream." & @CRLF & _
"# ## This will cause issues with ordering." & @CRLF & _
"# use_random_partitionkey = false" & @CRLF & _
"# ## The partition key can be calculated using one of several methods:" & @CRLF & _
"# ##" & @CRLF & _
"# ## Use a static value for all writes:" & @CRLF & _
"# # [outputs.kinesis.partition]" & @CRLF & _
"# # method = "static"" & @CRLF & _
"# # key = "howdy"" & @CRLF & _
"# #" & @CRLF & _
"# ## Use a random partition key on each write:" & @CRLF & _
"# # [outputs.kinesis.partition]" & @CRLF & _
"# # method = "random"" & @CRLF & _
"# #" & @CRLF & _
"# ## Use the measurement name as the partition key:" & @CRLF & _
"# # [outputs.kinesis.partition]" & @CRLF & _
"# # method = "measurement"" & @CRLF & _
"# #" & @CRLF & _
"# ## Use the value of a tag for all writes, if the tag is not set the empty" & @CRLF & _
"# ## default option will be used. When no default, defaults to "telegraf"" & @CRLF & _
"# # [outputs.kinesis.partition]" & @CRLF & _
"# # method = "tag"" & @CRLF & _
"# # key = "host"" & @CRLF & _
"# # default = "mykey"" & @CRLF & _
"#" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to output." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"#" & @CRLF & _
"# ## debug will show upstream aws messages." & @CRLF & _
"# debug = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for Librato API to send metrics to." & @CRLF & _
"# [[outputs.librato]]" & @CRLF & _
"# ## Librator API Docs" & @CRLF & _
"# ## http://dev.librato.com/v1/metrics-authentication" & @CRLF & _
"# ## Librato API user" & @CRLF & _
"# api_user = "telegraf@influxdb.com" # required." & @CRLF & _
"# ## Librato API token" & @CRLF & _
"# api_token = "my-secret-token" # required." & @CRLF & _
"# ## Debug" & @CRLF & _
"# # debug = false" & @CRLF & _
"# ## Connection timeout." & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"# ## Output source Template (same as graphite buckets)" & @CRLF & _
"# ## see https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md#graphite" & @CRLF & _
"# ## This template is used in librato's source (not metric's name)" & @CRLF & _
"# template = "host"" & @CRLF & _
"#" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for MQTT server to send metrics to" & @CRLF & _
"# [[outputs.mqtt]]" & @CRLF & _
"# servers = ["localhost:1883"] # required." & @CRLF & _
"#" & @CRLF & _
"# ## MQTT outputs send metrics to this topic format" & @CRLF & _
"# ## "<topic_prefix>/<hostname>/<pluginname>/"" & @CRLF & _
"# ## ex: prefix/web01.example.com/mem" & @CRLF & _
"# topic_prefix = "telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## QoS policy for messages" & @CRLF & _
"# ## 0 = at most once" & @CRLF & _
"# ## 1 = at least once" & @CRLF & _
"# ## 2 = exactly once" & @CRLF & _
"# # qos = 2" & @CRLF & _
"#" & @CRLF & _
"# ## username and password to connect MQTT server." & @CRLF & _
"# # username = "telegraf"" & @CRLF & _
"# # password = "metricsmetricsmetricsmetrics"" & @CRLF & _
"#" & @CRLF & _
"# ## client ID, if not set a random ID is generated" & @CRLF & _
"# # client_id = """ & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for write operations. default: 5s" & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## When true, metrics will be sent in one MQTT message per flush. Otherwise," & @CRLF & _
"# ## metrics are written one metric per MQTT message." & @CRLF & _
"# # batch = false" & @CRLF & _
"#" & @CRLF & _
"# ## When true, metric will have RETAIN flag set, making broker cache entries until someone" & @CRLF & _
"# ## actually reads it" & @CRLF & _
"# # retain = false" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to output." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Send telegraf measurements to NATS" & @CRLF & _
"# [[outputs.nats]]" & @CRLF & _
"# ## URLs of NATS servers" & @CRLF & _
"# servers = ["nats://localhost:4222"]" & @CRLF & _
"# ## Optional credentials" & @CRLF & _
"# # username = """ & @CRLF & _
"# # password = """ & @CRLF & _
"# ## NATS subject for producer messages" & @CRLF & _
"# subject = "telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to output." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Send telegraf measurements to NSQD" & @CRLF & _
"# [[outputs.nsq]]" & @CRLF & _
"# ## Location of nsqd instance listening on TCP" & @CRLF & _
"# server = "localhost:4150"" & @CRLF & _
"# ## NSQ topic for producer messages" & @CRLF & _
"# topic = "telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to output." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for OpenTSDB server to send metrics to" & @CRLF & _
"# [[outputs.opentsdb]]" & @CRLF & _
"# ## prefix for metrics keys" & @CRLF & _
"# prefix = "my.specific.prefix."" & @CRLF & _
"#" & @CRLF & _
"# ## DNS name of the OpenTSDB server" & @CRLF & _
"# ## Using "opentsdb.example.com" or "tcp://opentsdb.example.com" will use the" & @CRLF & _
"# ## telnet API. "http://opentsdb.example.com" will use the Http API." & @CRLF & _
"# host = "opentsdb.example.com"" & @CRLF & _
"#" & @CRLF & _
"# ## Port of the OpenTSDB server" & @CRLF & _
"# port = 4242" & @CRLF & _
"#" & @CRLF & _
"# ## Number of data points to send to OpenTSDB in Http requests." & @CRLF & _
"# ## Not used with telnet API." & @CRLF & _
"# http_batch_size = 50" & @CRLF & _
"#" & @CRLF & _
"# ## URI Path for Http requests to OpenTSDB." & @CRLF & _
"# ## Used in cases where OpenTSDB is located behind a reverse proxy." & @CRLF & _
"# http_path = "/api/put"" & @CRLF & _
"#" & @CRLF & _
"# ## Debug true - Prints OpenTSDB communication" & @CRLF & _
"# debug = false" & @CRLF & _
"#" & @CRLF & _
"# ## Separator separates measurement name from field" & @CRLF & _
"# separator = "_"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for the Prometheus client to spawn" & @CRLF & _
"# [[outputs.prometheus_client]]" & @CRLF & _
"# ## Address to listen on" & @CRLF & _
"# listen = ":9273"" & @CRLF & _
"#" & @CRLF & _
"# ## Use HTTP Basic Authentication." & @CRLF & _
"# # basic_username = "Foo"" & @CRLF & _
"# # basic_password = "Bar"" & @CRLF & _
"#" & @CRLF & _
"# ## If set, the IP Ranges which are allowed to access metrics." & @CRLF & _
"# ## ex: ip_range = ["192.168.0.0/24", "192.168.1.0/30"]" & @CRLF & _
"# # ip_range = []" & @CRLF & _
"#" & @CRLF & _
"# ## Path to publish the metrics on." & @CRLF & _
"# # path = "/metrics"" & @CRLF & _
"#" & @CRLF & _
"# ## Expiration interval for each metric. 0 == no expiration" & @CRLF & _
"# # expiration_interval = "60s"" & @CRLF & _
"#" & @CRLF & _
"# ## Collectors to enable, valid entries are "gocollector" and "process"." & @CRLF & _
"# ## If unset, both are enabled." & @CRLF & _
"# # collectors_exclude = ["gocollector", "process"]" & @CRLF & _
"#" & @CRLF & _
"# ## Send string metrics as Prometheus labels." & @CRLF & _
"# ## Unless set to false all string metrics will be sent as labels." & @CRLF & _
"# # string_as_label = true" & @CRLF & _
"#" & @CRLF & _
"# ## If set, enable TLS with the given certificate." & @CRLF & _
"# # tls_cert = "/etc/ssl/telegraf.crt"" & @CRLF & _
"# # tls_key = "/etc/ssl/telegraf.key"" & @CRLF & _
"#" & @CRLF & _
"# ## Set one or more allowed client CA certificate file names to" & @CRLF & _
"# ## enable mutually authenticated TLS connections" & @CRLF & _
"# # tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]" & @CRLF & _
"#" & @CRLF & _
"# ## Export metric collection time." & @CRLF & _
"# # export_timestamp = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for the Riemann server to send metrics to" & @CRLF & _
"# [[outputs.riemann]]" & @CRLF & _
"# ## The full TCP or UDP URL of the Riemann server" & @CRLF & _
"# url = "tcp://localhost:5555"" & @CRLF & _
"#" & @CRLF & _
"# ## Riemann event TTL, floating-point time in seconds." & @CRLF & _
"# ## Defines how long that an event is considered valid for in Riemann" & @CRLF & _
"# # ttl = 30.0" & @CRLF & _
"#" & @CRLF & _
"# ## Separator to use between measurement and field name in Riemann service name" & @CRLF & _
"# ## This does not have any effect if 'measurement_as_attribute' is set to 'true'" & @CRLF & _
"# separator = "/"" & @CRLF & _
"#" & @CRLF & _
"# ## Set measurement name as Riemann attribute 'measurement', instead of prepending it to the Riemann service name" & @CRLF & _
"# # measurement_as_attribute = false" & @CRLF & _
"#" & @CRLF & _
"# ## Send string metrics as Riemann event states." & @CRLF & _
"# ## Unless enabled all string metrics will be ignored" & @CRLF & _
"# # string_as_state = false" & @CRLF & _
"#" & @CRLF & _
"# ## A list of tag keys whose values get sent as Riemann tags." & @CRLF & _
"# ## If empty, all Telegraf tag values will be sent as tags" & @CRLF & _
"# # tag_keys = ["telegraf","custom_tag"]" & @CRLF & _
"#" & @CRLF & _
"# ## Additional Riemann tags to send." & @CRLF & _
"# # tags = ["telegraf-output"]" & @CRLF & _
"#" & @CRLF & _
"# ## Description for Riemann event" & @CRLF & _
"# # description_text = "metrics collected from telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## Riemann client write timeout, defaults to "5s" if not set." & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for the Riemann server to send metrics to" & @CRLF & _
"# [[outputs.riemann_legacy]]" & @CRLF & _
"# ## URL of server" & @CRLF & _
"# url = "localhost:5555"" & @CRLF & _
"# ## transport protocol to use either tcp or udp" & @CRLF & _
"# transport = "tcp"" & @CRLF & _
"# ## separator to use between input name and field name in Riemann service name" & @CRLF & _
"# separator = " "" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Generic socket writer capable of handling multiple socket types." & @CRLF & _
"# [[outputs.socket_writer]]" & @CRLF & _
"# ## URL to connect to" & @CRLF & _
"# # address = "tcp://127.0.0.1:8094"" & @CRLF & _
"# # address = "tcp://example.com:http"" & @CRLF & _
"# # address = "tcp4://127.0.0.1:8094"" & @CRLF & _
"# # address = "tcp6://127.0.0.1:8094"" & @CRLF & _
"# # address = "tcp6://[2001:db8::1]:8094"" & @CRLF & _
"# # address = "udp://127.0.0.1:8094"" & @CRLF & _
"# # address = "udp4://127.0.0.1:8094"" & @CRLF & _
"# # address = "udp6://127.0.0.1:8094"" & @CRLF & _
"# # address = "unix:///tmp/telegraf.sock"" & @CRLF & _
"# # address = "unixgram:///tmp/telegraf.sock"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Period between keep alive probes." & @CRLF & _
"# ## Only applies to TCP sockets." & @CRLF & _
"# ## 0 disables keep alive probes." & @CRLF & _
"# ## Defaults to the OS configuration." & @CRLF & _
"# # keep_alive_period = "5m"" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to generate." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# # data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for Google Cloud Stackdriver to send metrics to" & @CRLF & _
"# [[outputs.stackdriver]]" & @CRLF & _
"# ## GCP Project" & @CRLF & _
"# project = "erudite-bloom-151019"" & @CRLF & _
"#" & @CRLF & _
"# ## The namespace for the metric descriptor" & @CRLF & _
"# namespace = "telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## Custom resource type" & @CRLF & _
"# # resource_type = "generic_node"" & @CRLF & _
"#" & @CRLF & _
"# ## Additonal resource labels" & @CRLF & _
"# # [outputs.stackdriver.resource_labels]" & @CRLF & _
"# # node_id = "$HOSTNAME"" & @CRLF & _
"# # namespace = "myapp"" & @CRLF & _
"# # location = "eu-north0"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for Syslog server to send metrics to" & @CRLF & _
"# [[outputs.syslog]]" & @CRLF & _
"# ## URL to connect to" & @CRLF & _
"# ## ex: address = "tcp://127.0.0.1:8094"" & @CRLF & _
"# ## ex: address = "tcp4://127.0.0.1:8094"" & @CRLF & _
"# ## ex: address = "tcp6://127.0.0.1:8094"" & @CRLF & _
"# ## ex: address = "tcp6://[2001:db8::1]:8094"" & @CRLF & _
"# ## ex: address = "udp://127.0.0.1:8094"" & @CRLF & _
"# ## ex: address = "udp4://127.0.0.1:8094"" & @CRLF & _
"# ## ex: address = "udp6://127.0.0.1:8094"" & @CRLF & _
"# address = "tcp://127.0.0.1:8094"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Period between keep alive probes." & @CRLF & _
"# ## Only applies to TCP sockets." & @CRLF & _
"# ## 0 disables keep alive probes." & @CRLF & _
"# ## Defaults to the OS configuration." & @CRLF & _
"# # keep_alive_period = "5m"" & @CRLF & _
"#" & @CRLF & _
"# ## The framing technique with which it is expected that messages are" & @CRLF & _
"# ## transported (default = "octet-counting"). Whether the messages come" & @CRLF & _
"# ## using the octect-counting (RFC5425#section-4.3.1, RFC6587#section-3.4.1)," & @CRLF & _
"# ## or the non-transparent framing technique (RFC6587#section-3.4.2). Must" & @CRLF & _
"# ## be one of "octet-counting", "non-transparent"." & @CRLF & _
"# # framing = "octet-counting"" & @CRLF & _
"#" & @CRLF & _
"# ## The trailer to be expected in case of non-trasparent framing (default = "LF")." & @CRLF & _
"# ## Must be one of "LF", or "NUL"." & @CRLF & _
"# # trailer = "LF"" & @CRLF & _
"#" & @CRLF & _
"# ## SD-PARAMs settings" & @CRLF & _
"# ## Syslog messages can contain key/value pairs within zero or more" & @CRLF & _
"# ## structured data sections. For each unrecognised metric tag/field a" & @CRLF & _
"# ## SD-PARAMS is created." & @CRLF & _
"# ##" & @CRLF & _
"# ## Example:" & @CRLF & _
"# ## [[outputs.syslog]]" & @CRLF & _
"# ## sdparam_separator = "_"" & @CRLF & _
"# ## default_sdid = "default@32473"" & @CRLF & _
"# ## sdids = ["foo@123", "bar@456"]" & @CRLF & _
"# ##" & @CRLF & _
"# ## input => xyzzy,x=y foo@123_value=42,bar@456_value2=84,something_else=1" & @CRLF & _
"# ## output (structured data only) => [foo@123 value=42][bar@456 value2=84][default@32473 something_else=1 x=y]" & @CRLF & _
"#" & @CRLF & _
"# ## SD-PARAMs separator between the sdid and tag/field key (default = "_")" & @CRLF & _
"# # sdparam_separator = "_"" & @CRLF & _
"#" & @CRLF & _
"# ## Default sdid used for tags/fields that don't contain a prefix defined in" & @CRLF & _
"# ## the explict sdids setting below If no default is specified, no SD-PARAMs" & @CRLF & _
"# ## will be used for unrecognised field." & @CRLF & _
"# # default_sdid = "default@32473"" & @CRLF & _
"#" & @CRLF & _
"# ## List of explicit prefixes to extract from tag/field keys and use as the" & @CRLF & _
"# ## SDID, if they match (see above example for more details):" & @CRLF & _
"# # sdids = ["foo@123", "bar@456"]" & @CRLF & _
"#" & @CRLF & _
"# ## Default severity value. Severity and Facility are used to calculate the" & @CRLF & _
"# ## message PRI value (RFC5424#section-6.2.1). Used when no metric field" & @CRLF & _
"# ## with key "severity_code" is defined. If unset, 5 (notice) is the default" & @CRLF & _
"# # default_severity_code = 5" & @CRLF & _
"#" & @CRLF & _
"# ## Default facility value. Facility and Severity are used to calculate the" & @CRLF & _
"# ## message PRI value (RFC5424#section-6.2.1). Used when no metric field with" & @CRLF & _
"# ## key "facility_code" is defined. If unset, 1 (user-level) is the default" & @CRLF & _
"# # default_facility_code = 1" & @CRLF & _
"#" & @CRLF & _
"# ## Default APP-NAME value (RFC5424#section-6.2.5)" & @CRLF & _
"# ## Used when no metric tag with key "appname" is defined." & @CRLF & _
"# ## If unset, "Telegraf" is the default" & @CRLF & _
"# # default_appname = "Telegraf"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for Wavefront server to send metrics to" & @CRLF & _
"# [[outputs.wavefront]]" & @CRLF & _
"# ## Url for Wavefront Direct Ingestion or using HTTP with Wavefront Proxy" & @CRLF & _
"# ## If using Wavefront Proxy, also specify port. example: http://proxyserver:2878" & @CRLF & _
"# url = "https://metrics.wavefront.com"" & @CRLF & _
"#" & @CRLF & _
"# ## Authentication Token for Wavefront. Only required if using Direct Ingestion" & @CRLF & _
"# #token = "DUMMY_TOKEN"" & @CRLF & _
"#" & @CRLF & _
"# ## DNS name of the wavefront proxy server. Do not use if url is specified" & @CRLF & _
"# #host = "wavefront.example.com"" & @CRLF & _
"#" & @CRLF & _
"# ## Port that the Wavefront proxy server listens on. Do not use if url is specified" & @CRLF & _
"# #port = 2878" & @CRLF & _
"#" & @CRLF & _
"# ## prefix for metrics keys" & @CRLF & _
"# #prefix = "my.specific.prefix."" & @CRLF & _
"#" & @CRLF & _
"# ## whether to use "value" for name of simple fields. default is false" & @CRLF & _
"# #simple_fields = false" & @CRLF & _
"#" & @CRLF & _
"# ## character to use between metric and field name. default is . (dot)" & @CRLF & _
"# #metric_separator = "."" & @CRLF & _
"#" & @CRLF & _
"# ## Convert metric name paths to use metricSeparator character" & @CRLF & _
"# ## When true will convert all _ (underscore) characters in final metric name. default is true" & @CRLF & _
"# #convert_paths = true" & @CRLF & _
"#" & @CRLF & _
"# ## Use Strict rules to sanitize metric and tag names from invalid characters" & @CRLF & _
"# ## When enabled forward slash (/) and comma (,) will be accpeted" & @CRLF & _
"# #use_strict = false" & @CRLF & _
"#" & @CRLF & _
"# ## Use Regex to sanitize metric and tag names from invalid characters" & @CRLF & _
"# ## Regex is more thorough, but significantly slower. default is false" & @CRLF & _
"# #use_regex = false" & @CRLF & _
"#" & @CRLF & _
"# ## point tags to use as the source name for Wavefront (if none found, host will be used)" & @CRLF & _
"# #source_override = ["hostname", "address", "agent_host", "node_host"]" & @CRLF & _
"#" & @CRLF & _
"# ## whether to convert boolean values to numeric values, with false -> 0.0 and true -> 1.0. default is true" & @CRLF & _
"# #convert_bool = true" & @CRLF & _
"#" & @CRLF & _
"# ## Define a mapping, namespaced by metric prefix, from string values to numeric values" & @CRLF & _
"# ## deprecated in 1.9; use the enum processor plugin" & @CRLF & _
"# #[[outputs.wavefront.string_to_number.elasticsearch]]" & @CRLF & _
"# # green = 1.0" & @CRLF & _
"# # yellow = 0.5" & @CRLF & _
"# # red = 0.0" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"###############################################################################" & @CRLF & _
"# PROCESSOR PLUGINS #" & @CRLF & _
"###############################################################################" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Convert values to another metric value type" & @CRLF & _
"# [[processors.converter]]" & @CRLF & _
"# ## Tags to convert" & @CRLF & _
"# ##" & @CRLF & _
"# ## The table key determines the target type, and the array of key-values" & @CRLF & _
"# ## select the keys to convert. The array may contain globs." & @CRLF & _
"# ## <target-type> = [<tag-key>...]" & @CRLF & _
"# [processors.converter.tags]" & @CRLF & _
"# string = []" & @CRLF & _
"# integer = []" & @CRLF & _
"# unsigned = []" & @CRLF & _
"# boolean = []" & @CRLF & _
"# float = []" & @CRLF & _
"#" & @CRLF & _
"# ## Fields to convert" & @CRLF & _
"# ##" & @CRLF & _
"# ## The table key determines the target type, and the array of key-values" & @CRLF & _
"# ## select the keys to convert. The array may contain globs." & @CRLF & _
"# ## <target-type> = [<field-key>...]" & @CRLF & _
"# [processors.converter.fields]" & @CRLF & _
"# tag = []" & @CRLF & _
"# string = []" & @CRLF & _
"# integer = []" & @CRLF & _
"# unsigned = []" & @CRLF & _
"# boolean = []" & @CRLF & _
"# float = []" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Map enum values according to given table." & @CRLF & _
"# [[processors.enum]]" & @CRLF & _
"# [[processors.enum.mapping]]" & @CRLF & _
"# ## Name of the field to map" & @CRLF & _
"# field = "status"" & @CRLF & _
"#" & @CRLF & _
"# ## Name of the tag to map" & @CRLF & _
"# # tag = "status"" & @CRLF & _
"#" & @CRLF & _
"# ## Destination tag or field to be used for the mapped value. By default the" & @CRLF & _
"# ## source tag or field is used, overwriting the original value." & @CRLF & _
"# dest = "status_code"" & @CRLF & _
"#" & @CRLF & _
"# ## Default value to be used for all values not contained in the mapping" & @CRLF & _
"# ## table. When unset, the unmodified value for the field will be used if no" & @CRLF & _
"# ## match is found." & @CRLF & _
"# # default = 0" & @CRLF & _
"#" & @CRLF & _
"# ## Table of mappings" & @CRLF & _
"# [processors.enum.mapping.value_mappings]" & @CRLF & _
"# green = 1" & @CRLF & _
"# amber = 2" & @CRLF & _
"# red = 3" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Apply metric modifications using override semantics." & @CRLF & _
"# [[processors.override]]" & @CRLF & _
"# ## All modifications on inputs and aggregators can be overridden:" & @CRLF & _
"# # name_override = "new_name"" & @CRLF & _
"# # name_prefix = "new_name_prefix"" & @CRLF & _
"# # name_suffix = "new_name_suffix"" & @CRLF & _
"#" & @CRLF & _
"# ## Tags to be added (all values must be strings)" & @CRLF & _
"# # [processors.override.tags]" & @CRLF & _
"# # additional_tag = "tag_value"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Parse a value in a specified field/tag(s) and add the result in a new metric" & @CRLF & _
"# [[processors.parser]]" & @CRLF & _
"# ## The name of the fields whose value will be parsed." & @CRLF & _
"# parse_fields = []" & @CRLF & _
"#" & @CRLF & _
"# ## If true, incoming metrics are not emitted." & @CRLF & _
"# drop_original = false" & @CRLF & _
"#" & @CRLF & _
"# ## If set to override, emitted metrics will be merged by overriding the" & @CRLF & _
"# ## original metric using the newly parsed metrics." & @CRLF & _
"# merge = "override"" & @CRLF & _
"#" & @CRLF & _
"# ## The dataformat to be read from files" & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Print all metrics that pass through this filter." & @CRLF & _
"# [[processors.printer]]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Transforms tag and field values with regex pattern" & @CRLF & _
"# [[processors.regex]]" & @CRLF & _
"# ## Tag and field conversions defined in a separate sub-tables" & @CRLF & _
"# # [[processors.regex.tags]]" & @CRLF & _
"# # ## Tag to change" & @CRLF & _
"# # key = "resp_code"" & @CRLF & _
"# # ## Regular expression to match on a tag value" & @CRLF & _
"# # pattern = "^(\\d)\\d\\d$"" & @CRLF & _
"# # ## Pattern for constructing a new value (${1} represents first subgroup)" & @CRLF & _
"# # replacement = "${1}xx"" & @CRLF & _
"#" & @CRLF & _
"# # [[processors.regex.fields]]" & @CRLF & _
"# # key = "request"" & @CRLF & _
"# # ## All the power of the Go regular expressions available here" & @CRLF & _
"# # ## For example, named subgroups" & @CRLF & _
"# # pattern = "^/api(?P<method>/[\\w/]+)\\S*"" & @CRLF & _
"# # replacement = "${method}"" & @CRLF & _
"# # ## If result_key is present, a new field will be created" & @CRLF & _
"# # ## instead of changing existing field" & @CRLF & _
"# # result_key = "method"" & @CRLF & _
"#" & @CRLF & _
"# ## Multiple conversions may be applied for one field sequentially" & @CRLF & _
"# ## Let's extract one more value" & @CRLF & _
"# # [[processors.regex.fields]]" & @CRLF & _
"# # key = "request"" & @CRLF & _
"# # pattern = ".*category=(\\w+).*"" & @CRLF & _
"# # replacement = "${1}"" & @CRLF & _
"# # result_key = "search_category"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Rename measurements, tags, and fields that pass through this filter." & @CRLF & _
"# [[processors.rename]]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Perform string processing on tags, fields, and measurements" & @CRLF & _
"# [[processors.strings]]" & @CRLF & _
"# ## Convert a tag value to uppercase" & @CRLF & _
"# # [[processors.strings.uppercase]]" & @CRLF & _
"# # tag = "method"" & @CRLF & _
"#" & @CRLF & _
"# ## Convert a field value to lowercase and store in a new field" & @CRLF & _
"# # [[processors.strings.lowercase]]" & @CRLF & _
"# # field = "uri_stem"" & @CRLF & _
"# # dest = "uri_stem_normalised"" & @CRLF & _
"#" & @CRLF & _
"# ## Trim leading and trailing whitespace using the default cutset" & @CRLF & _
"# # [[processors.strings.trim]]" & @CRLF & _
"# # field = "message"" & @CRLF & _
"#" & @CRLF & _
"# ## Trim leading characters in cutset" & @CRLF & _
"# # [[processors.strings.trim_left]]" & @CRLF & _
"# # field = "message"" & @CRLF & _
"# # cutset = "\t"" & @CRLF & _
"#" & @CRLF & _
"# ## Trim trailing characters in cutset" & @CRLF & _
"# # [[processors.strings.trim_right]]" & @CRLF & _
"# # field = "message"" & @CRLF & _
"# # cutset = "\r\n"" & @CRLF & _
"#" & @CRLF & _
"# ## Trim the given prefix from the field" & @CRLF & _
"# # [[processors.strings.trim_prefix]]" & @CRLF & _
"# # field = "my_value"" & @CRLF & _
"# # prefix = "my_"" & @CRLF & _
"#" & @CRLF & _
"# ## Trim the given suffix from the field" & @CRLF & _
"# # [[processors.strings.trim_suffix]]" & @CRLF & _
"# # field = "read_count"" & @CRLF & _
"# # suffix = "_count"" & @CRLF & _
"#" & @CRLF & _
"# ## Replace all non-overlapping instances of old with new" & @CRLF & _
"# # [[processors.strings.replace]]" & @CRLF & _
"# # measurement = "*"" & @CRLF & _
"# # old = ":"" & @CRLF & _
"# # new = "_"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Print all metrics that pass through this filter." & @CRLF & _
"# [[processors.topk]]" & @CRLF & _
"# ## How many seconds between aggregations" & @CRLF & _
"# # period = 10" & @CRLF & _
"#" & @CRLF & _
"# ## How many top metrics to return" & @CRLF & _
"# # k = 10" & @CRLF & _
"#" & @CRLF & _
"# ## Over which tags should the aggregation be done. Globs can be specified, in" & @CRLF & _
"# ## which case any tag matching the glob will aggregated over. If set to an" & @CRLF & _
"# ## empty list is no aggregation over tags is done" & @CRLF & _
"# # group_by = ['*']" & @CRLF & _
"#" & @CRLF & _
"# ## Over which fields are the top k are calculated" & @CRLF & _
"# # fields = ["value"]" & @CRLF & _
"#" & @CRLF & _
"# ## What aggregation to use. Options: sum, mean, min, max" & @CRLF & _
"# # aggregation = "mean"" & @CRLF & _
"#" & @CRLF & _
"# ## Instead of the top k largest metrics, return the bottom k lowest metrics" & @CRLF & _
"# # bottomk = false" & @CRLF & _
"#" & @CRLF & _
"# ## The plugin assigns each metric a GroupBy tag generated from its name and" & @CRLF & _
"# ## tags. If this setting is different than "" the plugin will add a" & @CRLF & _
"# ## tag (which name will be the value of this setting) to each metric with" & @CRLF & _
"# ## the value of the calculated GroupBy tag. Useful for debugging" & @CRLF & _
"# # add_groupby_tag = """ & @CRLF & _
"#" & @CRLF & _
"# ## These settings provide a way to know the position of each metric in" & @CRLF & _
"# ## the top k. The 'add_rank_field' setting allows to specify for which" & @CRLF & _
"# ## fields the position is required. If the list is non empty, then a field" & @CRLF & _
"# ## will be added to each and every metric for each string present in this" & @CRLF & _
"# ## setting. This field will contain the ranking of the group that" & @CRLF & _
"# ## the metric belonged to when aggregated over that field." & @CRLF & _
"# ## The name of the field will be set to the name of the aggregation field," & @CRLF & _
"# ## suffixed with the string '_topk_rank'" & @CRLF & _
"# # add_rank_fields = []" & @CRLF & _
"#" & @CRLF & _
"# ## These settings provide a way to know what values the plugin is generating" & @CRLF & _
"# ## when aggregating metrics. The 'add_agregate_field' setting allows to" & @CRLF & _
"# ## specify for which fields the final aggregation value is required. If the" & @CRLF & _
"# ## list is non empty, then a field will be added to each every metric for" & @CRLF & _
"# ## each field present in this setting. This field will contain" & @CRLF & _
"# ## the computed aggregation for the group that the metric belonged to when" & @CRLF & _
"# ## aggregated over that field." & @CRLF & _
"# ## The name of the field will be set to the name of the aggregation field," & @CRLF & _
"# ## suffixed with the string '_topk_aggregate'" & @CRLF & _
"# # add_aggregate_fields = []" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"###############################################################################" & @CRLF & _
"# AGGREGATOR PLUGINS #" & @CRLF & _
"###############################################################################" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Keep the aggregate basicstats of each metric passing through." & @CRLF & _
"# [[aggregators.basicstats]]" & @CRLF & _
"# ## The period on which to flush & clear the aggregator." & @CRLF & _
"# period = "30s"" & @CRLF & _
"# ## If true, the original metric will be dropped by the" & @CRLF & _
"# ## aggregator and will not get sent to the output plugins." & @CRLF & _
"# drop_original = false" & @CRLF & _
"#" & @CRLF & _
"# ## Configures which basic stats to push as fields" & @CRLF & _
"# # stats = ["count", "min", "max", "mean", "stdev", "s2", "sum"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Report the final metric of a series" & @CRLF & _
"# [[aggregators.final]]" & @CRLF & _
"# ## The period on which to flush & clear the aggregator." & @CRLF & _
"# period = "30s"" & @CRLF & _
"# ## If true, the original metric will be dropped by the" & @CRLF & _
"# ## aggregator and will not get sent to the output plugins." & @CRLF & _
"# drop_original = false" & @CRLF & _
"#" & @CRLF & _
"# ## The time that a series is not updated until considering it final." & @CRLF & _
"# series_timeout = "5m"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Create aggregate histograms." & @CRLF & _
"# [[aggregators.histogram]]" & @CRLF & _
"# ## The period in which to flush the aggregator." & @CRLF & _
"# period = "30s"" & @CRLF & _
"#" & @CRLF & _
"# ## If true, the original metric will be dropped by the" & @CRLF & _
"# ## aggregator and will not get sent to the output plugins." & @CRLF & _
"# drop_original = false" & @CRLF & _
"#" & @CRLF & _
"# ## If true, the histogram will be reset on flush instead" & @CRLF & _
"# ## of accumulating the results." & @CRLF & _
"# reset = false" & @CRLF & _
"#" & @CRLF & _
"# ## Example config that aggregates all fields of the metric." & @CRLF & _
"# # [[aggregators.histogram.config]]" & @CRLF & _
"# # ## The set of buckets." & @CRLF & _
"# # buckets = [0.0, 15.6, 34.5, 49.1, 71.5, 80.5, 94.5, 100.0]" & @CRLF & _
"# # ## The name of metric." & @CRLF & _
"# # measurement_name = "cpu"" & @CRLF & _
"#" & @CRLF & _
"# ## Example config that aggregates only specific fields of the metric." & @CRLF & _
"# # [[aggregators.histogram.config]]" & @CRLF & _
"# # ## The set of buckets." & @CRLF & _
"# # buckets = [0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0]" & @CRLF & _
"# # ## The name of metric." & @CRLF & _
"# # measurement_name = "diskio"" & @CRLF & _
"# # ## The concrete fields of metric" & @CRLF & _
"# # fields = ["io_time", "read_time", "write_time"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Keep the aggregate min/max of each metric passing through." & @CRLF & _
"# [[aggregators.minmax]]" & @CRLF & _
"# ## General Aggregator Arguments:" & @CRLF & _
"# ## The period on which to flush & clear the aggregator." & @CRLF & _
"# period = "30s"" & @CRLF & _
"# ## If true, the original metric will be dropped by the" & @CRLF & _
"# ## aggregator and will not get sent to the output plugins." & @CRLF & _
"# drop_original = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Count the occurrence of values in fields." & @CRLF & _
"# [[aggregators.valuecounter]]" & @CRLF & _
"# ## General Aggregator Arguments:" & @CRLF & _
"# ## The period on which to flush & clear the aggregator." & @CRLF & _
"# period = "30s"" & @CRLF & _
"# ## If true, the original metric will be dropped by the" & @CRLF & _
"# ## aggregator and will not get sent to the output plugins." & @CRLF & _
"# drop_original = false" & @CRLF & _
"# ## The fields for which the values will be counted" & @CRLF & _
"# fields = []" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"###############################################################################" & @CRLF & _
"# INPUT PLUGINS #" & @CRLF & _
"###############################################################################" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# Read metrics about cpu usage" & @CRLF & _
"[[inputs.cpu]]" & @CRLF & _
" ## Whether to report per-cpu stats or not" & @CRLF & _
" percpu = true" & @CRLF & _
" ## Whether to report total system cpu stats or not" & @CRLF & _
" totalcpu = true" & @CRLF & _
" ## If true, collect raw CPU time metrics." & @CRLF & _
" collect_cpu_time = false" & @CRLF & _
" ## If true, compute and report the sum of all non-idle CPU states." & @CRLF & _
" report_active = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# Read metrics about disk usage by mount point" & @CRLF & _
"[[inputs.disk]]" & @CRLF & _
" ## By default stats will be gathered for all mount points." & @CRLF & _
" ## Set mount_points will restrict the stats to only the specified mount points." & @CRLF & _
" # mount_points = ["/"]" & @CRLF & _
"" & @CRLF & _
" ## Ignore mount points by filesystem type." & @CRLF & _
" ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# Read metrics about disk IO by device" & @CRLF & _
"[[inputs.diskio]]" & @CRLF & _
" ## By default, telegraf will gather stats for all devices including" & @CRLF & _
" ## disk partitions." & @CRLF & _
" ## Setting devices will restrict the stats to the specified devices." & @CRLF & _
" # devices = ["sda", "sdb", "vd*"]" & @CRLF & _
" ## Uncomment the following line if you need disk serial numbers." & @CRLF & _
" # skip_serial_number = false" & @CRLF & _
" #" & @CRLF & _
" ## On systems which support it, device metadata can be added in the form of" & @CRLF & _
" ## tags." & @CRLF & _
" ## Currently only Linux is supported via udev properties. You can view" & @CRLF & _
" ## available properties for a device by running:" & @CRLF & _
" ## 'udevadm info -q property -n /dev/sda'" & @CRLF & _
" ## Note: Most, but not all, udev properties can be accessed this way. Properties" & @CRLF & _
" ## that are currently inaccessible include DEVTYPE, DEVNAME, and DEVPATH." & @CRLF & _
" # device_tags = ["ID_FS_TYPE", "ID_FS_USAGE"]" & @CRLF & _
" #" & @CRLF & _
" ## Using the same metadata source as device_tags, you can also customize the" & @CRLF & _
" ## name of the device via templates." & @CRLF & _
" ## The 'name_templates' parameter is a list of templates to try and apply to" & @CRLF & _
" ## the device. The template may contain variables in the form of '$PROPERTY' or" & @CRLF & _
" ## '${PROPERTY}'. The first template which does not contain any variables not" & @CRLF & _
" ## present for the device is used as the device name tag." & @CRLF & _
" ## The typical use case is for LVM volumes, to get the VG/LV name instead of" & @CRLF & _
" ## the near-meaningless DM-0 name." & @CRLF & _
" # name_templates = ["$ID_FS_LABEL","$DM_VG_NAME/$DM_LV_NAME"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# Get kernel statistics from /proc/stat" & @CRLF & _
"[[inputs.kernel]]" & @CRLF & _
" # no configuration" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# Read metrics about memory usage" & @CRLF & _
"[[inputs.mem]]" & @CRLF & _
" # no configuration" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# Get the number of processes and group them by status" & @CRLF & _
"[[inputs.processes]]" & @CRLF & _
" # no configuration" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# Read metrics about swap memory usage" & @CRLF & _
"[[inputs.swap]]" & @CRLF & _
" # no configuration" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# Read metrics about system load & uptime" & @CRLF & _
"[[inputs.system]]" & @CRLF & _
" ## Uncomment to remove deprecated metrics." & @CRLF & _
" # fielddrop = ["uptime_format"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Gather ActiveMQ metrics" & @CRLF & _
"# [[inputs.activemq]]" & @CRLF & _
"# ## Required ActiveMQ Endpoint" & @CRLF & _
"# # server = "192.168.50.10"" & @CRLF & _
"#" & @CRLF & _
"# ## Required ActiveMQ port" & @CRLF & _
"# # port = 8161" & @CRLF & _
"#" & @CRLF & _
"# ## Credentials for basic HTTP authentication" & @CRLF & _
"# # username = "admin"" & @CRLF & _
"# # password = "admin"" & @CRLF & _
"#" & @CRLF & _
"# ## Required ActiveMQ webadmin root path" & @CRLF & _
"# # webadmin = "admin"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum time to receive response." & @CRLF & _
"# # response_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read stats from aerospike server(s)" & @CRLF & _
"# [[inputs.aerospike]]" & @CRLF & _
"# ## Aerospike servers to connect to (with port)" & @CRLF & _
"# ## This plugin will query all namespaces the aerospike" & @CRLF & _
"# ## server has configured and get stats for them." & @CRLF & _
"# servers = ["localhost:3000"]" & @CRLF & _
"#" & @CRLF & _
"# # username = "telegraf"" & @CRLF & _
"# # password = "pa$$word"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # enable_tls = false" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## If false, skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = true" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read Apache status information (mod_status)" & @CRLF & _
"# [[inputs.apache]]" & @CRLF & _
"# ## An array of URLs to gather from, must be directed at the machine" & @CRLF & _
"# ## readable version of the mod_status page including the auto query string." & @CRLF & _
"# ## Default is "http://localhost/server-status?auto"." & @CRLF & _
"# urls = ["http://localhost/server-status?auto"]" & @CRLF & _
"#" & @CRLF & _
"# ## Credentials for basic HTTP authentication." & @CRLF & _
"# # username = "myuser"" & @CRLF & _
"# # password = "mypassword"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum time to receive response." & @CRLF & _
"# # response_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Gather metrics from Apache Aurora schedulers" & @CRLF & _
"# [[inputs.aurora]]" & @CRLF & _
"# ## Schedulers are the base addresses of your Aurora Schedulers" & @CRLF & _
"# schedulers = ["http://127.0.0.1:8081"]" & @CRLF & _
"#" & @CRLF & _
"# ## Set of role types to collect metrics from." & @CRLF & _
"# ##" & @CRLF & _
"# ## The scheduler roles are checked each interval by contacting the" & @CRLF & _
"# ## scheduler nodes; zookeeper is not contacted." & @CRLF & _
"# # roles = ["leader", "follower"]" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout is the max time for total network operations." & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Username and password are sent using HTTP Basic Auth." & @CRLF & _
"# # username = "username"" & @CRLF & _
"# # password = "pa$$word"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics of bcache from stats_total and dirty_data" & @CRLF & _
"# [[inputs.bcache]]" & @CRLF & _
"# ## Bcache sets path" & @CRLF & _
"# ## If not specified, then default is:" & @CRLF & _
"# bcachePath = "/sys/fs/bcache"" & @CRLF & _
"#" & @CRLF & _
"# ## By default, telegraf gather stats for all bcache devices" & @CRLF & _
"# ## Setting devices will restrict the stats to the specified" & @CRLF & _
"# ## bcache devices." & @CRLF & _
"# bcacheDevs = ["bcache0"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Collects Beanstalkd server and tubes stats" & @CRLF & _
"# [[inputs.beanstalkd]]" & @CRLF & _
"# ## Server to collect data from" & @CRLF & _
"# server = "localhost:11300"" & @CRLF & _
"#" & @CRLF & _
"# ## List of tubes to gather stats about." & @CRLF & _
"# ## If no tubes specified then data gathered for each tube on server reported by list-tubes command" & @CRLF & _
"# tubes = ["notifications"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read BIND nameserver XML statistics" & @CRLF & _
"# [[inputs.bind]]" & @CRLF & _
"# ## An array of BIND XML statistics URI to gather stats." & @CRLF & _
"# ## Default is "http://localhost:8053/xml/v3"." & @CRLF & _
"# # urls = ["http://localhost:8053/xml/v3"]" & @CRLF & _
"# # gather_memory_contexts = false" & @CRLF & _
"# # gather_views = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Collect bond interface status, slaves statuses and failures count" & @CRLF & _
"# [[inputs.bond]]" & @CRLF & _
"# ## Sets 'proc' directory path" & @CRLF & _
"# ## If not specified, then default is /proc" & @CRLF & _
"# # host_proc = "/proc"" & @CRLF & _
"#" & @CRLF & _
"# ## By default, telegraf gather stats for all bond interfaces" & @CRLF & _
"# ## Setting interfaces will restrict the stats to the specified" & @CRLF & _
"# ## bond interfaces." & @CRLF & _
"# # bond_interfaces = ["bond0"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Collect Kafka topics and consumers status from Burrow HTTP API." & @CRLF & _
"# [[inputs.burrow]]" & @CRLF & _
"# ## Burrow API endpoints in format "schema://host:port"." & @CRLF & _
"# ## Default is "http://localhost:8000"." & @CRLF & _
"# servers = ["http://localhost:8000"]" & @CRLF & _
"#" & @CRLF & _
"# ## Override Burrow API prefix." & @CRLF & _
"# ## Useful when Burrow is behind reverse-proxy." & @CRLF & _
"# # api_prefix = "/v3/kafka"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum time to receive response." & @CRLF & _
"# # response_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Limit per-server concurrent connections." & @CRLF & _
"# ## Useful in case of large number of topics or consumer groups." & @CRLF & _
"# # concurrent_connections = 20" & @CRLF & _
"#" & @CRLF & _
"# ## Filter clusters, default is no filtering." & @CRLF & _
"# ## Values can be specified as glob patterns." & @CRLF & _
"# # clusters_include = []" & @CRLF & _
"# # clusters_exclude = []" & @CRLF & _
"#" & @CRLF & _
"# ## Filter consumer groups, default is no filtering." & @CRLF & _
"# ## Values can be specified as glob patterns." & @CRLF & _
"# # groups_include = []" & @CRLF & _
"# # groups_exclude = []" & @CRLF & _
"#" & @CRLF & _
"# ## Filter topics, default is no filtering." & @CRLF & _
"# ## Values can be specified as glob patterns." & @CRLF & _
"# # topics_include = []" & @CRLF & _
"# # topics_exclude = []" & @CRLF & _
"#" & @CRLF & _
"# ## Credentials for basic HTTP authentication." & @CRLF & _
"# # username = """ & @CRLF & _
"# # password = """ & @CRLF & _
"#" & @CRLF & _
"# ## Optional SSL config" & @CRLF & _
"# # ssl_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # ssl_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # ssl_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Collects performance metrics from the MON and OSD nodes in a Ceph storage cluster." & @CRLF & _
"# [[inputs.ceph]]" & @CRLF & _
"# ## This is the recommended interval to poll. Too frequent and you will lose" & @CRLF & _
"# ## data points due to timeouts during rebalancing and recovery" & @CRLF & _
"# interval = '1m'" & @CRLF & _
"#" & @CRLF & _
"# ## All configuration values are optional, defaults are shown below" & @CRLF & _
"#" & @CRLF & _
"# ## location of ceph binary" & @CRLF & _
"# ceph_binary = "/usr/bin/ceph"" & @CRLF & _
"#" & @CRLF & _
"# ## directory in which to look for socket files" & @CRLF & _
"# socket_dir = "/var/run/ceph"" & @CRLF & _
"#" & @CRLF & _
"# ## prefix of MON and OSD socket files, used to determine socket type" & @CRLF & _
"# mon_prefix = "ceph-mon"" & @CRLF & _
"# osd_prefix = "ceph-osd"" & @CRLF & _
"#" & @CRLF & _
"# ## suffix used to identify socket files" & @CRLF & _
"# socket_suffix = "asok"" & @CRLF & _
"#" & @CRLF & _
"# ## Ceph user to authenticate as" & @CRLF & _
"# ceph_user = "client.admin"" & @CRLF & _
"#" & @CRLF & _
"# ## Ceph configuration to use to locate the cluster" & @CRLF & _
"# ceph_config = "/etc/ceph/ceph.conf"" & @CRLF & _
"#" & @CRLF & _
"# ## Whether to gather statistics via the admin socket" & @CRLF & _
"# gather_admin_socket_stats = true" & @CRLF & _
"#" & @CRLF & _
"# ## Whether to gather statistics via ceph commands" & @CRLF & _
"# gather_cluster_stats = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read specific statistics per cgroup" & @CRLF & _
"# [[inputs.cgroup]]" & @CRLF & _
"# ## Directories in which to look for files, globs are supported." & @CRLF & _
"# ## Consider restricting paths to the set of cgroups you really" & @CRLF & _
"# ## want to monitor if you have a large number of cgroups, to avoid" & @CRLF & _
"# ## any cardinality issues." & @CRLF & _
"# # paths = [" & @CRLF & _
"# # "/cgroup/memory"," & @CRLF & _
"# # "/cgroup/memory/child1"," & @CRLF & _
"# # "/cgroup/memory/child2/*"," & @CRLF & _
"# # ]" & @CRLF & _
"# ## cgroup stat fields, as file names, globs are supported." & @CRLF & _
"# ## these file names are appended to each path from above." & @CRLF & _
"# # files = ["memory.*usage*", "memory.limit_in_bytes"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Get standard chrony metrics, requires chronyc executable." & @CRLF & _
"# [[inputs.chrony]]" & @CRLF & _
"# ## If true, chronyc tries to perform a DNS lookup for the time server." & @CRLF & _
"# # dns_lookup = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Pull Metric Statistics from Amazon CloudWatch" & @CRLF & _
"# [[inputs.cloudwatch]]" & @CRLF & _
"# ## Amazon Region" & @CRLF & _
"# region = "us-east-1"" & @CRLF & _
"#" & @CRLF & _
"# ## Amazon Credentials" & @CRLF & _
"# ## Credentials are loaded in the following order" & @CRLF & _
"# ## 1) Assumed credentials via STS if role_arn is specified" & @CRLF & _
"# ## 2) explicit credentials from 'access_key' and 'secret_key'" & @CRLF & _
"# ## 3) shared profile from 'profile'" & @CRLF & _
"# ## 4) environment variables" & @CRLF & _
"# ## 5) shared credentials file" & @CRLF & _
"# ## 6) EC2 Instance Profile" & @CRLF & _
"# # access_key = """ & @CRLF & _
"# # secret_key = """ & @CRLF & _
"# # token = """ & @CRLF & _
"# # role_arn = """ & @CRLF & _
"# # profile = """ & @CRLF & _
"# # shared_credential_file = """ & @CRLF & _
"#" & @CRLF & _
"# ## Endpoint to make request against, the correct endpoint is automatically" & @CRLF & _
"# ## determined and this option should only be set if you wish to override the" & @CRLF & _
"# ## default." & @CRLF & _
"# ## ex: endpoint_url = "http://localhost:8000"" & @CRLF & _
"# # endpoint_url = """ & @CRLF & _
"#" & @CRLF & _
"# # The minimum period for Cloudwatch metrics is 1 minute (60s). However not all" & @CRLF & _
"# # metrics are made available to the 1 minute period. Some are collected at" & @CRLF & _
"# # 3 minute, 5 minute, or larger intervals. See https://aws.amazon.com/cloudwatch/faqs/#monitoring." & @CRLF & _
"# # Note that if a period is configured that is smaller than the minimum for a" & @CRLF & _
"# # particular metric, that metric will not be returned by the Cloudwatch API" & @CRLF & _
"# # and will not be collected by Telegraf." & @CRLF & _
"# #" & @CRLF & _
"# ## Requested CloudWatch aggregation Period (required - must be a multiple of 60s)" & @CRLF & _
"# period = "5m"" & @CRLF & _
"#" & @CRLF & _
"# ## Collection Delay (required - must account for metrics availability via CloudWatch API)" & @CRLF & _
"# delay = "5m"" & @CRLF & _
"#" & @CRLF & _
"# ## Recommended: use metric 'interval' that is a multiple of 'period' to avoid" & @CRLF & _
"# ## gaps or overlap in pulled data" & @CRLF & _
"# interval = "5m"" & @CRLF & _
"#" & @CRLF & _
"# ## Configure the TTL for the internal cache of metrics." & @CRLF & _
"# # cache_ttl = "1h"" & @CRLF & _
"#" & @CRLF & _
"# ## Metric Statistic Namespace (required)" & @CRLF & _
"# namespace = "AWS/ELB"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum requests per second. Note that the global default AWS rate limit is" & @CRLF & _
"# ## 50 reqs/sec, so if you define multiple namespaces, these should add up to a" & @CRLF & _
"# ## maximum of 50." & @CRLF & _
"# ## See http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_limits.html" & @CRLF & _
"# # ratelimit = 25" & @CRLF & _
"#" & @CRLF & _
"# ## Namespace-wide statistic filters. These allow fewer queries to be made to" & @CRLF & _
"# ## cloudwatch." & @CRLF & _
"# # statistic_include = [ "average", "sum", "minimum", "maximum", sample_count" ]" & @CRLF & _
"# # statistic_exclude = []" & @CRLF & _
"#" & @CRLF & _
"# ## Metrics to Pull" & @CRLF & _
"# ## Defaults to all Metrics in Namespace if nothing is provided" & @CRLF & _
"# ## Refreshes Namespace available metrics every 1h" & @CRLF & _
"# #[[inputs.cloudwatch.metrics]]" & @CRLF & _
"# # names = ["Latency", "RequestCount"]" & @CRLF & _
"# #" & @CRLF & _
"# # ## Statistic filters for Metric. These allow for retrieving specific" & @CRLF & _
"# # ## statistics for an individual metric." & @CRLF & _
"# # # statistic_include = [ "average", "sum", "minimum", "maximum", sample_count" ]" & @CRLF & _
"# # # statistic_exclude = []" & @CRLF & _
"# #" & @CRLF & _
"# # ## Dimension filters for Metric. All dimensions defined for the metric names" & @CRLF & _
"# # ## must be specified in order to retrieve the metric statistics." & @CRLF & _
"# # [[inputs.cloudwatch.metrics.dimensions]]" & @CRLF & _
"# # name = "LoadBalancerName"" & @CRLF & _
"# # value = "p-example"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Collects conntrack stats from the configured directories and files." & @CRLF & _
"# [[inputs.conntrack]]" & @CRLF & _
"# ## The following defaults would work with multiple versions of conntrack." & @CRLF & _
"# ## Note the nf_ and ip_ filename prefixes are mutually exclusive across" & @CRLF & _
"# ## kernel versions, as are the directory locations." & @CRLF & _
"#" & @CRLF & _
"# ## Superset of filenames to look for within the conntrack dirs." & @CRLF & _
"# ## Missing files will be ignored." & @CRLF & _
"# files = ["ip_conntrack_count","ip_conntrack_max"," & @CRLF & _
"# "nf_conntrack_count","nf_conntrack_max"]" & @CRLF & _
"#" & @CRLF & _
"# ## Directories to search within for the conntrack files above." & @CRLF & _
"# ## Missing directrories will be ignored." & @CRLF & _
"# dirs = ["/proc/sys/net/ipv4/netfilter","/proc/sys/net/netfilter"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Gather health check statuses from services registered in Consul" & @CRLF & _
"# [[inputs.consul]]" & @CRLF & _
"# ## Consul server address" & @CRLF & _
"# # address = "localhost"" & @CRLF & _
"#" & @CRLF & _
"# ## URI scheme for the Consul server, one of "http", "https"" & @CRLF & _
"# # scheme = "http"" & @CRLF & _
"#" & @CRLF & _
"# ## ACL token used in every request" & @CRLF & _
"# # token = """ & @CRLF & _
"#" & @CRLF & _
"# ## HTTP Basic Authentication username and password." & @CRLF & _
"# # username = """ & @CRLF & _
"# # password = """ & @CRLF & _
"#" & @CRLF & _
"# ## Data center to query the health checks from" & @CRLF & _
"# # datacenter = """ & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = true" & @CRLF & _
"#" & @CRLF & _
"# ## Consul checks' tag splitting" & @CRLF & _
"# # When tags are formatted like "key:value" with ":" as a delimiter then" & @CRLF & _
"# # they will be splitted and reported as proper key:value in Telegraf" & @CRLF & _
"# # tag_delimiter = ":"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many couchbase clusters" & @CRLF & _
"# [[inputs.couchbase]]" & @CRLF & _
"# ## specify servers via a url matching:" & @CRLF & _
"# ## [protocol://][:password]@address[:port]" & @CRLF & _
"# ## e.g." & @CRLF & _
"# ## http://couchbase-0.example.com/" & @CRLF & _
"# ## http://admin:secret@couchbase-0.example.com:8091/" & @CRLF & _
"# ##" & @CRLF & _
"# ## If no servers are specified, then localhost is used as the host." & @CRLF & _
"# ## If no protocol is specified, HTTP is used." & @CRLF & _
"# ## If no port is specified, 8091 is used." & @CRLF & _
"# servers = ["http://localhost:8091"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read CouchDB Stats from one or more servers" & @CRLF & _
"# [[inputs.couchdb]]" & @CRLF & _
"# ## Works with CouchDB stats endpoints out of the box" & @CRLF & _
"# ## Multiple Hosts from which to read CouchDB stats:" & @CRLF & _
"# hosts = ["http://localhost:8086/_stats"]" & @CRLF & _
"#" & @CRLF & _
"# ## Use HTTP Basic Authentication." & @CRLF & _
"# # basic_username = "telegraf"" & @CRLF & _
"# # basic_password = "p@ssw0rd"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Input plugin for DC/OS metrics" & @CRLF & _
"# [[inputs.dcos]]" & @CRLF & _
"# ## The DC/OS cluster URL." & @CRLF & _
"# cluster_url = "https://dcos-ee-master-1"" & @CRLF & _
"#" & @CRLF & _
"# ## The ID of the service account." & @CRLF & _
"# service_account_id = "telegraf"" & @CRLF & _
"# ## The private key file for the service account." & @CRLF & _
"# service_account_private_key = "/etc/telegraf/telegraf-sa-key.pem"" & @CRLF & _
"#" & @CRLF & _
"# ## Path containing login token. If set, will read on every gather." & @CRLF & _
"# # token_file = "/home/dcos/.dcos/token"" & @CRLF & _
"#" & @CRLF & _
"# ## In all filter options if both include and exclude are empty all items" & @CRLF & _
"# ## will be collected. Arrays may contain glob patterns." & @CRLF & _
"# ##" & @CRLF & _
"# ## Node IDs to collect metrics from. If a node is excluded, no metrics will" & @CRLF & _
"# ## be collected for its containers or apps." & @CRLF & _
"# # node_include = []" & @CRLF & _
"# # node_exclude = []" & @CRLF & _
"# ## Container IDs to collect container metrics from." & @CRLF & _
"# # container_include = []" & @CRLF & _
"# # container_exclude = []" & @CRLF & _
"# ## Container IDs to collect app metrics from." & @CRLF & _
"# # app_include = []" & @CRLF & _
"# # app_exclude = []" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum concurrent connections to the cluster." & @CRLF & _
"# # max_connections = 10" & @CRLF & _
"# ## Maximum time to receive a response from cluster." & @CRLF & _
"# # response_timeout = "20s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## If false, skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = true" & @CRLF & _
"#" & @CRLF & _
"# ## Recommended filtering to reduce series cardinality." & @CRLF & _
"# # [inputs.dcos.tagdrop]" & @CRLF & _
"# # path = ["/var/lib/mesos/slave/slaves/*"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many disque servers" & @CRLF & _
"# [[inputs.disque]]" & @CRLF & _
"# ## An array of URI to gather stats about. Specify an ip or hostname" & @CRLF & _
"# ## with optional port and password." & @CRLF & _
"# ## ie disque://localhost, disque://10.10.3.33:18832, 10.0.0.1:10000, etc." & @CRLF & _
"# ## If no servers are specified, then localhost is used as the host." & @CRLF & _
"# servers = ["localhost"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Provide a native collection for dmsetup based statistics for dm-cache" & @CRLF & _
"# [[inputs.dmcache]]" & @CRLF & _
"# ## Whether to report per-device stats or not" & @CRLF & _
"# per_device = true" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Query given DNS server and gives statistics" & @CRLF & _
"# [[inputs.dns_query]]" & @CRLF & _
"# ## servers to query" & @CRLF & _
"# servers = ["8.8.8.8"]" & @CRLF & _
"#" & @CRLF & _
"# ## Network is the network protocol name." & @CRLF & _
"# # network = "udp"" & @CRLF & _
"#" & @CRLF & _
"# ## Domains or subdomains to query." & @CRLF & _
"# # domains = ["."]" & @CRLF & _
"#" & @CRLF & _
"# ## Query record type." & @CRLF & _
"# ## Posible values: A, AAAA, CNAME, MX, NS, PTR, TXT, SOA, SPF, SRV." & @CRLF & _
"# # record_type = "A"" & @CRLF & _
"#" & @CRLF & _
"# ## Dns server port." & @CRLF & _
"# # port = 53" & @CRLF & _
"#" & @CRLF & _
"# ## Query timeout in seconds." & @CRLF & _
"# # timeout = 2" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics about docker containers" & @CRLF & _
"# [[inputs.docker]]" & @CRLF & _
"# ## Docker Endpoint" & @CRLF & _
"# ## To use TCP, set endpoint = "tcp://[ip]:[port]"" & @CRLF & _
"# ## To use environment variables (ie, docker-machine), set endpoint = "ENV"" & @CRLF & _
"# endpoint = "unix:///var/run/docker.sock"" & @CRLF & _
"#" & @CRLF & _
"# ## Set to true to collect Swarm metrics(desired_replicas, running_replicas)" & @CRLF & _
"# gather_services = false" & @CRLF & _
"#" & @CRLF & _
"# ## Only collect metrics for these containers, collect all if empty" & @CRLF & _
"# container_names = []" & @CRLF & _
"#" & @CRLF & _
"# ## Containers to include and exclude. Globs accepted." & @CRLF & _
"# ## Note that an empty array for both will include all containers" & @CRLF & _
"# container_name_include = []" & @CRLF & _
"# container_name_exclude = []" & @CRLF & _
"#" & @CRLF & _
"# ## Container states to include and exclude. Globs accepted." & @CRLF & _
"# ## When empty only containers in the "running" state will be captured." & @CRLF & _
"# # container_state_include = []" & @CRLF & _
"# # container_state_exclude = []" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for docker list, info, and stats commands" & @CRLF & _
"# timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Whether to report for each container per-device blkio (8:0, 8:1...) and" & @CRLF & _
"# ## network (eth0, eth1, ...) stats or not" & @CRLF & _
"# perdevice = true" & @CRLF & _
"# ## Whether to report for each container total blkio and network stats or not" & @CRLF & _
"# total = false" & @CRLF & _
"# ## Which environment variables should we use as a tag" & @CRLF & _
"# ##tag_env = ["JAVA_HOME", "HEAP_SIZE"]" & @CRLF & _
"#" & @CRLF & _
"# ## docker labels to include and exclude as tags. Globs accepted." & @CRLF & _
"# ## Note that an empty array for both will include all labels as tags" & @CRLF & _
"# docker_label_include = []" & @CRLF & _
"# docker_label_exclude = []" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read statistics from one or many dovecot servers" & @CRLF & _
"# [[inputs.dovecot]]" & @CRLF & _
"# ## specify dovecot servers via an address:port list" & @CRLF & _
"# ## e.g." & @CRLF & _
"# ## localhost:24242" & @CRLF & _
"# ##" & @CRLF & _
"# ## If no servers are specified, then localhost is used as the host." & @CRLF & _
"# servers = ["localhost:24242"]" & @CRLF & _
"# ## Type is one of "user", "domain", "ip", or "global"" & @CRLF & _
"# type = "global"" & @CRLF & _
"# ## Wildcard matches like "*.com". An empty string "" is same as "*"" & @CRLF & _
"# ## If type = "ip" filters should be <IP/network>" & @CRLF & _
"# filters = [""]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics about docker containers from Fargate/ECS v2 meta endpoints." & @CRLF & _
"# [[inputs.ecs]]" & @CRLF & _
"# ## ECS metadata url" & @CRLF & _
"# # endpoint_url = "http://169.254.170.2"" & @CRLF & _
"#" & @CRLF & _
"# ## Containers to include and exclude. Globs accepted." & @CRLF & _
"# ## Note that an empty array for both will include all containers" & @CRLF & _
"# # container_name_include = []" & @CRLF & _
"# # container_name_exclude = []" & @CRLF & _
"#" & @CRLF & _
"# ## Container states to include and exclude. Globs accepted." & @CRLF & _
"# ## When empty only containers in the "RUNNING" state will be captured." & @CRLF & _
"# ## Possible values are "NONE", "PULLED", "CREATED", "RUNNING"," & @CRLF & _
"# ## "RESOURCES_PROVISIONED", "STOPPED"." & @CRLF & _
"# # container_status_include = []" & @CRLF & _
"# # container_status_exclude = []" & @CRLF & _
"#" & @CRLF & _
"# ## ecs labels to include and exclude as tags. Globs accepted." & @CRLF & _
"# ## Note that an empty array for both will include all labels as tags" & @CRLF & _
"# ecs_label_include = [ "com.amazonaws.ecs.*" ]" & @CRLF & _
"# ecs_label_exclude = []" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for queries." & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read stats from one or more Elasticsearch servers or clusters" & @CRLF & _
"# [[inputs.elasticsearch]]" & @CRLF & _
"# ## specify a list of one or more Elasticsearch servers" & @CRLF & _
"# # you can add username and password to your url to use basic authentication:" & @CRLF & _
"# # servers = ["http://user:pass@localhost:9200"]" & @CRLF & _
"# servers = ["http://localhost:9200"]" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for HTTP requests to the elastic search server(s)" & @CRLF & _
"# http_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## When local is true (the default), the node will read only its own stats." & @CRLF & _
"# ## Set local to false when you want to read the node stats from all nodes" & @CRLF & _
"# ## of the cluster." & @CRLF & _
"# local = true" & @CRLF & _
"#" & @CRLF & _
"# ## Set cluster_health to true when you want to also obtain cluster health stats" & @CRLF & _
"# cluster_health = false" & @CRLF & _
"#" & @CRLF & _
"# ## Adjust cluster_health_level when you want to also obtain detailed health stats" & @CRLF & _
"# ## The options are" & @CRLF & _
"# ## - indices (default)" & @CRLF & _
"# ## - cluster" & @CRLF & _
"# # cluster_health_level = "indices"" & @CRLF & _
"#" & @CRLF & _
"# ## Set cluster_stats to true when you want to also obtain cluster stats." & @CRLF & _
"# cluster_stats = false" & @CRLF & _
"#" & @CRLF & _
"# ## Only gather cluster_stats from the master node. To work this require local = true" & @CRLF & _
"# cluster_stats_only_from_master = true" & @CRLF & _
"#" & @CRLF & _
"# ## node_stats is a list of sub-stats that you want to have gathered. Valid options" & @CRLF & _
"# ## are "indices", "os", "process", "jvm", "thread_pool", "fs", "transport", "http"," & @CRLF & _
"# ## "breaker". Per default, all stats are gathered." & @CRLF & _
"# # node_stats = ["jvm", "http"]" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or more commands that can output to stdout" & @CRLF & _
"# [[inputs.exec]]" & @CRLF & _
"# ## Commands array" & @CRLF & _
"# commands = [" & @CRLF & _
"# "/tmp/test.sh"," & @CRLF & _
"# "/usr/bin/mycollector --foo=bar"," & @CRLF & _
"# "/tmp/collect_*.sh"" & @CRLF & _
"# ]" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for each command to complete." & @CRLF & _
"# timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## measurement name suffix (for separating different commands)" & @CRLF & _
"# name_suffix = "_mycollector"" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from fail2ban." & @CRLF & _
"# [[inputs.fail2ban]]" & @CRLF & _
"# ## Use sudo to run fail2ban-client" & @CRLF & _
"# use_sudo = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read devices value(s) from a Fibaro controller" & @CRLF & _
"# [[inputs.fibaro]]" & @CRLF & _
"# ## Required Fibaro controller address/hostname." & @CRLF & _
"# ## Note: at the time of writing this plugin, Fibaro only implemented http - no https available" & @CRLF & _
"# url = "http://<controller>:80"" & @CRLF & _
"#" & @CRLF & _
"# ## Required credentials to access the API (http://<controller/api/<component>)" & @CRLF & _
"# username = "<username>"" & @CRLF & _
"# password = "<password>"" & @CRLF & _
"#" & @CRLF & _
"# ## Amount of time allowed to complete the HTTP request" & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Reload and gather from file[s] on telegraf's interval." & @CRLF & _
"# [[inputs.file]]" & @CRLF & _
"# ## Files to parse each interval." & @CRLF & _
"# ## These accept standard unix glob matching rules, but with the addition of" & @CRLF & _
"# ## ** as a "super asterisk". ie:" & @CRLF & _
"# ## /var/log/**.log -> recursively find all .log files in /var/log" & @CRLF & _
"# ## /var/log/*/*.log -> find all .log files with a parent dir in /var/log" & @CRLF & _
"# ## /var/log/apache.log -> only read the apache log file" & @CRLF & _
"# files = ["/var/log/apache/access.log"]" & @CRLF & _
"#" & @CRLF & _
"# ## The dataformat to be read from files" & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Count files in a directory" & @CRLF & _
"# [[inputs.filecount]]" & @CRLF & _
"# ## Directory to gather stats about." & @CRLF & _
"# ## deprecated in 1.9; use the directories option" & @CRLF & _
"# # directory = "/var/cache/apt/archives"" & @CRLF & _
"#" & @CRLF & _
"# ## Directories to gather stats about." & @CRLF & _
"# ## This accept standard unit glob matching rules, but with the addition of" & @CRLF & _
"# ## ** as a "super asterisk". ie:" & @CRLF & _
"# ## /var/log/** -> recursively find all directories in /var/log and count files in each directories" & @CRLF & _
"# ## /var/log/*/* -> find all directories with a parent dir in /var/log and count files in each directories" & @CRLF & _
"# ## /var/log -> count all files in /var/log and all of its subdirectories" & @CRLF & _
"# directories = ["/var/cache/apt/archives"]" & @CRLF & _
"#" & @CRLF & _
"# ## Only count files that match the name pattern. Defaults to "*"." & @CRLF & _
"# name = "*.deb"" & @CRLF & _
"#" & @CRLF & _
"# ## Count files in subdirectories. Defaults to true." & @CRLF & _
"# recursive = false" & @CRLF & _
"#" & @CRLF & _
"# ## Only count regular files. Defaults to true." & @CRLF & _
"# regular_only = true" & @CRLF & _
"#" & @CRLF & _
"# ## Only count files that are at least this size. If size is" & @CRLF & _
"# ## a negative number, only count files that are smaller than the" & @CRLF & _
"# ## absolute value of size. Acceptable units are B, KiB, MiB, KB, ..." & @CRLF & _
"# ## Without quotes and units, interpreted as size in bytes." & @CRLF & _
"# size = "0B"" & @CRLF & _
"#" & @CRLF & _
"# ## Only count files that have not been touched for at least this" & @CRLF & _
"# ## duration. If mtime is negative, only count files that have been" & @CRLF & _
"# ## touched in this duration. Defaults to "0s"." & @CRLF & _
"# mtime = "0s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read stats about given file(s)" & @CRLF & _
"# [[inputs.filestat]]" & @CRLF & _
"# ## Files to gather stats about." & @CRLF & _
"# ## These accept standard unix glob matching rules, but with the addition of" & @CRLF & _
"# ## ** as a "super asterisk". ie:" & @CRLF & _
"# ## "/var/log/**.log" -> recursively find all .log files in /var/log" & @CRLF & _
"# ## "/var/log/*/*.log" -> find all .log files with a parent dir in /var/log" & @CRLF & _
"# ## "/var/log/apache.log" -> just tail the apache log file" & @CRLF & _
"# ##" & @CRLF & _
"# ## See https://github.com/gobwas/glob for more examples" & @CRLF & _
"# ##" & @CRLF & _
"# files = ["/var/log/**.log"]" & @CRLF & _
"# ## If true, read the entire file and calculate an md5 checksum." & @CRLF & _
"# md5 = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics exposed by fluentd in_monitor plugin" & @CRLF & _
"# [[inputs.fluentd]]" & @CRLF & _
"# ## This plugin reads information exposed by fluentd (using /api/plugins.json endpoint)." & @CRLF & _
"# ##" & @CRLF & _
"# ## Endpoint:" & @CRLF & _
"# ## - only one URI is allowed" & @CRLF & _
"# ## - https is not supported" & @CRLF & _
"# endpoint = "http://localhost:24220/api/plugins.json"" & @CRLF & _
"#" & @CRLF & _
"# ## Define which plugins have to be excluded (based on "type" field - e.g. monitor_agent)" & @CRLF & _
"# exclude = [" & @CRLF & _
"# "monitor_agent"," & @CRLF & _
"# "dummy"," & @CRLF & _
"# ]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Gather repository information from GitHub hosted repositories." & @CRLF & _
"# [[inputs.github]]" & @CRLF & _
"# ## List of repositories to monitor." & @CRLF & _
"# repositories = ["influxdata/telegraf"]" & @CRLF & _
"#" & @CRLF & _
"# ## Github API access token. Unauthenticated requests are limited to 60 per hour." & @CRLF & _
"# # access_token = """ & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for HTTP requests." & @CRLF & _
"# # http_timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read flattened metrics from one or more GrayLog HTTP endpoints" & @CRLF & _
"# [[inputs.graylog]]" & @CRLF & _
"# ## API endpoint, currently supported API:" & @CRLF & _
"# ##" & @CRLF & _
"# ## - multiple (Ex http://<host>:12900/system/metrics/multiple)" & @CRLF & _
"# ## - namespace (Ex http://<host>:12900/system/metrics/namespace/{namespace})" & @CRLF & _
"# ##" & @CRLF & _
"# ## For namespace endpoint, the metrics array will be ignored for that call." & @CRLF & _
"# ## Endpoint can contain namespace and multiple type calls." & @CRLF & _
"# ##" & @CRLF & _
"# ## Please check http://[graylog-server-ip]:12900/api-browser for full list" & @CRLF & _
"# ## of endpoints" & @CRLF & _
"# servers = [" & @CRLF & _
"# "http://[graylog-server-ip]:12900/system/metrics/multiple"," & @CRLF & _
"# ]" & @CRLF & _
"#" & @CRLF & _
"# ## Metrics list" & @CRLF & _
"# ## List of metrics can be found on Graylog webservice documentation." & @CRLF & _
"# ## Or by hitting the the web service api at:" & @CRLF & _
"# ## http://[graylog-host]:12900/system/metrics" & @CRLF & _
"# metrics = [" & @CRLF & _
"# "jvm.cl.loaded"," & @CRLF & _
"# "jvm.memory.pools.Metaspace.committed"" & @CRLF & _
"# ]" & @CRLF & _
"#" & @CRLF & _
"# ## Username and password" & @CRLF & _
"# username = """ & @CRLF & _
"# password = """ & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics of haproxy, via socket or csv stats page" & @CRLF & _
"# [[inputs.haproxy]]" & @CRLF & _
"# ## An array of address to gather stats about. Specify an ip on hostname" & @CRLF & _
"# ## with optional port. ie localhost, 10.10.3.33:1936, etc." & @CRLF & _
"# ## Make sure you specify the complete path to the stats endpoint" & @CRLF & _
"# ## including the protocol, ie http://10.10.3.33:1936/haproxy?stats" & @CRLF & _
"#" & @CRLF & _
"# ## If no servers are specified, then default to 127.0.0.1:1936/haproxy?stats" & @CRLF & _
"# servers = ["http://myhaproxy.com:1936/haproxy?stats"]" & @CRLF & _
"#" & @CRLF & _
"# ## Credentials for basic HTTP authentication" & @CRLF & _
"# # username = "admin"" & @CRLF & _
"# # password = "admin"" & @CRLF & _
"#" & @CRLF & _
"# ## You can also use local socket with standard wildcard globbing." & @CRLF & _
"# ## Server address not starting with 'http' will be treated as a possible" & @CRLF & _
"# ## socket, so both examples below are valid." & @CRLF & _
"# # servers = ["socket:/run/haproxy/admin.sock", "/run/haproxy/*.sock"]" & @CRLF & _
"#" & @CRLF & _
"# ## By default, some of the fields are renamed from what haproxy calls them." & @CRLF & _
"# ## Setting this option to true results in the plugin keeping the original" & @CRLF & _
"# ## field names." & @CRLF & _
"# # keep_field_names = false" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Monitor disks' temperatures using hddtemp" & @CRLF & _
"# [[inputs.hddtemp]]" & @CRLF & _
"# ## By default, telegraf gathers temps data from all disks detected by the" & @CRLF & _
"# ## hddtemp." & @CRLF & _
"# ##" & @CRLF & _
"# ## Only collect temps from the selected disks." & @CRLF & _
"# ##" & @CRLF & _
"# ## A * as the device name will return the temperature values of all disks." & @CRLF & _
"# ##" & @CRLF & _
"# # address = "127.0.0.1:7634"" & @CRLF & _
"# # devices = ["sda", "*"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read formatted metrics from one or more HTTP endpoints" & @CRLF & _
"# [[inputs.http]]" & @CRLF & _
"# ## One or more URLs from which to read formatted metrics" & @CRLF & _
"# urls = [" & @CRLF & _
"# "http://localhost/metrics"" & @CRLF & _
"# ]" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP method" & @CRLF & _
"# # method = "GET"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional HTTP headers" & @CRLF & _
"# # headers = {"X-Special-Header" = "Special-Value"}" & @CRLF & _
"#" & @CRLF & _
"# ## Optional HTTP Basic Auth Credentials" & @CRLF & _
"# # username = "username"" & @CRLF & _
"# # password = "pa$$word"" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP entity-body to send with POST/PUT requests." & @CRLF & _
"# # body = """ & @CRLF & _
"#" & @CRLF & _
"# ## HTTP Content-Encoding for write request body, can be set to "gzip" to" & @CRLF & _
"# ## compress body or "identity" to apply no encoding." & @CRLF & _
"# # content_encoding = "identity"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Amount of time allowed to complete the HTTP request" & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# # data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # HTTP/HTTPS request given an address a method and a timeout" & @CRLF & _
"# [[inputs.http_response]]" & @CRLF & _
"# ## Server address (default http://localhost)" & @CRLF & _
"# # address = "http://localhost"" & @CRLF & _
"#" & @CRLF & _
"# ## Set http_proxy (telegraf uses the system wide proxy settings if it's is not set)" & @CRLF & _
"# # http_proxy = "http://localhost:8888"" & @CRLF & _
"#" & @CRLF & _
"# ## Set response_timeout (default 5 seconds)" & @CRLF & _
"# # response_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP Request Method" & @CRLF & _
"# # method = "GET"" & @CRLF & _
"#" & @CRLF & _
"# ## Whether to follow redirects from the server (defaults to false)" & @CRLF & _
"# # follow_redirects = false" & @CRLF & _
"#" & @CRLF & _
"# ## Optional HTTP Request Body" & @CRLF & _
"# # body = '''" & @CRLF & _
"# # {'fake':'data'}" & @CRLF & _
"# # '''" & @CRLF & _
"#" & @CRLF & _
"# ## Optional substring or regex match in body of the response" & @CRLF & _
"# # response_string_match = "\"service_status\": \"up\""" & @CRLF & _
"# # response_string_match = "ok"" & @CRLF & _
"# # response_string_match = "\".*_status\".?:.?\"up\""" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP Request Headers (all values must be strings)" & @CRLF & _
"# # [inputs.http_response.headers]" & @CRLF & _
"# # Host = "github.com"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read flattened metrics from one or more JSON HTTP endpoints" & @CRLF & _
"# [[inputs.httpjson]]" & @CRLF & _
"# ## NOTE This plugin only reads numerical measurements, strings and booleans" & @CRLF & _
"# ## will be ignored." & @CRLF & _
"#" & @CRLF & _
"# ## Name for the service being polled. Will be appended to the name of the" & @CRLF & _
"# ## measurement e.g. httpjson_webserver_stats" & @CRLF & _
"# ##" & @CRLF & _
"# ## Deprecated (1.3.0): Use name_override, name_suffix, name_prefix instead." & @CRLF & _
"# name = "webserver_stats"" & @CRLF & _
"#" & @CRLF & _
"# ## URL of each server in the service's cluster" & @CRLF & _
"# servers = [" & @CRLF & _
"# "http://localhost:9999/stats/"," & @CRLF & _
"# "http://localhost:9998/stats/"," & @CRLF & _
"# ]" & @CRLF & _
"# ## Set response_timeout (default 5 seconds)" & @CRLF & _
"# response_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP method to use: GET or POST (case-sensitive)" & @CRLF & _
"# method = "GET"" & @CRLF & _
"#" & @CRLF & _
"# ## List of tag names to extract from top-level of JSON server response" & @CRLF & _
"# # tag_keys = [" & @CRLF & _
"# # "my_tag_1"," & @CRLF & _
"# # "my_tag_2"" & @CRLF & _
"# # ]" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP parameters (all values must be strings). For "GET" requests, data" & @CRLF & _
"# ## will be included in the query. For "POST" requests, data will be included" & @CRLF & _
"# ## in the request body as "x-www-form-urlencoded"." & @CRLF & _
"# # [inputs.httpjson.parameters]" & @CRLF & _
"# # event_type = "cpu_spike"" & @CRLF & _
"# # threshold = "0.75"" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP Headers (all values must be strings)" & @CRLF & _
"# # [inputs.httpjson.headers]" & @CRLF & _
"# # X-Auth-Token = "my-xauth-token"" & @CRLF & _
"# # apiVersion = "v1"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Gather Icinga2 status" & @CRLF & _
"# [[inputs.icinga2]]" & @CRLF & _
"# ## Required Icinga2 server address (default: "https://localhost:5665")" & @CRLF & _
"# # server = "https://localhost:5665"" & @CRLF & _
"#" & @CRLF & _
"# ## Required Icinga2 object type ("services" or "hosts, default "services")" & @CRLF & _
"# # object_type = "services"" & @CRLF & _
"#" & @CRLF & _
"# ## Credentials for basic HTTP authentication" & @CRLF & _
"# # username = "admin"" & @CRLF & _
"# # password = "admin"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum time to receive response." & @CRLF & _
"# # response_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = true" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read InfluxDB-formatted JSON metrics from one or more HTTP endpoints" & @CRLF & _
"# [[inputs.influxdb]]" & @CRLF & _
"# ## Works with InfluxDB debug endpoints out of the box," & @CRLF & _
"# ## but other services can use this format too." & @CRLF & _
"# ## See the influxdb plugin's README for more details." & @CRLF & _
"#" & @CRLF & _
"# ## Multiple URLs from which to read InfluxDB-formatted JSON" & @CRLF & _
"# ## Default is "http://localhost:8086/debug/vars"." & @CRLF & _
"# urls = [" & @CRLF & _
"# "http://localhost:8086/debug/vars"" & @CRLF & _
"# ]" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## http request & header timeout" & @CRLF & _
"# timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Collect statistics about itself" & @CRLF & _
"# [[inputs.internal]]" & @CRLF & _
"# ## If true, collect telegraf memory stats." & @CRLF & _
"# # collect_memstats = true" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # This plugin gathers interrupts data from /proc/interrupts and /proc/softirqs." & @CRLF & _
"# [[inputs.interrupts]]" & @CRLF & _
"# ## When set to true, cpu metrics are tagged with the cpu. Otherwise cpu is" & @CRLF & _
"# ## stored as a field." & @CRLF & _
"# ##" & @CRLF & _
"# ## The default is false for backwards compatibility, and will be changed to" & @CRLF & _
"# ## true in a future version. It is recommended to set to true on new" & @CRLF & _
"# ## deployments." & @CRLF & _
"# # cpu_as_tag = false" & @CRLF & _
"#" & @CRLF & _
"# ## To filter which IRQs to collect, make use of tagpass / tagdrop, i.e." & @CRLF & _
"# # [inputs.interrupts.tagdrop]" & @CRLF & _
"# # irq = [ "NET_RX", "TASKLET" ]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from the bare metal servers via IPMI" & @CRLF & _
"# [[inputs.ipmi_sensor]]" & @CRLF & _
"# ## optionally specify the path to the ipmitool executable" & @CRLF & _
"# # path = "/usr/bin/ipmitool"" & @CRLF & _
"# ##" & @CRLF & _
"# ## optionally force session privilege level. Can be CALLBACK, USER, OPERATOR, ADMINISTRATOR" & @CRLF & _
"# # privilege = "ADMINISTRATOR"" & @CRLF & _
"# ##" & @CRLF & _
"# ## optionally specify one or more servers via a url matching" & @CRLF & _
"# ## [username[:password]@][protocol[(address)]]" & @CRLF & _
"# ## e.g." & @CRLF & _
"# ## root:passwd@lan(127.0.0.1)" & @CRLF & _
"# ##" & @CRLF & _
"# ## if no servers are specified, local machine sensor stats will be queried" & @CRLF & _
"# ##" & @CRLF & _
"# # servers = ["USERID:PASSW0RD@lan(192.168.1.1)"]" & @CRLF & _
"#" & @CRLF & _
"# ## Recommended: use metric 'interval' that is a multiple of 'timeout' to avoid" & @CRLF & _
"# ## gaps or overlap in pulled data" & @CRLF & _
"# interval = "30s"" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for the ipmitool command to complete" & @CRLF & _
"# timeout = "20s"" & @CRLF & _
"#" & @CRLF & _
"# ## Schema Version: (Optional, defaults to version 1)" & @CRLF & _
"# metric_version = 2" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Gather packets and bytes counters from Linux ipsets" & @CRLF & _
"# [[inputs.ipset]]" & @CRLF & _
"# ## By default, we only show sets which have already matched at least 1 packet." & @CRLF & _
"# ## set include_unmatched_sets = true to gather them all." & @CRLF & _
"# include_unmatched_sets = false" & @CRLF & _
"# ## Adjust your sudo settings appropriately if using this option ("sudo ipset save")" & @CRLF & _
"# use_sudo = false" & @CRLF & _
"# ## The default timeout of 1s for ipset execution can be overridden here:" & @CRLF & _
"# # timeout = "1s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Gather packets and bytes throughput from iptables" & @CRLF & _
"# [[inputs.iptables]]" & @CRLF & _
"# ## iptables require root access on most systems." & @CRLF & _
"# ## Setting 'use_sudo' to true will make use of sudo to run iptables." & @CRLF & _
"# ## Users must configure sudo to allow telegraf user to run iptables with no password." & @CRLF & _
"# ## iptables can be restricted to only list command "iptables -nvL"." & @CRLF & _
"# use_sudo = false" & @CRLF & _
"# ## Setting 'use_lock' to true runs iptables with the "-w" option." & @CRLF & _
"# ## Adjust your sudo settings appropriately if using this option ("iptables -wnvl")" & @CRLF & _
"# use_lock = false" & @CRLF & _
"# ## Define an alternate executable, such as "ip6tables". Default is "iptables"." & @CRLF & _
"# # binary = "ip6tables"" & @CRLF & _
"# ## defines the table to monitor:" & @CRLF & _
"# table = "filter"" & @CRLF & _
"# ## defines the chains to monitor." & @CRLF & _
"# ## NOTE: iptables rules without a comment will not be monitored." & @CRLF & _
"# ## Read the plugin documentation for more information." & @CRLF & _
"# chains = [ "INPUT" ]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Collect virtual and real server stats from Linux IPVS" & @CRLF & _
"# [[inputs.ipvs]]" & @CRLF & _
"# # no configuration" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read jobs and cluster metrics from Jenkins instances" & @CRLF & _
"# [[inputs.jenkins]]" & @CRLF & _
"# ## The Jenkins URL" & @CRLF & _
"# url = "http://my-jenkins-instance:8080"" & @CRLF & _
"# # username = "admin"" & @CRLF & _
"# # password = "admin"" & @CRLF & _
"#" & @CRLF & _
"# ## Set response_timeout" & @CRLF & _
"# response_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use SSL but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Optional Max Job Build Age filter" & @CRLF & _
"# ## Default 1 hour, ignore builds older than max_build_age" & @CRLF & _
"# # max_build_age = "1h"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional Sub Job Depth filter" & @CRLF & _
"# ## Jenkins can have unlimited layer of sub jobs" & @CRLF & _
"# ## This config will limit the layers of pulling, default value 0 means" & @CRLF & _
"# ## unlimited pulling until no more sub jobs" & @CRLF & _
"# # max_subjob_depth = 0" & @CRLF & _
"#" & @CRLF & _
"# ## Optional Sub Job Per Layer" & @CRLF & _
"# ## In workflow-multibranch-plugin, each branch will be created as a sub job." & @CRLF & _
"# ## This config will limit to call only the lasted branches in each layer," & @CRLF & _
"# ## empty will use default value 10" & @CRLF & _
"# # max_subjob_per_layer = 10" & @CRLF & _
"#" & @CRLF & _
"# ## Jobs to exclude from gathering" & @CRLF & _
"# # job_exclude = [ "job1", "job2/subjob1/subjob2", "job3/*"]" & @CRLF & _
"#" & @CRLF & _
"# ## Nodes to exclude from gathering" & @CRLF & _
"# # node_exclude = [ "node1", "node2" ]" & @CRLF & _
"#" & @CRLF & _
"# ## Worker pool for jenkins plugin only" & @CRLF & _
"# ## Empty this field will use default value 5" & @CRLF & _
"# # max_connections = 5" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read JMX metrics through Jolokia" & @CRLF & _
"# [[inputs.jolokia]]" & @CRLF & _
"# # DEPRECATED: the jolokia plugin has been deprecated in favor of the" & @CRLF & _
"# # jolokia2 plugin" & @CRLF & _
"# # see https://github.com/influxdata/telegraf/tree/master/plugins/inputs/jolokia2" & @CRLF & _
"#" & @CRLF & _
"# ## This is the context root used to compose the jolokia url" & @CRLF & _
"# ## NOTE that Jolokia requires a trailing slash at the end of the context root" & @CRLF & _
"# ## NOTE that your jolokia security policy must allow for POST requests." & @CRLF & _
"# context = "/jolokia/"" & @CRLF & _
"#" & @CRLF & _
"# ## This specifies the mode used" & @CRLF & _
"# # mode = "proxy"" & @CRLF & _
"# #" & @CRLF & _
"# ## When in proxy mode this section is used to specify further" & @CRLF & _
"# ## proxy address configurations." & @CRLF & _
"# ## Remember to change host address to fit your environment." & @CRLF & _
"# # [inputs.jolokia.proxy]" & @CRLF & _
"# # host = "127.0.0.1"" & @CRLF & _
"# # port = "8080"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional http timeouts" & @CRLF & _
"# ##" & @CRLF & _
"# ## response_header_timeout, if non-zero, specifies the amount of time to wait" & @CRLF & _
"# ## for a server's response headers after fully writing the request." & @CRLF & _
"# # response_header_timeout = "3s"" & @CRLF & _
"# ##" & @CRLF & _
"# ## client_timeout specifies a time limit for requests made by this client." & @CRLF & _
"# ## Includes connection time, any redirects, and reading the response body." & @CRLF & _
"# # client_timeout = "4s"" & @CRLF & _
"#" & @CRLF & _
"# ## Attribute delimiter" & @CRLF & _
"# ##" & @CRLF & _
"# ## When multiple attributes are returned for a single" & @CRLF & _
"# ## [inputs.jolokia.metrics], the field name is a concatenation of the metric" & @CRLF & _
"# ## name, and the attribute name, separated by the given delimiter." & @CRLF & _
"# # delimiter = "_"" & @CRLF & _
"#" & @CRLF & _
"# ## List of servers exposing jolokia read service" & @CRLF & _
"# [[inputs.jolokia.servers]]" & @CRLF & _
"# name = "as-server-01"" & @CRLF & _
"# host = "127.0.0.1"" & @CRLF & _
"# port = "8080"" & @CRLF & _
"# # username = "myuser"" & @CRLF & _
"# # password = "mypassword"" & @CRLF & _
"#" & @CRLF & _
"# ## List of metrics collected on above servers" & @CRLF & _
"# ## Each metric consists in a name, a jmx path and either" & @CRLF & _
"# ## a pass or drop slice attribute." & @CRLF & _
"# ## This collect all heap memory usage metrics." & @CRLF & _
"# [[inputs.jolokia.metrics]]" & @CRLF & _
"# name = "heap_memory_usage"" & @CRLF & _
"# mbean = "java.lang:type=Memory"" & @CRLF & _
"# attribute = "HeapMemoryUsage"" & @CRLF & _
"#" & @CRLF & _
"# ## This collect thread counts metrics." & @CRLF & _
"# [[inputs.jolokia.metrics]]" & @CRLF & _
"# name = "thread_count"" & @CRLF & _
"# mbean = "java.lang:type=Threading"" & @CRLF & _
"# attribute = "TotalStartedThreadCount,ThreadCount,DaemonThreadCount,PeakThreadCount"" & @CRLF & _
"#" & @CRLF & _
"# ## This collect number of class loaded/unloaded counts metrics." & @CRLF & _
"# [[inputs.jolokia.metrics]]" & @CRLF & _
"# name = "class_count"" & @CRLF & _
"# mbean = "java.lang:type=ClassLoading"" & @CRLF & _
"# attribute = "LoadedClassCount,UnloadedClassCount,TotalLoadedClassCount"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read JMX metrics from a Jolokia REST agent endpoint" & @CRLF & _
"# [[inputs.jolokia2_agent]]" & @CRLF & _
"# # default_tag_prefix = """ & @CRLF & _
"# # default_field_prefix = """ & @CRLF & _
"# # default_field_separator = "."" & @CRLF & _
"#" & @CRLF & _
"# # Add agents URLs to query" & @CRLF & _
"# urls = ["http://localhost:8080/jolokia"]" & @CRLF & _
"# # username = """ & @CRLF & _
"# # password = """ & @CRLF & _
"# # response_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS config" & @CRLF & _
"# # tls_ca = "/var/private/ca.pem"" & @CRLF & _
"# # tls_cert = "/var/private/client.pem"" & @CRLF & _
"# # tls_key = "/var/private/client-key.pem"" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Add metrics to read" & @CRLF & _
"# [[inputs.jolokia2_agent.metric]]" & @CRLF & _
"# name = "java_runtime"" & @CRLF & _
"# mbean = "java.lang:type=Runtime"" & @CRLF & _
"# paths = ["Uptime"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read JMX metrics from a Jolokia REST proxy endpoint" & @CRLF & _
"# [[inputs.jolokia2_proxy]]" & @CRLF & _
"# # default_tag_prefix = """ & @CRLF & _
"# # default_field_prefix = """ & @CRLF & _
"# # default_field_separator = "."" & @CRLF & _
"#" & @CRLF & _
"# ## Proxy agent" & @CRLF & _
"# url = "http://localhost:8080/jolokia"" & @CRLF & _
"# # username = """ & @CRLF & _
"# # password = """ & @CRLF & _
"# # response_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS config" & @CRLF & _
"# # tls_ca = "/var/private/ca.pem"" & @CRLF & _
"# # tls_cert = "/var/private/client.pem"" & @CRLF & _
"# # tls_key = "/var/private/client-key.pem"" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Add proxy targets to query" & @CRLF & _
"# # default_target_username = """ & @CRLF & _
"# # default_target_password = """ & @CRLF & _
"# [[inputs.jolokia2_proxy.target]]" & @CRLF & _
"# url = "service:jmx:rmi:///jndi/rmi://targethost:9999/jmxrmi"" & @CRLF & _
"# # username = """ & @CRLF & _
"# # password = """ & @CRLF & _
"#" & @CRLF & _
"# ## Add metrics to read" & @CRLF & _
"# [[inputs.jolokia2_proxy.metric]]" & @CRLF & _
"# name = "java_runtime"" & @CRLF & _
"# mbean = "java.lang:type=Runtime"" & @CRLF & _
"# paths = ["Uptime"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read Kapacitor-formatted JSON metrics from one or more HTTP endpoints" & @CRLF & _
"# [[inputs.kapacitor]]" & @CRLF & _
"# ## Multiple URLs from which to read Kapacitor-formatted JSON" & @CRLF & _
"# ## Default is "http://localhost:9092/kapacitor/v1/debug/vars"." & @CRLF & _
"# urls = [" & @CRLF & _
"# "http://localhost:9092/kapacitor/v1/debug/vars"" & @CRLF & _
"# ]" & @CRLF & _
"#" & @CRLF & _
"# ## Time limit for http requests" & @CRLF & _
"# timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Get kernel statistics from /proc/vmstat" & @CRLF & _
"# [[inputs.kernel_vmstat]]" & @CRLF & _
"# # no configuration" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read status information from one or more Kibana servers" & @CRLF & _
"# [[inputs.kibana]]" & @CRLF & _
"# ## specify a list of one or more Kibana servers" & @CRLF & _
"# servers = ["http://localhost:5601"]" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for HTTP requests" & @CRLF & _
"# timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP Basic Auth credentials" & @CRLF & _
"# # username = "username"" & @CRLF & _
"# # password = "pa$$word"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from the Kubernetes api" & @CRLF & _
"# [[inputs.kube_inventory]]" & @CRLF & _
"# ## URL for the Kubernetes API" & @CRLF & _
"# url = "https://127.0.0.1"" & @CRLF & _
"#" & @CRLF & _
"# ## Namespace to use. Set to "" to use all namespaces." & @CRLF & _
"# # namespace = "default"" & @CRLF & _
"#" & @CRLF & _
"# ## Use bearer token for authorization. ('bearer_token' takes priority)" & @CRLF & _
"# # bearer_token = "/path/to/bearer/token"" & @CRLF & _
"# ## OR" & @CRLF & _
"# # bearer_token_string = "abc_123"" & @CRLF & _
"#" & @CRLF & _
"# ## Set response_timeout (default 5 seconds)" & @CRLF & _
"# # response_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional Resources to exclude from gathering" & @CRLF & _
"# ## Leave them with blank with try to gather everything available." & @CRLF & _
"# ## Values can be - "daemonsets", deployments", "nodes", "persistentvolumes"," & @CRLF & _
"# ## "persistentvolumeclaims", "pods", "statefulsets"" & @CRLF & _
"# # resource_exclude = [ "deployments", "nodes", "statefulsets" ]" & @CRLF & _
"#" & @CRLF & _
"# ## Optional Resources to include when gathering" & @CRLF & _
"# ## Overrides resource_exclude if both set." & @CRLF & _
"# # resource_include = [ "deployments", "nodes", "statefulsets" ]" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/path/to/cafile"" & @CRLF & _
"# # tls_cert = "/path/to/certfile"" & @CRLF & _
"# # tls_key = "/path/to/keyfile"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from the kubernetes kubelet api" & @CRLF & _
"# [[inputs.kubernetes]]" & @CRLF & _
"# ## URL for the kubelet" & @CRLF & _
"# url = "http://127.0.0.1:10255"" & @CRLF & _
"#" & @CRLF & _
"# ## Use bearer token for authorization. ('bearer_token' takes priority)" & @CRLF & _
"# # bearer_token = "/path/to/bearer/token"" & @CRLF & _
"# ## OR" & @CRLF & _
"# # bearer_token_string = "abc_123"" & @CRLF & _
"#" & @CRLF & _
"# ## Set response_timeout (default 5 seconds)" & @CRLF & _
"# # response_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = /path/to/cafile" & @CRLF & _
"# # tls_cert = /path/to/certfile" & @CRLF & _
"# # tls_key = /path/to/keyfile" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from a LeoFS Server via SNMP" & @CRLF & _
"# [[inputs.leofs]]" & @CRLF & _
"# ## An array of URLs of the form:" & @CRLF & _
"# ## host [ ":" port]" & @CRLF & _
"# servers = ["127.0.0.1:4020"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Provides Linux sysctl fs metrics" & @CRLF & _
"# [[inputs.linux_sysctl_fs]]" & @CRLF & _
"# # no configuration" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from local Lustre service on OST, MDS" & @CRLF & _
"# [[inputs.lustre2]]" & @CRLF & _
"# ## An array of /proc globs to search for Lustre stats" & @CRLF & _
"# ## If not specified, the default will work on Lustre 2.5.x" & @CRLF & _
"# ##" & @CRLF & _
"# # ost_procfiles = [" & @CRLF & _
"# # "/proc/fs/lustre/obdfilter/*/stats"," & @CRLF & _
"# # "/proc/fs/lustre/osd-ldiskfs/*/stats"," & @CRLF & _
"# # "/proc/fs/lustre/obdfilter/*/job_stats"," & @CRLF & _
"# # ]" & @CRLF & _
"# # mds_procfiles = [" & @CRLF & _
"# # "/proc/fs/lustre/mdt/*/md_stats"," & @CRLF & _
"# # "/proc/fs/lustre/mdt/*/job_stats"," & @CRLF & _
"# # ]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Gathers metrics from the /3.0/reports MailChimp API" & @CRLF & _
"# [[inputs.mailchimp]]" & @CRLF & _
"# ## MailChimp API key" & @CRLF & _
"# ## get from https://admin.mailchimp.com/account/api/" & @CRLF & _
"# api_key = "" # required" & @CRLF & _
"# ## Reports for campaigns sent more than days_old ago will not be collected." & @CRLF & _
"# ## 0 means collect all." & @CRLF & _
"# days_old = 0" & @CRLF & _
"# ## Campaign ID to get, if empty gets all campaigns, this option overrides days_old" & @CRLF & _
"# # campaign_id = """ & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many mcrouter servers" & @CRLF & _
"# [[inputs.mcrouter]]" & @CRLF & _
"# ## An array of address to gather stats about. Specify an ip or hostname" & @CRLF & _
"# ## with port. ie tcp://localhost:11211, tcp://10.0.0.1:11211, etc." & @CRLF & _
"# servers = ["tcp://localhost:11211", "unix:///var/run/mcrouter.sock"]" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for metric collections from all servers. Minimum timeout is "1s"." & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many memcached servers" & @CRLF & _
"# [[inputs.memcached]]" & @CRLF & _
"# ## An array of address to gather stats about. Specify an ip on hostname" & @CRLF & _
"# ## with optional port. ie localhost, 10.0.0.1:11211, etc." & @CRLF & _
"# servers = ["localhost:11211"]" & @CRLF & _
"# # unix_sockets = ["/var/run/memcached.sock"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Telegraf plugin for gathering metrics from N Mesos masters" & @CRLF & _
"# [[inputs.mesos]]" & @CRLF & _
"# ## Timeout, in ms." & @CRLF & _
"# timeout = 100" & @CRLF & _
"# ## A list of Mesos masters." & @CRLF & _
"# masters = ["http://localhost:5050"]" & @CRLF & _
"# ## Master metrics groups to be collected, by default, all enabled." & @CRLF & _
"# master_collections = [" & @CRLF & _
"# "resources"," & @CRLF & _
"# "master"," & @CRLF & _
"# "system"," & @CRLF & _
"# "agents"," & @CRLF & _
"# "frameworks"," & @CRLF & _
"# "tasks"," & @CRLF & _
"# "messages"," & @CRLF & _
"# "evqueue"," & @CRLF & _
"# "registrar"," & @CRLF & _
"# ]" & @CRLF & _
"# ## A list of Mesos slaves, default is []" & @CRLF & _
"# # slaves = []" & @CRLF & _
"# ## Slave metrics groups to be collected, by default, all enabled." & @CRLF & _
"# # slave_collections = [" & @CRLF & _
"# # "resources"," & @CRLF & _
"# # "agent"," & @CRLF & _
"# # "system"," & @CRLF & _
"# # "executors"," & @CRLF & _
"# # "tasks"," & @CRLF & _
"# # "messages"," & @CRLF & _
"# # ]" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Collects scores from a Minecraft server's scoreboard using the RCON protocol" & @CRLF & _
"# [[inputs.minecraft]]" & @CRLF & _
"# ## Address of the Minecraft server." & @CRLF & _
"# # server = "localhost"" & @CRLF & _
"#" & @CRLF & _
"# ## Server RCON Port." & @CRLF & _
"# # port = "25575"" & @CRLF & _
"#" & @CRLF & _
"# ## Server RCON Password." & @CRLF & _
"# password = """ & @CRLF & _
"#" & @CRLF & _
"# ## Uncomment to remove deprecated metric components." & @CRLF & _
"# # tagdrop = ["server"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many MongoDB servers" & @CRLF & _
"# [[inputs.mongodb]]" & @CRLF & _
"# ## An array of URLs of the form:" & @CRLF & _
"# ## "mongodb://" [user ":" pass "@"] host [ ":" port]" & @CRLF & _
"# ## For example:" & @CRLF & _
"# ## mongodb://user:auth_key@10.10.3.30:27017," & @CRLF & _
"# ## mongodb://10.10.3.33:18832," & @CRLF & _
"# servers = ["mongodb://127.0.0.1:27017"]" & @CRLF & _
"#" & @CRLF & _
"# ## When true, collect per database stats" & @CRLF & _
"# # gather_perdb_stats = false" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Aggregates the contents of multiple files into a single point" & @CRLF & _
"# [[inputs.multifile]]" & @CRLF & _
"# ## Base directory where telegraf will look for files." & @CRLF & _
"# ## Omit this option to use absolute paths." & @CRLF & _
"# base_dir = "/sys/bus/i2c/devices/1-0076/iio:device0"" & @CRLF & _
"#" & @CRLF & _
"# ## If true, Telegraf discard all data when a single file can't be read." & @CRLF & _
"# ## Else, Telegraf omits the field generated from this file." & @CRLF & _
"# # fail_early = true" & @CRLF & _
"#" & @CRLF & _
"# ## Files to parse each interval." & @CRLF & _
"# [[inputs.multifile.file]]" & @CRLF & _
"# file = "in_pressure_input"" & @CRLF & _
"# dest = "pressure"" & @CRLF & _
"# conversion = "float"" & @CRLF & _
"# [[inputs.multifile.file]]" & @CRLF & _
"# file = "in_temp_input"" & @CRLF & _
"# dest = "temperature"" & @CRLF & _
"# conversion = "float(3)"" & @CRLF & _
"# [[inputs.multifile.file]]" & @CRLF & _
"# file = "in_humidityrelative_input"" & @CRLF & _
"# dest = "humidityrelative"" & @CRLF & _
"# conversion = "float(3)"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many mysql servers" & @CRLF & _
"# [[inputs.mysql]]" & @CRLF & _
"# ## specify servers via a url matching:" & @CRLF & _
"# ## [username[:password]@][protocol[(address)]]/[?tls=[true|false|skip-verify|custom]]" & @CRLF & _
"# ## see https://github.com/go-sql-driver/mysql#dsn-data-source-name" & @CRLF & _
"# ## e.g." & @CRLF & _
"# ## servers = ["user:passwd@tcp(127.0.0.1:3306)/?tls=false"]" & @CRLF & _
"# ## servers = ["user@tcp(127.0.0.1:3306)/?tls=false"]" & @CRLF & _
"# #" & @CRLF & _
"# ## If no servers are specified, then localhost is used as the host." & @CRLF & _
"# servers = ["tcp(127.0.0.1:3306)/"]" & @CRLF & _
"#" & @CRLF & _
"# ## Selects the metric output format." & @CRLF & _
"# ##" & @CRLF & _
"# ## This option exists to maintain backwards compatibility, if you have" & @CRLF & _
"# ## existing metrics do not set or change this value until you are ready to" & @CRLF & _
"# ## migrate to the new format." & @CRLF & _
"# ##" & @CRLF & _
"# ## If you do not have existing metrics from this plugin set to the latest" & @CRLF & _
"# ## version." & @CRLF & _
"# ##" & @CRLF & _
"# ## Telegraf >=1.6: metric_version = 2" & @CRLF & _
"# ## <1.6: metric_version = 1 (or unset)" & @CRLF & _
"# metric_version = 2" & @CRLF & _
"#" & @CRLF & _
"# ## the limits for metrics form perf_events_statements" & @CRLF & _
"# perf_events_statements_digest_text_limit = 120" & @CRLF & _
"# perf_events_statements_limit = 250" & @CRLF & _
"# perf_events_statements_time_limit = 86400" & @CRLF & _
"# #" & @CRLF & _
"# ## if the list is empty, then metrics are gathered from all databasee tables" & @CRLF & _
"# table_schema_databases = []" & @CRLF & _
"# #" & @CRLF & _
"# ## gather metrics from INFORMATION_SCHEMA.TABLES for databases provided above list" & @CRLF & _
"# gather_table_schema = false" & @CRLF & _
"# #" & @CRLF & _
"# ## gather thread state counts from INFORMATION_SCHEMA.PROCESSLIST" & @CRLF & _
"# gather_process_list = true" & @CRLF & _
"# #" & @CRLF & _
"# ## gather user statistics from INFORMATION_SCHEMA.USER_STATISTICS" & @CRLF & _
"# gather_user_statistics = true" & @CRLF & _
"# #" & @CRLF & _
"# ## gather auto_increment columns and max values from information schema" & @CRLF & _
"# gather_info_schema_auto_inc = true" & @CRLF & _
"# #" & @CRLF & _
"# ## gather metrics from INFORMATION_SCHEMA.INNODB_METRICS" & @CRLF & _
"# gather_innodb_metrics = true" & @CRLF & _
"# #" & @CRLF & _
"# ## gather metrics from SHOW SLAVE STATUS command output" & @CRLF & _
"# gather_slave_status = true" & @CRLF & _
"# #" & @CRLF & _
"# ## gather metrics from SHOW BINARY LOGS command output" & @CRLF & _
"# gather_binary_logs = false" & @CRLF & _
"# #" & @CRLF & _
"# ## gather metrics from PERFORMANCE_SCHEMA.TABLE_IO_WAITS_SUMMARY_BY_TABLE" & @CRLF & _
"# gather_table_io_waits = false" & @CRLF & _
"# #" & @CRLF & _
"# ## gather metrics from PERFORMANCE_SCHEMA.TABLE_LOCK_WAITS" & @CRLF & _
"# gather_table_lock_waits = false" & @CRLF & _
"# #" & @CRLF & _
"# ## gather metrics from PERFORMANCE_SCHEMA.TABLE_IO_WAITS_SUMMARY_BY_INDEX_USAGE" & @CRLF & _
"# gather_index_io_waits = false" & @CRLF & _
"# #" & @CRLF & _
"# ## gather metrics from PERFORMANCE_SCHEMA.EVENT_WAITS" & @CRLF & _
"# gather_event_waits = false" & @CRLF & _
"# #" & @CRLF & _
"# ## gather metrics from PERFORMANCE_SCHEMA.FILE_SUMMARY_BY_EVENT_NAME" & @CRLF & _
"# gather_file_events_stats = false" & @CRLF & _
"# #" & @CRLF & _
"# ## gather metrics from PERFORMANCE_SCHEMA.EVENTS_STATEMENTS_SUMMARY_BY_DIGEST" & @CRLF & _
"# gather_perf_events_statements = false" & @CRLF & _
"# #" & @CRLF & _
"# ## Some queries we may want to run less often (such as SHOW GLOBAL VARIABLES)" & @CRLF & _
"# interval_slow = "30m"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config (will be used if tls=custom parameter specified in server uri)" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Provides metrics about the state of a NATS server" & @CRLF & _
"# [[inputs.nats]]" & @CRLF & _
"# ## The address of the monitoring endpoint of the NATS server" & @CRLF & _
"# server = "http://localhost:8222"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum time to receive response" & @CRLF & _
"# # response_timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Neptune Apex data collector" & @CRLF & _
"# [[inputs.neptune_apex]]" & @CRLF & _
"# ## The Neptune Apex plugin reads the publicly available status.xml data from a local Apex." & @CRLF & _
"# ## Measurements will be logged under "apex"." & @CRLF & _
"#" & @CRLF & _
"# ## The base URL of the local Apex(es). If you specify more than one server, they will" & @CRLF & _
"# ## be differentiated by the "source" tag." & @CRLF & _
"# servers = [" & @CRLF & _
"# "http://apex.local"," & @CRLF & _
"# ]" & @CRLF & _
"#" & @CRLF & _
"# ## The response_timeout specifies how long to wait for a reply from the Apex." & @CRLF & _
"# #response_timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics about network interface usage" & @CRLF & _
"# [[inputs.net]]" & @CRLF & _
"# ## By default, telegraf gathers stats from any up interface (excluding loopback)" & @CRLF & _
"# ## Setting interfaces will tell it to gather these explicit interfaces," & @CRLF & _
"# ## regardless of status." & @CRLF & _
"# ##" & @CRLF & _
"# # interfaces = ["eth0"]" & @CRLF & _
"# ##" & @CRLF & _
"# ## On linux systems telegraf also collects protocol stats." & @CRLF & _
"# ## Setting ignore_protocol_stats to true will skip reporting of protocol metrics." & @CRLF & _
"# ##" & @CRLF & _
"# # ignore_protocol_stats = false" & @CRLF & _
"# ##" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Collect response time of a TCP or UDP connection" & @CRLF & _
"# [[inputs.net_response]]" & @CRLF & _
"# ## Protocol, must be "tcp" or "udp"" & @CRLF & _
"# ## NOTE: because the "udp" protocol does not respond to requests, it requires" & @CRLF & _
"# ## a send/expect string pair (see below)." & @CRLF & _
"# protocol = "tcp"" & @CRLF & _
"# ## Server address (default localhost)" & @CRLF & _
"# address = "localhost:80"" & @CRLF & _
"#" & @CRLF & _
"# ## Set timeout" & @CRLF & _
"# # timeout = "1s"" & @CRLF & _
"#" & @CRLF & _
"# ## Set read timeout (only used if expecting a response)" & @CRLF & _
"# # read_timeout = "1s"" & @CRLF & _
"#" & @CRLF & _
"# ## The following options are required for UDP checks. For TCP, they are" & @CRLF & _
"# ## optional. The plugin will send the given string to the server and then" & @CRLF & _
"# ## expect to receive the given 'expect' string back." & @CRLF & _
"# ## string sent to the server" & @CRLF & _
"# # send = "ssh"" & @CRLF & _
"# ## expected string in answer" & @CRLF & _
"# # expect = "ssh"" & @CRLF & _
"#" & @CRLF & _
"# ## Uncomment to remove deprecated fields" & @CRLF & _
"# # fielddrop = ["result_type", "string_found"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read TCP metrics such as established, time wait and sockets counts." & @CRLF & _
"# [[inputs.netstat]]" & @CRLF & _
"# # no configuration" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read Nginx's basic status information (ngx_http_stub_status_module)" & @CRLF & _
"# [[inputs.nginx]]" & @CRLF & _
"# # An array of Nginx stub_status URI to gather stats." & @CRLF & _
"# urls = ["http://localhost/server_status"]" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# tls_cert = "/etc/telegraf/cert.cer"" & @CRLF & _
"# tls_key = "/etc/telegraf/key.key"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# # HTTP response timeout (default: 5s)" & @CRLF & _
"# response_timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read Nginx Plus' full status information (ngx_http_status_module)" & @CRLF & _
"# [[inputs.nginx_plus]]" & @CRLF & _
"# ## An array of ngx_http_status_module or status URI to gather stats." & @CRLF & _
"# urls = ["http://localhost/status"]" & @CRLF & _
"#" & @CRLF & _
"# # HTTP response timeout (default: 5s)" & @CRLF & _
"# response_timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read Nginx Plus Api documentation" & @CRLF & _
"# [[inputs.nginx_plus_api]]" & @CRLF & _
"# ## An array of API URI to gather stats." & @CRLF & _
"# urls = ["http://localhost/api"]" & @CRLF & _
"#" & @CRLF & _
"# # Nginx API version, default: 3" & @CRLF & _
"# # api_version = 3" & @CRLF & _
"#" & @CRLF & _
"# # HTTP response timeout (default: 5s)" & @CRLF & _
"# response_timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read nginx_upstream_check module status information (https://github.com/yaoweibin/nginx_upstream_check_module)" & @CRLF & _
"# [[inputs.nginx_upstream_check]]" & @CRLF & _
"# ## An URL where Nginx Upstream check module is enabled" & @CRLF & _
"# ## It should be set to return a JSON formatted response" & @CRLF & _
"# url = "http://127.0.0.1/status?format=json"" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP method" & @CRLF & _
"# # method = "GET"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional HTTP headers" & @CRLF & _
"# # headers = {"X-Special-Header" = "Special-Value"}" & @CRLF & _
"#" & @CRLF & _
"# ## Override HTTP "Host" header" & @CRLF & _
"# # host_header = "check.example.com"" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for HTTP requests" & @CRLF & _
"# timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional HTTP Basic Auth credentials" & @CRLF & _
"# # username = "username"" & @CRLF & _
"# # password = "pa$$word"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read Nginx virtual host traffic status module information (nginx-module-vts)" & @CRLF & _
"# [[inputs.nginx_vts]]" & @CRLF & _
"# ## An array of ngx_http_status_module or status URI to gather stats." & @CRLF & _
"# urls = ["http://localhost/status"]" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP response timeout (default: 5s)" & @CRLF & _
"# response_timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read NSQ topic and channel statistics." & @CRLF & _
"# [[inputs.nsq]]" & @CRLF & _
"# ## An array of NSQD HTTP API endpoints" & @CRLF & _
"# endpoints = ["http://localhost:4151"]" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Collect kernel snmp counters and network interface statistics" & @CRLF & _
"# [[inputs.nstat]]" & @CRLF & _
"# ## file paths for proc files. If empty default paths will be used:" & @CRLF & _
"# ## /proc/net/netstat, /proc/net/snmp, /proc/net/snmp6" & @CRLF & _
"# ## These can also be overridden with env variables, see README." & @CRLF & _
"# proc_net_netstat = "/proc/net/netstat"" & @CRLF & _
"# proc_net_snmp = "/proc/net/snmp"" & @CRLF & _
"# proc_net_snmp6 = "/proc/net/snmp6"" & @CRLF & _
"# ## dump metrics with 0 values too" & @CRLF & _
"# dump_zeros = true" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Get standard NTP query metrics, requires ntpq executable." & @CRLF & _
"# [[inputs.ntpq]]" & @CRLF & _
"# ## If false, set the -n ntpq flag. Can reduce metric gather time." & @CRLF & _
"# dns_lookup = true" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Pulls statistics from nvidia GPUs attached to the host" & @CRLF & _
"# [[inputs.nvidia_smi]]" & @CRLF & _
"# ## Optional: path to nvidia-smi binary, defaults to $PATH via exec.LookPath" & @CRLF & _
"# # bin_path = "/usr/bin/nvidia-smi"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional: timeout for GPU polling" & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # OpenLDAP cn=Monitor plugin" & @CRLF & _
"# [[inputs.openldap]]" & @CRLF & _
"# host = "localhost"" & @CRLF & _
"# port = 389" & @CRLF & _
"#" & @CRLF & _
"# # ldaps, starttls, or no encryption. default is an empty string, disabling all encryption." & @CRLF & _
"# # note that port will likely need to be changed to 636 for ldaps" & @CRLF & _
"# # valid options: "" | "starttls" | "ldaps"" & @CRLF & _
"# tls = """ & @CRLF & _
"#" & @CRLF & _
"# # skip peer certificate verification. Default is false." & @CRLF & _
"# insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# # Path to PEM-encoded Root certificate to use to verify server certificate" & @CRLF & _
"# tls_ca = "/etc/ssl/certs.pem"" & @CRLF & _
"#" & @CRLF & _
"# # dn/password to bind with. If bind_dn is empty, an anonymous bind is performed." & @CRLF & _
"# bind_dn = """ & @CRLF & _
"# bind_password = """ & @CRLF & _
"#" & @CRLF & _
"# # Reverse metric names so they sort more naturally. Recommended." & @CRLF & _
"# # This defaults to false if unset, but is set to true when generating a new config" & @CRLF & _
"# reverse_metric_names = true" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # A plugin to collect stats from Opensmtpd - a validating, recursive, and caching DNS resolver " & @CRLF & _
"# [[inputs.opensmtpd]]" & @CRLF & _
"# ## If running as a restricted user you can prepend sudo for additional access:" & @CRLF & _
"# #use_sudo = false" & @CRLF & _
"#" & @CRLF & _
"# ## The default location of the smtpctl binary can be overridden with:" & @CRLF & _
"# binary = "/usr/sbin/smtpctl"" & @CRLF & _
"#" & @CRLF & _
"# ## The default timeout of 1000ms can be overriden with (in milliseconds):" & @CRLF & _
"# timeout = 1000" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read current weather and forecasts data from openweathermap.org" & @CRLF & _
"# [[inputs.openweathermap]]" & @CRLF & _
"# ## OpenWeatherMap API key." & @CRLF & _
"# app_id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"" & @CRLF & _
"#" & @CRLF & _
"# ## City ID's to collect weather data from." & @CRLF & _
"# city_id = ["5391959"]" & @CRLF & _
"#" & @CRLF & _
"# ## APIs to fetch; can contain "weather" or "forecast"." & @CRLF & _
"# fetch = ["weather", "forecast"]" & @CRLF & _
"#" & @CRLF & _
"# ## OpenWeatherMap base URL" & @CRLF & _
"# # base_url = "https://api.openweathermap.org/"" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for HTTP response." & @CRLF & _
"# # response_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Preferred unit system for temperature and wind speed. Can be one of" & @CRLF & _
"# ## "metric", "imperial", or "standard"." & @CRLF & _
"# # units = "metric"" & @CRLF & _
"#" & @CRLF & _
"# ## Query interval; OpenWeatherMap updates their weather data every 10" & @CRLF & _
"# ## minutes." & @CRLF & _
"# interval = "10m"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics of passenger using passenger-status" & @CRLF & _
"# [[inputs.passenger]]" & @CRLF & _
"# ## Path of passenger-status." & @CRLF & _
"# ##" & @CRLF & _
"# ## Plugin gather metric via parsing XML output of passenger-status" & @CRLF & _
"# ## More information about the tool:" & @CRLF & _
"# ## https://www.phusionpassenger.com/library/admin/apache/overall_status_report.html" & @CRLF & _
"# ##" & @CRLF & _
"# ## If no path is specified, then the plugin simply execute passenger-status" & @CRLF & _
"# ## hopefully it can be found in your PATH" & @CRLF & _
"# command = "passenger-status -v --show=xml"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Gather counters from PF" & @CRLF & _
"# [[inputs.pf]]" & @CRLF & _
"# ## PF require root access on most systems." & @CRLF & _
"# ## Setting 'use_sudo' to true will make use of sudo to run pfctl." & @CRLF & _
"# ## Users must configure sudo to allow telegraf user to run pfctl with no password." & @CRLF & _
"# ## pfctl can be restricted to only list command "pfctl -s info"." & @CRLF & _
"# use_sudo = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics of phpfpm, via HTTP status page or socket" & @CRLF & _
"# [[inputs.phpfpm]]" & @CRLF & _
"# ## An array of addresses to gather stats about. Specify an ip or hostname" & @CRLF & _
"# ## with optional port and path" & @CRLF & _
"# ##" & @CRLF & _
"# ## Plugin can be configured in three modes (either can be used):" & @CRLF & _
"# ## - http: the URL must start with http:// or https://, ie:" & @CRLF & _
"# ## "http://localhost/status"" & @CRLF & _
"# ## "http://192.168.130.1/status?full"" & @CRLF & _
"# ##" & @CRLF & _
"# ## - unixsocket: path to fpm socket, ie:" & @CRLF & _
"# ## "/var/run/php5-fpm.sock"" & @CRLF & _
"# ## or using a custom fpm status path:" & @CRLF & _
"# ## "/var/run/php5-fpm.sock:fpm-custom-status-path"" & @CRLF & _
"# ##" & @CRLF & _
"# ## - fcgi: the URL must start with fcgi:// or cgi://, and port must be present, ie:" & @CRLF & _
"# ## "fcgi://10.0.0.12:9000/status"" & @CRLF & _
"# ## "cgi://10.0.10.12:9001/status"" & @CRLF & _
"# ##" & @CRLF & _
"# ## Example of multiple gathering from local socket and remote host" & @CRLF & _
"# ## urls = ["http://192.168.1.20/status", "/tmp/fpm.sock"]" & @CRLF & _
"# urls = ["http://localhost/status"]" & @CRLF & _
"#" & @CRLF & _
"# ## Duration allowed to complete HTTP requests." & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Ping given url(s) and return statistics" & @CRLF & _
"# [[inputs.ping]]" & @CRLF & _
"# ## List of urls to ping" & @CRLF & _
"# urls = ["example.org"]" & @CRLF & _
"#" & @CRLF & _
"# ## Number of pings to send per collection (ping -c <COUNT>)" & @CRLF & _
"# # count = 1" & @CRLF & _
"#" & @CRLF & _
"# ## Interval, in s, at which to ping. 0 == default (ping -i <PING_INTERVAL>)" & @CRLF & _
"# ## Not available in Windows." & @CRLF & _
"# # ping_interval = 1.0" & @CRLF & _
"#" & @CRLF & _
"# ## Per-ping timeout, in s. 0 == no timeout (ping -W <TIMEOUT>)" & @CRLF & _
"# # timeout = 1.0" & @CRLF & _
"#" & @CRLF & _
"# ## Total-ping deadline, in s. 0 == no deadline (ping -w <DEADLINE>)" & @CRLF & _
"# # deadline = 10" & @CRLF & _
"#" & @CRLF & _
"# ## Interface or source address to send ping from (ping -I <INTERFACE/SRC_ADDR>)" & @CRLF & _
"# ## on Darwin and Freebsd only source address possible: (ping -S <SRC_ADDR>)" & @CRLF & _
"# # interface = """ & @CRLF & _
"#" & @CRLF & _
"# ## Specify the ping executable binary, default is "ping"" & @CRLF & _
"# # binary = "ping"" & @CRLF & _
"#" & @CRLF & _
"# ## Arguments for ping command" & @CRLF & _
"# ## when arguments is not empty, other options (ping_interval, timeout, etc) will be ignored" & @CRLF & _
"# # arguments = ["-c", "3"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Measure postfix queue statistics" & @CRLF & _
"# [[inputs.postfix]]" & @CRLF & _
"# ## Postfix queue directory. If not provided, telegraf will try to use" & @CRLF & _
"# ## 'postconf -h queue_directory' to determine it." & @CRLF & _
"# # queue_directory = "/var/spool/postfix"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many PowerDNS servers" & @CRLF & _
"# [[inputs.powerdns]]" & @CRLF & _
"# ## An array of sockets to gather stats about." & @CRLF & _
"# ## Specify a path to unix socket." & @CRLF & _
"# unix_sockets = ["/var/run/pdns.controlsocket"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many PowerDNS Recursor servers" & @CRLF & _
"# [[inputs.powerdns_recursor]]" & @CRLF & _
"# ## An array of sockets to gather stats about." & @CRLF & _
"# ## Specify a path to unix socket." & @CRLF & _
"# unix_sockets = ["/var/run/pdns_recursor.controlsocket"]" & @CRLF & _
"#" & @CRLF & _
"# ## Socket for Receive" & @CRLF & _
"# #socket_dir = "/var/run/"" & @CRLF & _
"# ## Socket permissions" & @CRLF & _
"# #socket_mode = "0666"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Monitor process cpu and memory usage" & @CRLF & _
"# [[inputs.procstat]]" & @CRLF & _
"# ## PID file to monitor process" & @CRLF & _
"# pid_file = "/var/run/nginx.pid"" & @CRLF & _
"# ## executable name (ie, pgrep <exe>)" & @CRLF & _
"# # exe = "nginx"" & @CRLF & _
"# ## pattern as argument for pgrep (ie, pgrep -f <pattern>)" & @CRLF & _
"# # pattern = "nginx"" & @CRLF & _
"# ## user as argument for pgrep (ie, pgrep -u <user>)" & @CRLF & _
"# # user = "nginx"" & @CRLF & _
"# ## Systemd unit name" & @CRLF & _
"# # systemd_unit = "nginx.service"" & @CRLF & _
"# ## CGroup name or path" & @CRLF & _
"# # cgroup = "systemd/system.slice/nginx.service"" & @CRLF & _
"#" & @CRLF & _
"# ## Windows service name" & @CRLF & _
"# # win_service = """ & @CRLF & _
"#" & @CRLF & _
"# ## override for process_name" & @CRLF & _
"# ## This is optional; default is sourced from /proc/<pid>/status" & @CRLF & _
"# # process_name = "bar"" & @CRLF & _
"#" & @CRLF & _
"# ## Field name prefix" & @CRLF & _
"# # prefix = """ & @CRLF & _
"#" & @CRLF & _
"# ## When true add the full cmdline as a tag." & @CRLF & _
"# # cmdline_tag = false" & @CRLF & _
"#" & @CRLF & _
"# ## Add PID as a tag instead of a field; useful to differentiate between" & @CRLF & _
"# ## processes whose tags are otherwise the same. Can create a large number" & @CRLF & _
"# ## of series, use judiciously." & @CRLF & _
"# # pid_tag = false" & @CRLF & _
"#" & @CRLF & _
"# ## Method to use when finding process IDs. Can be one of 'pgrep', or" & @CRLF & _
"# ## 'native'. The pgrep finder calls the pgrep executable in the PATH while" & @CRLF & _
"# ## the native finder performs the search directly in a manor dependent on the" & @CRLF & _
"# ## platform. Default is 'pgrep'" & @CRLF & _
"# # pid_finder = "pgrep"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Reads last_run_summary.yaml file and converts to measurments" & @CRLF & _
"# [[inputs.puppetagent]]" & @CRLF & _
"# ## Location of puppet last run summary file" & @CRLF & _
"# location = "/var/lib/puppet/state/last_run_summary.yaml"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Reads metrics from RabbitMQ servers via the Management Plugin" & @CRLF & _
"# [[inputs.rabbitmq]]" & @CRLF & _
"# ## Management Plugin url. (default: http://localhost:15672)" & @CRLF & _
"# # url = "http://localhost:15672"" & @CRLF & _
"# ## Tag added to rabbitmq_overview series; deprecated: use tags" & @CRLF & _
"# # name = "rmq-server-1"" & @CRLF & _
"# ## Credentials" & @CRLF & _
"# # username = "guest"" & @CRLF & _
"# # password = "guest"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Optional request timeouts" & @CRLF & _
"# ##" & @CRLF & _
"# ## ResponseHeaderTimeout, if non-zero, specifies the amount of time to wait" & @CRLF & _
"# ## for a server's response headers after fully writing the request." & @CRLF & _
"# # header_timeout = "3s"" & @CRLF & _
"# ##" & @CRLF & _
"# ## client_timeout specifies a time limit for requests made by this client." & @CRLF & _
"# ## Includes connection time, any redirects, and reading the response body." & @CRLF & _
"# # client_timeout = "4s"" & @CRLF & _
"#" & @CRLF & _
"# ## A list of nodes to gather as the rabbitmq_node measurement. If not" & @CRLF & _
"# ## specified, metrics for all nodes are gathered." & @CRLF & _
"# # nodes = ["rabbit@node1", "rabbit@node2"]" & @CRLF & _
"#" & @CRLF & _
"# ## A list of queues to gather as the rabbitmq_queue measurement. If not" & @CRLF & _
"# ## specified, metrics for all queues are gathered." & @CRLF & _
"# # queues = ["telegraf"]" & @CRLF & _
"#" & @CRLF & _
"# ## A list of exchanges to gather as the rabbitmq_exchange measurement. If not" & @CRLF & _
"# ## specified, metrics for all exchanges are gathered." & @CRLF & _
"# # exchanges = ["telegraf"]" & @CRLF & _
"#" & @CRLF & _
"# ## Queues to include and exclude. Globs accepted." & @CRLF & _
"# ## Note that an empty array for both will include all queues" & @CRLF & _
"# queue_name_include = []" & @CRLF & _
"# queue_name_exclude = []" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read raindrops stats (raindrops - real-time stats for preforking Rack servers)" & @CRLF & _
"# [[inputs.raindrops]]" & @CRLF & _
"# ## An array of raindrops middleware URI to gather stats." & @CRLF & _
"# urls = ["http://localhost:8080/_raindrops"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many redis servers" & @CRLF & _
"# [[inputs.redis]]" & @CRLF & _
"# ## specify servers via a url matching:" & @CRLF & _
"# ## [protocol://][:password]@address[:port]" & @CRLF & _
"# ## e.g." & @CRLF & _
"# ## tcp://localhost:6379" & @CRLF & _
"# ## tcp://:password@192.168.99.100" & @CRLF & _
"# ## unix:///var/run/redis.sock" & @CRLF & _
"# ##" & @CRLF & _
"# ## If no servers are specified, then localhost is used as the host." & @CRLF & _
"# ## If no port is specified, 6379 is used" & @CRLF & _
"# servers = ["tcp://localhost:6379"]" & @CRLF & _
"#" & @CRLF & _
"# ## specify server password" & @CRLF & _
"# # password = "s#cr@t%"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = true" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many RethinkDB servers" & @CRLF & _
"# [[inputs.rethinkdb]]" & @CRLF & _
"# ## An array of URI to gather stats about. Specify an ip or hostname" & @CRLF & _
"# ## with optional port add password. ie," & @CRLF & _
"# ## rethinkdb://user:auth_key@10.10.3.30:28105," & @CRLF & _
"# ## rethinkdb://10.10.3.33:18832," & @CRLF & _
"# ## 10.0.0.1:10000, etc." & @CRLF & _
"# servers = ["127.0.0.1:28015"]" & @CRLF & _
"# ##" & @CRLF & _
"# ## If you use actual rethinkdb of > 2.3.0 with username/password authorization," & @CRLF & _
"# ## protocol have to be named "rethinkdb2" - it will use 1_0 H." & @CRLF & _
"# # servers = ["rethinkdb2://username:password@127.0.0.1:28015"]" & @CRLF & _
"# ##" & @CRLF & _
"# ## If you use older versions of rethinkdb (<2.2) with auth_key, protocol" & @CRLF & _
"# ## have to be named "rethinkdb"." & @CRLF & _
"# # servers = ["rethinkdb://username:auth_key@127.0.0.1:28015"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics one or many Riak servers" & @CRLF & _
"# [[inputs.riak]]" & @CRLF & _
"# # Specify a list of one or more riak http servers" & @CRLF & _
"# servers = ["http://localhost:8098"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read API usage and limits for a Salesforce organisation" & @CRLF & _
"# [[inputs.salesforce]]" & @CRLF & _
"# ## specify your credentials" & @CRLF & _
"# ##" & @CRLF & _
"# username = "your_username"" & @CRLF & _
"# password = "your_password"" & @CRLF & _
"# ##" & @CRLF & _
"# ## (optional) security token" & @CRLF & _
"# # security_token = "your_security_token"" & @CRLF & _
"# ##" & @CRLF & _
"# ## (optional) environment type (sandbox or production)" & @CRLF & _
"# ## default is: production" & @CRLF & _
"# ##" & @CRLF & _
"# # environment = "production"" & @CRLF & _
"# ##" & @CRLF & _
"# ## (optional) API version (default: "39.0")" & @CRLF & _
"# ##" & @CRLF & _
"# # version = "39.0"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Monitor sensors, requires lm-sensors package" & @CRLF & _
"# [[inputs.sensors]]" & @CRLF & _
"# ## Remove numbers from field names." & @CRLF & _
"# ## If true, a field name like 'temp1_input' will be changed to 'temp_input'." & @CRLF & _
"# # remove_numbers = true" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout is the maximum amount of time that the sensors command can run." & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from storage devices supporting S.M.A.R.T." & @CRLF & _
"# [[inputs.smart]]" & @CRLF & _
"# ## Optionally specify the path to the smartctl executable" & @CRLF & _
"# # path = "/usr/bin/smartctl"" & @CRLF & _
"#" & @CRLF & _
"# ## On most platforms smartctl requires root access." & @CRLF & _
"# ## Setting 'use_sudo' to true will make use of sudo to run smartctl." & @CRLF & _
"# ## Sudo must be configured to to allow the telegraf user to run smartctl" & @CRLF & _
"# ## without a password." & @CRLF & _
"# # use_sudo = false" & @CRLF & _
"#" & @CRLF & _
"# ## Skip checking disks in this power mode. Defaults to" & @CRLF & _
"# ## "standby" to not wake up disks that have stoped rotating." & @CRLF & _
"# ## See --nocheck in the man pages for smartctl." & @CRLF & _
"# ## smartctl version 5.41 and 5.42 have faulty detection of" & @CRLF & _
"# ## power mode and might require changing this value to" & @CRLF & _
"# ## "never" depending on your disks." & @CRLF & _
"# # nocheck = "standby"" & @CRLF & _
"#" & @CRLF & _
"# ## Gather detailed metrics for each SMART Attribute." & @CRLF & _
"# # attributes = false" & @CRLF & _
"#" & @CRLF & _
"# ## Optionally specify devices to exclude from reporting." & @CRLF & _
"# # excludes = [ "/dev/pass6" ]" & @CRLF & _
"#" & @CRLF & _
"# ## Optionally specify devices and device type, if unset" & @CRLF & _
"# ## a scan (smartctl --scan) for S.M.A.R.T. devices will" & @CRLF & _
"# ## done and all found will be included except for the" & @CRLF & _
"# ## excluded in excludes." & @CRLF & _
"# # devices = [ "/dev/ada0 -d atacam" ]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Retrieves SNMP values from remote agents" & @CRLF & _
"# [[inputs.snmp]]" & @CRLF & _
"# agents = [ "127.0.0.1:161" ]" & @CRLF & _
"# ## Timeout for each SNMP query." & @CRLF & _
"# timeout = "5s"" & @CRLF & _
"# ## Number of retries to attempt within timeout." & @CRLF & _
"# retries = 3" & @CRLF & _
"# ## SNMP version, values can be 1, 2, or 3" & @CRLF & _
"# version = 2" & @CRLF & _
"#" & @CRLF & _
"# ## SNMP community string." & @CRLF & _
"# community = "public"" & @CRLF & _
"#" & @CRLF & _
"# ## The GETBULK max-repetitions parameter" & @CRLF & _
"# max_repetitions = 10" & @CRLF & _
"#" & @CRLF & _
"# ## SNMPv3 auth parameters" & @CRLF & _
"# #sec_name = "myuser"" & @CRLF & _
"# #auth_protocol = "md5" # Values: "MD5", "SHA", """ & @CRLF & _
"# #auth_password = "pass"" & @CRLF & _
"# #sec_level = "authNoPriv" # Values: "noAuthNoPriv", "authNoPriv", "authPriv"" & @CRLF & _
"# #context_name = """ & @CRLF & _
"# #priv_protocol = "" # Values: "DES", "AES", """ & @CRLF & _
"# #priv_password = """ & @CRLF & _
"#" & @CRLF & _
"# ## measurement name" & @CRLF & _
"# name = "system"" & @CRLF & _
"# [[inputs.snmp.field]]" & @CRLF & _
"# name = "hostname"" & @CRLF & _
"# oid = ".1.0.0.1.1"" & @CRLF & _
"# [[inputs.snmp.field]]" & @CRLF & _
"# name = "uptime"" & @CRLF & _
"# oid = ".1.0.0.1.2"" & @CRLF & _
"# [[inputs.snmp.field]]" & @CRLF & _
"# name = "load"" & @CRLF & _
"# oid = ".1.0.0.1.3"" & @CRLF & _
"# [[inputs.snmp.field]]" & @CRLF & _
"# oid = "HOST-RESOURCES-MIB::hrMemorySize"" & @CRLF & _
"#" & @CRLF & _
"# [[inputs.snmp.table]]" & @CRLF & _
"# ## measurement name" & @CRLF & _
"# name = "remote_servers"" & @CRLF & _
"# inherit_tags = [ "hostname" ]" & @CRLF & _
"# [[inputs.snmp.table.field]]" & @CRLF & _
"# name = "server"" & @CRLF & _
"# oid = ".1.0.0.0.1.0"" & @CRLF & _
"# is_tag = true" & @CRLF & _
"# [[inputs.snmp.table.field]]" & @CRLF & _
"# name = "connections"" & @CRLF & _
"# oid = ".1.0.0.0.1.1"" & @CRLF & _
"# [[inputs.snmp.table.field]]" & @CRLF & _
"# name = "latency"" & @CRLF & _
"# oid = ".1.0.0.0.1.2"" & @CRLF & _
"#" & @CRLF & _
"# [[inputs.snmp.table]]" & @CRLF & _
"# ## auto populate table's fields using the MIB" & @CRLF & _
"# oid = "HOST-RESOURCES-MIB::hrNetworkTable"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # DEPRECATED! PLEASE USE inputs.snmp INSTEAD." & @CRLF & _
"# [[inputs.snmp_legacy]]" & @CRLF & _
"# ## Use 'oids.txt' file to translate oids to names" & @CRLF & _
"# ## To generate 'oids.txt' you need to run:" & @CRLF & _
"# ## snmptranslate -m all -Tz -On | sed -e 's/"//g' > /tmp/oids.txt" & @CRLF & _
"# ## Or if you have an other MIB folder with custom MIBs" & @CRLF & _
"# ## snmptranslate -M /mycustommibfolder -Tz -On -m all | sed -e 's/"//g' > oids.txt" & @CRLF & _
"# snmptranslate_file = "/tmp/oids.txt"" & @CRLF & _
"# [[inputs.snmp.host]]" & @CRLF & _
"# address = "192.168.2.2:161"" & @CRLF & _
"# # SNMP community" & @CRLF & _
"# community = "public" # default public" & @CRLF & _
"# # SNMP version (1, 2 or 3)" & @CRLF & _
"# # Version 3 not supported yet" & @CRLF & _
"# version = 2 # default 2" & @CRLF & _
"# # SNMP response timeout" & @CRLF & _
"# timeout = 2.0 # default 2.0" & @CRLF & _
"# # SNMP request retries" & @CRLF & _
"# retries = 2 # default 2" & @CRLF & _
"# # Which get/bulk do you want to collect for this host" & @CRLF & _
"# collect = ["mybulk", "sysservices", "sysdescr"]" & @CRLF & _
"# # Simple list of OIDs to get, in addition to "collect"" & @CRLF & _
"# get_oids = []" & @CRLF & _
"#" & @CRLF & _
"# [[inputs.snmp.host]]" & @CRLF & _
"# address = "192.168.2.3:161"" & @CRLF & _
"# community = "public"" & @CRLF & _
"# version = 2" & @CRLF & _
"# timeout = 2.0" & @CRLF & _
"# retries = 2" & @CRLF & _
"# collect = ["mybulk"]" & @CRLF & _
"# get_oids = [" & @CRLF & _
"# "ifNumber"," & @CRLF & _
"# ".1.3.6.1.2.1.1.3.0"," & @CRLF & _
"# ]" & @CRLF & _
"#" & @CRLF & _
"# [[inputs.snmp.get]]" & @CRLF & _
"# name = "ifnumber"" & @CRLF & _
"# oid = "ifNumber"" & @CRLF & _
"#" & @CRLF & _
"# [[inputs.snmp.get]]" & @CRLF & _
"# name = "interface_speed"" & @CRLF & _
"# oid = "ifSpeed"" & @CRLF & _
"# instance = "0"" & @CRLF & _
"#" & @CRLF & _
"# [[inputs.snmp.get]]" & @CRLF & _
"# name = "sysuptime"" & @CRLF & _
"# oid = ".1.3.6.1.2.1.1.3.0"" & @CRLF & _
"# unit = "second"" & @CRLF & _
"#" & @CRLF & _
"# [[inputs.snmp.bulk]]" & @CRLF & _
"# name = "mybulk"" & @CRLF & _
"# max_repetition = 127" & @CRLF & _
"# oid = ".1.3.6.1.2.1.1"" & @CRLF & _
"#" & @CRLF & _
"# [[inputs.snmp.bulk]]" & @CRLF & _
"# name = "ifoutoctets"" & @CRLF & _
"# max_repetition = 127" & @CRLF & _
"# oid = "ifOutOctets"" & @CRLF & _
"#" & @CRLF & _
"# [[inputs.snmp.host]]" & @CRLF & _
"# address = "192.168.2.13:161"" & @CRLF & _
"# #address = "127.0.0.1:161"" & @CRLF & _
"# community = "public"" & @CRLF & _
"# version = 2" & @CRLF & _
"# timeout = 2.0" & @CRLF & _
"# retries = 2" & @CRLF & _
"# #collect = ["mybulk", "sysservices", "sysdescr", "systype"]" & @CRLF & _
"# collect = ["sysuptime" ]" & @CRLF & _
"# [[inputs.snmp.host.table]]" & @CRLF & _
"# name = "iftable3"" & @CRLF & _
"# include_instances = ["enp5s0", "eth1"]" & @CRLF & _
"#" & @CRLF & _
"# # SNMP TABLEs" & @CRLF & _
"# # table without mapping neither subtables" & @CRLF & _
"# [[inputs.snmp.table]]" & @CRLF & _
"# name = "iftable1"" & @CRLF & _
"# oid = ".1.3.6.1.2.1.31.1.1.1"" & @CRLF & _
"#" & @CRLF & _
"# # table without mapping but with subtables" & @CRLF & _
"# [[inputs.snmp.table]]" & @CRLF & _
"# name = "iftable2"" & @CRLF & _
"# oid = ".1.3.6.1.2.1.31.1.1.1"" & @CRLF & _
"# sub_tables = [".1.3.6.1.2.1.2.2.1.13"]" & @CRLF & _
"#" & @CRLF & _
"# # table with mapping but without subtables" & @CRLF & _
"# [[inputs.snmp.table]]" & @CRLF & _
"# name = "iftable3"" & @CRLF & _
"# oid = ".1.3.6.1.2.1.31.1.1.1"" & @CRLF & _
"# # if empty. get all instances" & @CRLF & _
"# mapping_table = ".1.3.6.1.2.1.31.1.1.1.1"" & @CRLF & _
"# # if empty, get all subtables" & @CRLF & _
"#" & @CRLF & _
"# # table with both mapping and subtables" & @CRLF & _
"# [[inputs.snmp.table]]" & @CRLF & _
"# name = "iftable4"" & @CRLF & _
"# oid = ".1.3.6.1.2.1.31.1.1.1"" & @CRLF & _
"# # if empty get all instances" & @CRLF & _
"# mapping_table = ".1.3.6.1.2.1.31.1.1.1.1"" & @CRLF & _
"# # if empty get all subtables" & @CRLF & _
"# # sub_tables could be not "real subtables"" & @CRLF & _
"# sub_tables=[".1.3.6.1.2.1.2.2.1.13", "bytes_recv", "bytes_send"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read stats from one or more Solr servers or cores" & @CRLF & _
"# [[inputs.solr]]" & @CRLF & _
"# ## specify a list of one or more Solr servers" & @CRLF & _
"# servers = ["http://localhost:8983"]" & @CRLF & _
"#" & @CRLF & _
"# ## specify a list of one or more Solr cores (default - all)" & @CRLF & _
"# # cores = ["main"]" & @CRLF & _
"#" & @CRLF & _
"# ## Optional HTTP Basic Auth Credentials" & @CRLF & _
"# # username = "username"" & @CRLF & _
"# # password = "pa$$word"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from Microsoft SQL Server" & @CRLF & _
"# [[inputs.sqlserver]]" & @CRLF & _
"# ## Specify instances to monitor with a list of connection strings." & @CRLF & _
"# ## All connection parameters are optional." & @CRLF & _
"# ## By default, the host is localhost, listening on default port, TCP 1433." & @CRLF & _
"# ## for Windows, the user is the currently running AD user (SSO)." & @CRLF & _
"# ## See https://github.com/denisenkom/go-mssqldb for detailed connection" & @CRLF & _
"# ## parameters." & @CRLF & _
"# # servers = [" & @CRLF & _
"# # "Server=192.168.1.10;Port=1433;User Id=<user>;Password=<pw>;app name=telegraf;log=1;"," & @CRLF & _
"# # ]" & @CRLF & _
"#" & @CRLF & _
"# ## Optional parameter, setting this to 2 will use a new version" & @CRLF & _
"# ## of the collection queries that break compatibility with the original" & @CRLF & _
"# ## dashboards." & @CRLF & _
"# query_version = 2" & @CRLF & _
"#" & @CRLF & _
"# ## If you are using AzureDB, setting this to true will gather resource utilization metrics" & @CRLF & _
"# # azuredb = false" & @CRLF & _
"#" & @CRLF & _
"# ## If you would like to exclude some of the metrics queries, list them here" & @CRLF & _
"# ## Possible choices:" & @CRLF & _
"# ## - PerformanceCounters" & @CRLF & _
"# ## - WaitStatsCategorized" & @CRLF & _
"# ## - DatabaseIO" & @CRLF & _
"# ## - DatabaseProperties" & @CRLF & _
"# ## - CPUHistory" & @CRLF & _
"# ## - DatabaseSize" & @CRLF & _
"# ## - DatabaseStats" & @CRLF & _
"# ## - MemoryClerk" & @CRLF & _
"# ## - VolumeSpace" & @CRLF & _
"# ## - PerformanceMetrics" & @CRLF & _
"# # exclude_query = [ 'DatabaseIO' ]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Gather timeseries from Google Cloud Platform v3 monitoring API" & @CRLF & _
"# [[inputs.stackdriver]]" & @CRLF & _
"# ## GCP Project" & @CRLF & _
"# project = "erudite-bloom-151019"" & @CRLF & _
"#" & @CRLF & _
"# ## Include timeseries that start with the given metric type." & @CRLF & _
"# metric_type_prefix_include = [" & @CRLF & _
"# "compute.googleapis.com/"," & @CRLF & _
"# ]" & @CRLF & _
"#" & @CRLF & _
"# ## Exclude timeseries that start with the given metric type." & @CRLF & _
"# # metric_type_prefix_exclude = []" & @CRLF & _
"#" & @CRLF & _
"# ## Many metrics are updated once per minute; it is recommended to override" & @CRLF & _
"# ## the agent level interval with a value of 1m or greater." & @CRLF & _
"# interval = "1m"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum number of API calls to make per second. The quota for accounts" & @CRLF & _
"# ## varies, it can be viewed on the API dashboard:" & @CRLF & _
"# ## https://cloud.google.com/monitoring/quotas#quotas_and_limits" & @CRLF & _
"# # rate_limit = 14" & @CRLF & _
"#" & @CRLF & _
"# ## The delay and window options control the number of points selected on" & @CRLF & _
"# ## each gather. When set, metrics are gathered between:" & @CRLF & _
"# ## start: now() - delay - window" & @CRLF & _
"# ## end: now() - delay" & @CRLF & _
"# #" & @CRLF & _
"# ## Collection delay; if set too low metrics may not yet be available." & @CRLF & _
"# # delay = "5m"" & @CRLF & _
"# #" & @CRLF & _
"# ## If unset, the window will start at 1m and be updated dynamically to span" & @CRLF & _
"# ## the time between calls (approximately the length of the plugin interval)." & @CRLF & _
"# # window = "1m"" & @CRLF & _
"#" & @CRLF & _
"# ## TTL for cached list of metric types. This is the maximum amount of time" & @CRLF & _
"# ## it may take to discover new metrics." & @CRLF & _
"# # cache_ttl = "1h"" & @CRLF & _
"#" & @CRLF & _
"# ## If true, raw bucket counts are collected for distribution value types." & @CRLF & _
"# ## For a more lightweight collection, you may wish to disable and use" & @CRLF & _
"# ## distribution_aggregation_aligners instead." & @CRLF & _
"# # gather_raw_distribution_buckets = true" & @CRLF & _
"#" & @CRLF & _
"# ## Aggregate functions to be used for metrics whose value type is" & @CRLF & _
"# ## distribution. These aggregate values are recorded in in addition to raw" & @CRLF & _
"# ## bucket counts; if they are enabled." & @CRLF & _
"# ##" & @CRLF & _
"# ## For a list of aligner strings see:" & @CRLF & _
"# ## https://cloud.google.com/monitoring/api/ref_v3/rpc/google.monitoring.v3#aligner" & @CRLF & _
"# # distribution_aggregation_aligners = [" & @CRLF & _
"# # "ALIGN_PERCENTILE_99"," & @CRLF & _
"# # "ALIGN_PERCENTILE_95"," & @CRLF & _
"# # "ALIGN_PERCENTILE_50"," & @CRLF & _
"# # ]" & @CRLF & _
"#" & @CRLF & _
"# ## Filters can be added to reduce the number of time series matched. All" & @CRLF & _
"# ## functions are supported: starts_with, ends_with, has_substring, and" & @CRLF & _
"# ## one_of. Only the '=' operator is supported." & @CRLF & _
"# ##" & @CRLF & _
"# ## The logical operators when combining filters are defined statically using" & @CRLF & _
"# ## the following values:" & @CRLF & _
"# ## filter ::= <resource_labels> {AND <metric_labels>}" & @CRLF & _
"# ## resource_labels ::= <resource_labels> {OR <resource_label>}" & @CRLF & _
"# ## metric_labels ::= <metric_labels> {OR <metric_label>}" & @CRLF & _
"# ##" & @CRLF & _
"# ## For more details, see https://cloud.google.com/monitoring/api/v3/filters" & @CRLF & _
"# #" & @CRLF & _
"# ## Resource labels refine the time series selection with the following expression:" & @CRLF & _
"# ## resource.labels.<key> = <value>" & @CRLF & _
"# # [[inputs.stackdriver.filter.resource_labels]]" & @CRLF & _
"# # key = "instance_name"" & @CRLF & _
"# # value = 'starts_with("localhost")'" & @CRLF & _
"# #" & @CRLF & _
"# ## Metric labels refine the time series selection with the following expression:" & @CRLF & _
"# ## metric.labels.<key> = <value>" & @CRLF & _
"# # [[inputs.stackdriver.filter.metric_labels]]" & @CRLF & _
"# # key = "device_name"" & @CRLF & _
"# # value = 'one_of("sda", "sdb")'" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Sysstat metrics collector" & @CRLF & _
"# [[inputs.sysstat]]" & @CRLF & _
"# ## Path to the sadc command." & @CRLF & _
"# #" & @CRLF & _
"# ## Common Defaults:" & @CRLF & _
"# ## Debian/Ubuntu: /usr/lib/sysstat/sadc" & @CRLF & _
"# ## Arch: /usr/lib/sa/sadc" & @CRLF & _
"# ## RHEL/CentOS: /usr/lib64/sa/sadc" & @CRLF & _
"# sadc_path = "/usr/lib/sa/sadc" # required" & @CRLF & _
"# #" & @CRLF & _
"# #" & @CRLF & _
"# ## Path to the sadf command, if it is not in PATH" & @CRLF & _
"# # sadf_path = "/usr/bin/sadf"" & @CRLF & _
"# #" & @CRLF & _
"# #" & @CRLF & _
"# ## Activities is a list of activities, that are passed as argument to the" & @CRLF & _
"# ## sadc collector utility (e.g: DISK, SNMP etc...)" & @CRLF & _
"# ## The more activities that are added, the more data is collected." & @CRLF & _
"# # activities = ["DISK"]" & @CRLF & _
"# #" & @CRLF & _
"# #" & @CRLF & _
"# ## Group metrics to measurements." & @CRLF & _
"# ##" & @CRLF & _
"# ## If group is false each metric will be prefixed with a description" & @CRLF & _
"# ## and represents itself a measurement." & @CRLF & _
"# ##" & @CRLF & _
"# ## If Group is true, corresponding metrics are grouped to a single measurement." & @CRLF & _
"# # group = true" & @CRLF & _
"# #" & @CRLF & _
"# #" & @CRLF & _
"# ## Options for the sadf command. The values on the left represent the sadf" & @CRLF & _
"# ## options and the values on the right their description (which are used for" & @CRLF & _
"# ## grouping and prefixing metrics)." & @CRLF & _
"# ##" & @CRLF & _
"# ## Run 'sar -h' or 'man sar' to find out the supported options for your" & @CRLF & _
"# ## sysstat version." & @CRLF & _
"# [inputs.sysstat.options]" & @CRLF & _
"# -C = "cpu"" & @CRLF & _
"# -B = "paging"" & @CRLF & _
"# -b = "io"" & @CRLF & _
"# -d = "disk" # requires DISK activity" & @CRLF & _
"# "-n ALL" = "network"" & @CRLF & _
"# "-P ALL" = "per_cpu"" & @CRLF & _
"# -q = "queue"" & @CRLF & _
"# -R = "mem"" & @CRLF & _
"# -r = "mem_util"" & @CRLF & _
"# -S = "swap_util"" & @CRLF & _
"# -u = "cpu_util"" & @CRLF & _
"# -v = "inode"" & @CRLF & _
"# -W = "swap"" & @CRLF & _
"# -w = "task"" & @CRLF & _
"# # -H = "hugepages" # only available for newer linux distributions" & @CRLF & _
"# # "-I ALL" = "interrupts" # requires INT activity" & @CRLF & _
"# #" & @CRLF & _
"# #" & @CRLF & _
"# ## Device tags can be used to add additional tags for devices." & @CRLF & _
"# ## For example the configuration below adds a tag vg with value rootvg for" & @CRLF & _
"# ## all metrics with sda devices." & @CRLF & _
"# # [[inputs.sysstat.device_tags.sda]]" & @CRLF & _
"# # vg = "rootvg"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Reads metrics from a Teamspeak 3 Server via ServerQuery" & @CRLF & _
"# [[inputs.teamspeak]]" & @CRLF & _
"# ## Server address for Teamspeak 3 ServerQuery" & @CRLF & _
"# # server = "127.0.0.1:10011"" & @CRLF & _
"# ## Username for ServerQuery" & @CRLF & _
"# username = "serverqueryuser"" & @CRLF & _
"# ## Password for ServerQuery" & @CRLF & _
"# password = "secret"" & @CRLF & _
"# ## Array of virtual servers" & @CRLF & _
"# # virtual_servers = [1]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics about temperature" & @CRLF & _
"# [[inputs.temp]]" & @CRLF & _
"# # no configuration" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read Tengine's basic status information (ngx_http_reqstat_module)" & @CRLF & _
"# [[inputs.tengine]]" & @CRLF & _
"# # An array of Tengine reqstat module URI to gather stats." & @CRLF & _
"# urls = ["http://127.0.0.1/us"]" & @CRLF & _
"#" & @CRLF & _
"# # HTTP response timeout (default: 5s)" & @CRLF & _
"# # response_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.cer"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.key"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Gather metrics from the Tomcat server status page." & @CRLF & _
"# [[inputs.tomcat]]" & @CRLF & _
"# ## URL of the Tomcat server status" & @CRLF & _
"# # url = "http://127.0.0.1:8080/manager/status/all?XML=true"" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP Basic Auth Credentials" & @CRLF & _
"# # username = "tomcat"" & @CRLF & _
"# # password = "s3cret"" & @CRLF & _
"#" & @CRLF & _
"# ## Request timeout" & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Inserts sine and cosine waves for demonstration purposes" & @CRLF & _
"# [[inputs.trig]]" & @CRLF & _
"# ## Set the amplitude" & @CRLF & _
"# amplitude = 10.0" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read Twemproxy stats data" & @CRLF & _
"# [[inputs.twemproxy]]" & @CRLF & _
"# ## Twemproxy stats address and port (no scheme)" & @CRLF & _
"# addr = "localhost:22222"" & @CRLF & _
"# ## Monitor pool name" & @CRLF & _
"# pools = ["redis_pool", "mc_pool"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # A plugin to collect stats from the Unbound DNS resolver" & @CRLF & _
"# [[inputs.unbound]]" & @CRLF & _
"# ## Address of server to connect to, read from unbound conf default, optionally ':port'" & @CRLF & _
"# ## Will lookup IP if given a hostname" & @CRLF & _
"# server = "127.0.0.1:8953"" & @CRLF & _
"#" & @CRLF & _
"# ## If running as a restricted user you can prepend sudo for additional access:" & @CRLF & _
"# # use_sudo = false" & @CRLF & _
"#" & @CRLF & _
"# ## The default location of the unbound-control binary can be overridden with:" & @CRLF & _
"# # binary = "/usr/sbin/unbound-control"" & @CRLF & _
"#" & @CRLF & _
"# ## The default timeout of 1s can be overriden with:" & @CRLF & _
"# # timeout = "1s"" & @CRLF & _
"#" & @CRLF & _
"# ## When set to true, thread metrics are tagged with the thread id." & @CRLF & _
"# ##" & @CRLF & _
"# ## The default is false for backwards compatibility, and will be changed to" & @CRLF & _
"# ## true in a future version. It is recommended to set to true on new" & @CRLF & _
"# ## deployments." & @CRLF & _
"# thread_as_tag = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # A plugin to collect stats from Varnish HTTP Cache" & @CRLF & _
"# [[inputs.varnish]]" & @CRLF & _
"# ## If running as a restricted user you can prepend sudo for additional access:" & @CRLF & _
"# #use_sudo = false" & @CRLF & _
"#" & @CRLF & _
"# ## The default location of the varnishstat binary can be overridden with:" & @CRLF & _
"# binary = "/usr/bin/varnishstat"" & @CRLF & _
"#" & @CRLF & _
"# ## By default, telegraf gather stats for 3 metric points." & @CRLF & _
"# ## Setting stats will override the defaults shown below." & @CRLF & _
"# ## Glob matching can be used, ie, stats = ["MAIN.*"]" & @CRLF & _
"# ## stats may also be set to ["*"], which will collect all stats" & @CRLF & _
"# stats = ["MAIN.cache_hit", "MAIN.cache_miss", "MAIN.uptime"]" & @CRLF & _
"#" & @CRLF & _
"# ## Optional name for the varnish instance (or working directory) to query" & @CRLF & _
"# ## Usually appened after -n in varnish cli" & @CRLF & _
"# # instance_name = instanceName" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for varnishstat command" & @CRLF & _
"# # timeout = "1s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Monitor wifi signal strength and quality" & @CRLF & _
"# [[inputs.wireless]]" & @CRLF & _
"# ## Sets 'proc' directory path" & @CRLF & _
"# ## If not specified, then default is /proc" & @CRLF & _
"# # host_proc = "/proc"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Reads metrics from a SSL certificate" & @CRLF & _
"# [[inputs.x509_cert]]" & @CRLF & _
"# ## List certificate sources" & @CRLF & _
"# sources = ["/etc/ssl/certs/ssl-cert-snakeoil.pem", "tcp://example.org:443"]" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for SSL connection" & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"#" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics of ZFS from arcstats, zfetchstats, vdev_cache_stats, and pools" & @CRLF & _
"# [[inputs.zfs]]" & @CRLF & _
"# ## ZFS kstat path. Ignored on FreeBSD" & @CRLF & _
"# ## If not specified, then default is:" & @CRLF & _
"# # kstatPath = "/proc/spl/kstat/zfs"" & @CRLF & _
"#" & @CRLF & _
"# ## By default, telegraf gather all zfs stats" & @CRLF & _
"# ## If not specified, then default is:" & @CRLF & _
"# # kstatMetrics = ["arcstats", "zfetchstats", "vdev_cache_stats"]" & @CRLF & _
"# ## For Linux, the default is:" & @CRLF & _
"# # kstatMetrics = ["abdstats", "arcstats", "dnodestats", "dbufcachestats"," & @CRLF & _
"# # "dmu_tx", "fm", "vdev_mirror_stats", "zfetchstats", "zil"]" & @CRLF & _
"# ## By default, don't gather zpool stats" & @CRLF & _
"# # poolMetrics = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Reads 'mntr' stats from one or many zookeeper servers" & @CRLF & _
"# [[inputs.zookeeper]]" & @CRLF & _
"# ## An array of address to gather stats about. Specify an ip or hostname" & @CRLF & _
"# ## with port. ie localhost:2181, 10.0.0.1:2181, etc." & @CRLF & _
"#" & @CRLF & _
"# ## If no servers are specified, then localhost is used as the host." & @CRLF & _
"# ## If no port is specified, 2181 is used" & @CRLF & _
"# servers = [":2181"]" & @CRLF & _
"#" & @CRLF & _
"# ## Timeout for metric collections from all servers. Minimum timeout is "1s"." & @CRLF & _
"# # timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # enable_tls = true" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## If false, skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = true" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"###############################################################################" & @CRLF & _
"# SERVICE INPUT PLUGINS #" & @CRLF & _
"###############################################################################" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # AMQP consumer plugin" & @CRLF & _
"# [[inputs.amqp_consumer]]" & @CRLF & _
"# ## Broker to consume from." & @CRLF & _
"# ## deprecated in 1.7; use the brokers option" & @CRLF & _
"# # url = "amqp://localhost:5672/influxdb"" & @CRLF & _
"#" & @CRLF & _
"# ## Brokers to consume from. If multiple brokers are specified a random broker" & @CRLF & _
"# ## will be selected anytime a connection is established. This can be" & @CRLF & _
"# ## helpful for load balancing when not using a dedicated load balancer." & @CRLF & _
"# brokers = ["amqp://localhost:5672/influxdb"]" & @CRLF & _
"#" & @CRLF & _
"# ## Authentication credentials for the PLAIN auth_method." & @CRLF & _
"# # username = """ & @CRLF & _
"# # password = """ & @CRLF & _
"#" & @CRLF & _
"# ## Name of the exchange to declare. If unset, no exchange will be declared." & @CRLF & _
"# exchange = "telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## Exchange type; common types are "direct", "fanout", "topic", "header", "x-consistent-hash"." & @CRLF & _
"# # exchange_type = "topic"" & @CRLF & _
"#" & @CRLF & _
"# ## If true, exchange will be passively declared." & @CRLF & _
"# # exchange_passive = false" & @CRLF & _
"#" & @CRLF & _
"# ## Exchange durability can be either "transient" or "durable"." & @CRLF & _
"# # exchange_durability = "durable"" & @CRLF & _
"#" & @CRLF & _
"# ## Additional exchange arguments." & @CRLF & _
"# # exchange_arguments = { }" & @CRLF & _
"# # exchange_arguments = {"hash_propery" = "timestamp"}" & @CRLF & _
"#" & @CRLF & _
"# ## AMQP queue name." & @CRLF & _
"# queue = "telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## AMQP queue durability can be "transient" or "durable"." & @CRLF & _
"# queue_durability = "durable"" & @CRLF & _
"#" & @CRLF & _
"# ## If true, queue will be passively declared." & @CRLF & _
"# # queue_passive = false" & @CRLF & _
"#" & @CRLF & _
"# ## A binding between the exchange and queue using this binding key is" & @CRLF & _
"# ## created. If unset, no binding is created." & @CRLF & _
"# binding_key = "#"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum number of messages server should give to the worker." & @CRLF & _
"# # prefetch_count = 50" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum messages to read from the broker that have not been written by an" & @CRLF & _
"# ## output. For best throughput set based on the number of metrics within" & @CRLF & _
"# ## each message and the size of the output's metric_batch_size." & @CRLF & _
"# ##" & @CRLF & _
"# ## For example, if each message from the queue contains 10 metrics and the" & @CRLF & _
"# ## output metric_batch_size is 1000, setting this to 100 will ensure that a" & @CRLF & _
"# ## full batch is collected and the write is triggered immediately without" & @CRLF & _
"# ## waiting until the next flush_interval." & @CRLF & _
"# # max_undelivered_messages = 1000" & @CRLF & _
"#" & @CRLF & _
"# ## Auth method. PLAIN and EXTERNAL are supported" & @CRLF & _
"# ## Using EXTERNAL requires enabling the rabbitmq_auth_mechanism_ssl plugin as" & @CRLF & _
"# ## described here: https://www.rabbitmq.com/plugins.html" & @CRLF & _
"# # auth_method = "PLAIN"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Content encoding for message payloads, can be set to "gzip" to or" & @CRLF & _
"# ## "identity" to apply no encoding." & @CRLF & _
"# # content_encoding = "identity"" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read Cassandra metrics through Jolokia" & @CRLF & _
"# [[inputs.cassandra]]" & @CRLF & _
"# ## DEPRECATED: The cassandra plugin has been deprecated. Please use the" & @CRLF & _
"# ## jolokia2 plugin instead." & @CRLF & _
"# ##" & @CRLF & _
"# ## see https://github.com/influxdata/telegraf/tree/master/plugins/inputs/jolokia2" & @CRLF & _
"#" & @CRLF & _
"# context = "/jolokia/read"" & @CRLF & _
"# ## List of cassandra servers exposing jolokia read service" & @CRLF & _
"# servers = ["myuser:mypassword@10.10.10.1:8778","10.10.10.2:8778",":8778"]" & @CRLF & _
"# ## List of metrics collected on above servers" & @CRLF & _
"# ## Each metric consists of a jmx path." & @CRLF & _
"# ## This will collect all heap memory usage metrics from the jvm and" & @CRLF & _
"# ## ReadLatency metrics for all keyspaces and tables." & @CRLF & _
"# ## "type=Table" in the query works with Cassandra3.0. Older versions might" & @CRLF & _
"# ## need to use "type=ColumnFamily"" & @CRLF & _
"# metrics = [" & @CRLF & _
"# "/java.lang:type=Memory/HeapMemoryUsage"," & @CRLF & _
"# "/org.apache.cassandra.metrics:type=Table,keyspace=*,scope=*,name=ReadLatency"" & @CRLF & _
"# ]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Cisco GNMI telemetry input plugin based on GNMI telemetry data produced in IOS XR" & @CRLF & _
"# [[inputs.cisco_telemetry_gnmi]]" & @CRLF & _
"# ## Address and port of the GNMI GRPC server" & @CRLF & _
"# addresses = ["10.49.234.114:57777"]" & @CRLF & _
"#" & @CRLF & _
"# ## define credentials" & @CRLF & _
"# username = "cisco"" & @CRLF & _
"# password = "cisco"" & @CRLF & _
"#" & @CRLF & _
"# ## GNMI encoding requested (one of: "proto", "json", "json_ietf")" & @CRLF & _
"# # encoding = "proto"" & @CRLF & _
"#" & @CRLF & _
"# ## redial in case of failures after" & @CRLF & _
"# redial = "10s"" & @CRLF & _
"#" & @CRLF & _
"# ## enable client-side TLS and define CA to authenticate the device" & @CRLF & _
"# # enable_tls = true" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # insecure_skip_verify = true" & @CRLF & _
"#" & @CRLF & _
"# ## define client-side TLS certificate & key to authenticate to the device" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"#" & @CRLF & _
"# ## GNMI subscription prefix (optional, can usually be left empty)" & @CRLF & _
"# ## See: https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-specification.md#222-paths" & @CRLF & _
"# # origin = """ & @CRLF & _
"# # prefix = """ & @CRLF & _
"# # target = """ & @CRLF & _
"#" & @CRLF & _
"# ## Define additional aliases to map telemetry encoding paths to simple measurement names" & @CRLF & _
"# #[inputs.cisco_telemetry_gnmi.aliases]" & @CRLF & _
"# # ifcounters = "openconfig:/interfaces/interface/state/counters"" & @CRLF & _
"#" & @CRLF & _
"# [[inputs.cisco_telemetry_gnmi.subscription]]" & @CRLF & _
"# ## Name of the measurement that will be emitted" & @CRLF & _
"# name = "ifcounters"" & @CRLF & _
"#" & @CRLF & _
"# ## Origin and path of the subscription" & @CRLF & _
"# ## See: https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-specification.md#222-paths" & @CRLF & _
"# ##" & @CRLF & _
"# ## origin usually refers to a (YANG) data model implemented by the device" & @CRLF & _
"# ## and path to a specific substructe inside it that should be subscribed to (similar to an XPath)" & @CRLF & _
"# ## YANG models can be found e.g. here: https://github.com/YangModels/yang/tree/master/vendor/cisco/xr" & @CRLF & _
"# origin = "openconfig-interfaces"" & @CRLF & _
"# path = "/interfaces/interface/state/counters"" & @CRLF & _
"#" & @CRLF & _
"# # Subscription mode (one of: "target_defined", "sample", "on_change") and interval" & @CRLF & _
"# subscription_mode = "sample"" & @CRLF & _
"# sample_interval = "10s"" & @CRLF & _
"#" & @CRLF & _
"# ## Suppress redundant transmissions when measured values are unchanged" & @CRLF & _
"# # suppress_redundant = false" & @CRLF & _
"#" & @CRLF & _
"# ## If suppression is enabled, send updates at least every X seconds anyway" & @CRLF & _
"# # heartbeat_interval = "60s"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Cisco model-driven telemetry (MDT) input plugin for IOS XR, IOS XE and NX-OS platforms" & @CRLF & _
"# [[inputs.cisco_telemetry_mdt]]" & @CRLF & _
"# ## Telemetry transport (one of: tcp, grpc)" & @CRLF & _
"# transport = "grpc"" & @CRLF & _
"#" & @CRLF & _
"# ## Address and port to host telemetry listener" & @CRLF & _
"# service_address = ":57000"" & @CRLF & _
"#" & @CRLF & _
"# ## Enable TLS for GRPC transport" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"#" & @CRLF & _
"# ## Enable TLS client authentication and define allowed CA certificates" & @CRLF & _
"# # tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]" & @CRLF & _
"#" & @CRLF & _
"# ## Define aliases to map telemetry encoding paths to simple measurement names" & @CRLF & _
"# [inputs.cisco_telemetry_mdt.aliases]" & @CRLF & _
"# ifstats = "ietf-interfaces:interfaces-state/interface/statistics"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from Google PubSub" & @CRLF & _
"# [[inputs.cloud_pubsub]]" & @CRLF & _
"# ## Required. Name of Google Cloud Platform (GCP) Project that owns" & @CRLF & _
"# ## the given PubSub subscription." & @CRLF & _
"# project = "my-project"" & @CRLF & _
"#" & @CRLF & _
"# ## Required. Name of PubSub subscription to ingest metrics from." & @CRLF & _
"# subscription = "my-subscription"" & @CRLF & _
"#" & @CRLF & _
"# ## Required. Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options." & @CRLF & _
"# ## Read more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Filepath for GCP credentials JSON file to authorize calls to" & @CRLF & _
"# ## PubSub APIs. If not set explicitly, Telegraf will attempt to use" & @CRLF & _
"# ## Application Default Credentials, which is preferred." & @CRLF & _
"# # credentials_file = "path/to/my/creds.json"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Number of seconds to wait before attempting to restart the" & @CRLF & _
"# ## PubSub subscription receiver after an unexpected error." & @CRLF & _
"# ## If the streaming pull for a PubSub Subscription fails (receiver)," & @CRLF & _
"# ## the agent attempts to restart receiving messages after this many seconds." & @CRLF & _
"# # retry_delay_seconds = 5" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Maximum byte length of a message to consume." & @CRLF & _
"# ## Larger messages are dropped with an error. If less than 0 or unspecified," & @CRLF & _
"# ## treated as no limit." & @CRLF & _
"# # max_message_len = 1000000" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Maximum messages to read from PubSub that have not been written" & @CRLF & _
"# ## to an output. Defaults to 1000." & @CRLF & _
"# ## For best throughput set based on the number of metrics within" & @CRLF & _
"# ## each message and the size of the output's metric_batch_size." & @CRLF & _
"# ##" & @CRLF & _
"# ## For example, if each message contains 10 metrics and the output" & @CRLF & _
"# ## metric_batch_size is 1000, setting this to 100 will ensure that a" & @CRLF & _
"# ## full batch is collected and the write is triggered immediately without" & @CRLF & _
"# ## waiting until the next flush_interval." & @CRLF & _
"# # max_undelivered_messages = 1000" & @CRLF & _
"#" & @CRLF & _
"# ## The following are optional Subscription ReceiveSettings in PubSub." & @CRLF & _
"# ## Read more about these values:" & @CRLF & _
"# ## https://godoc.org/cloud.google.com/go/pubsub#ReceiveSettings" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Maximum number of seconds for which a PubSub subscription" & @CRLF & _
"# ## should auto-extend the PubSub ACK deadline for each message. If less than" & @CRLF & _
"# ## 0, auto-extension is disabled." & @CRLF & _
"# # max_extension = 0" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Maximum number of unprocessed messages in PubSub" & @CRLF & _
"# ## (unacknowledged but not yet expired in PubSub)." & @CRLF & _
"# ## A value of 0 is treated as the default PubSub value." & @CRLF & _
"# ## Negative values will be treated as unlimited." & @CRLF & _
"# # max_outstanding_messages = 0" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Maximum size in bytes of unprocessed messages in PubSub" & @CRLF & _
"# ## (unacknowledged but not yet expired in PubSub)." & @CRLF & _
"# ## A value of 0 is treated as the default PubSub value." & @CRLF & _
"# ## Negative values will be treated as unlimited." & @CRLF & _
"# # max_outstanding_bytes = 0" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Max number of goroutines a PubSub Subscription receiver can spawn" & @CRLF & _
"# ## to pull messages from PubSub concurrently. This limit applies to each" & @CRLF & _
"# ## subscription separately and is treated as the PubSub default if less than" & @CRLF & _
"# ## 1. Note this setting does not limit the number of messages that can be" & @CRLF & _
"# ## processed concurrently (use "max_outstanding_messages" instead)." & @CRLF & _
"# # max_receiver_go_routines = 0" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. If true, Telegraf will attempt to base64 decode the" & @CRLF & _
"# ## PubSub message data before parsing" & @CRLF & _
"# # base64_data = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Google Cloud Pub/Sub Push HTTP listener" & @CRLF & _
"# [[inputs.cloud_pubsub_push]]" & @CRLF & _
"# ## Address and port to host HTTP listener on" & @CRLF & _
"# service_address = ":8080"" & @CRLF & _
"#" & @CRLF & _
"# ## Application secret to verify messages originate from Cloud Pub/Sub" & @CRLF & _
"# # token = """ & @CRLF & _
"#" & @CRLF & _
"# ## Path to listen to." & @CRLF & _
"# # path = "/"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum duration before timing out read of the request" & @CRLF & _
"# # read_timeout = "10s"" & @CRLF & _
"# ## Maximum duration before timing out write of the response. This should be set to a value" & @CRLF & _
"# ## large enough that you can send at least 'metric_batch_size' number of messages within the" & @CRLF & _
"# ## duration." & @CRLF & _
"# # write_timeout = "10s"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum allowed http request body size in bytes." & @CRLF & _
"# ## 0 means to use the default of 524,288,00 bytes (500 mebibytes)" & @CRLF & _
"# # max_body_size = "500MB"" & @CRLF & _
"#" & @CRLF & _
"# ## Whether to add the pubsub metadata, such as message attributes and subscription as a tag." & @CRLF & _
"# # add_meta = false" & @CRLF & _
"#" & @CRLF & _
"# ## Optional. Maximum messages to read from PubSub that have not been written" & @CRLF & _
"# ## to an output. Defaults to 1000." & @CRLF & _
"# ## For best throughput set based on the number of metrics within" & @CRLF & _
"# ## each message and the size of the output's metric_batch_size." & @CRLF & _
"# ##" & @CRLF & _
"# ## For example, if each message contains 10 metrics and the output" & @CRLF & _
"# ## metric_batch_size is 1000, setting this to 100 will ensure that a" & @CRLF & _
"# ## full batch is collected and the write is triggered immediately without" & @CRLF & _
"# ## waiting until the next flush_interval." & @CRLF & _
"# # max_undelivered_messages = 1000" & @CRLF & _
"#" & @CRLF & _
"# ## Set one or more allowed client CA certificate file names to" & @CRLF & _
"# ## enable mutually authenticated TLS connections" & @CRLF & _
"# # tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]" & @CRLF & _
"#" & @CRLF & _
"# ## Add service certificate and key" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Influx HTTP write listener" & @CRLF & _
"# [[inputs.http_listener]]" & @CRLF & _
"# ## Address and port to host HTTP listener on" & @CRLF & _
"# service_address = ":8186"" & @CRLF & _
"#" & @CRLF & _
"# ## maximum duration before timing out read of the request" & @CRLF & _
"# read_timeout = "10s"" & @CRLF & _
"# ## maximum duration before timing out write of the response" & @CRLF & _
"# write_timeout = "10s"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum allowed http request body size in bytes." & @CRLF & _
"# ## 0 means to use the default of 524,288,000 bytes (500 mebibytes)" & @CRLF & _
"# max_body_size = "500MiB"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum line size allowed to be sent in bytes." & @CRLF & _
"# ## 0 means to use the default of 65536 bytes (64 kibibytes)" & @CRLF & _
"# max_line_size = "64KiB"" & @CRLF & _
"#" & @CRLF & _
"# ## Set one or more allowed client CA certificate file names to" & @CRLF & _
"# ## enable mutually authenticated TLS connections" & @CRLF & _
"# tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]" & @CRLF & _
"#" & @CRLF & _
"# ## Add service certificate and key" & @CRLF & _
"# tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional username and password to accept for HTTP basic authentication." & @CRLF & _
"# ## You probably want to make sure you have TLS configured above for this." & @CRLF & _
"# # basic_username = "foobar"" & @CRLF & _
"# # basic_password = "barfoo"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Generic HTTP write listener" & @CRLF & _
"# [[inputs.http_listener_v2]]" & @CRLF & _
"# ## Address and port to host HTTP listener on" & @CRLF & _
"# service_address = ":8080"" & @CRLF & _
"#" & @CRLF & _
"# ## Path to listen to." & @CRLF & _
"# # path = "/telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## HTTP methods to accept." & @CRLF & _
"# # methods = ["POST", "PUT"]" & @CRLF & _
"#" & @CRLF & _
"# ## maximum duration before timing out read of the request" & @CRLF & _
"# # read_timeout = "10s"" & @CRLF & _
"# ## maximum duration before timing out write of the response" & @CRLF & _
"# # write_timeout = "10s"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum allowed http request body size in bytes." & @CRLF & _
"# ## 0 means to use the default of 524,288,00 bytes (500 mebibytes)" & @CRLF & _
"# # max_body_size = "500MB"" & @CRLF & _
"#" & @CRLF & _
"# ## Set one or more allowed client CA certificate file names to" & @CRLF & _
"# ## enable mutually authenticated TLS connections" & @CRLF & _
"# # tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]" & @CRLF & _
"#" & @CRLF & _
"# ## Add service certificate and key" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional username and password to accept for HTTP basic authentication." & @CRLF & _
"# ## You probably want to make sure you have TLS configured above for this." & @CRLF & _
"# # basic_username = "foobar"" & @CRLF & _
"# # basic_password = "barfoo"" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Influx HTTP write listener" & @CRLF & _
"# [[inputs.influxdb_listener]]" & @CRLF & _
"# ## Address and port to host HTTP listener on" & @CRLF & _
"# service_address = ":8186"" & @CRLF & _
"#" & @CRLF & _
"# ## maximum duration before timing out read of the request" & @CRLF & _
"# read_timeout = "10s"" & @CRLF & _
"# ## maximum duration before timing out write of the response" & @CRLF & _
"# write_timeout = "10s"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum allowed http request body size in bytes." & @CRLF & _
"# ## 0 means to use the default of 524,288,000 bytes (500 mebibytes)" & @CRLF & _
"# max_body_size = "500MiB"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum line size allowed to be sent in bytes." & @CRLF & _
"# ## 0 means to use the default of 65536 bytes (64 kibibytes)" & @CRLF & _
"# max_line_size = "64KiB"" & @CRLF & _
"#" & @CRLF & _
"# ## Set one or more allowed client CA certificate file names to" & @CRLF & _
"# ## enable mutually authenticated TLS connections" & @CRLF & _
"# tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]" & @CRLF & _
"#" & @CRLF & _
"# ## Add service certificate and key" & @CRLF & _
"# tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional username and password to accept for HTTP basic authentication." & @CRLF & _
"# ## You probably want to make sure you have TLS configured above for this." & @CRLF & _
"# # basic_username = "foobar"" & @CRLF & _
"# # basic_password = "barfoo"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read JTI OpenConfig Telemetry from listed sensors" & @CRLF & _
"# [[inputs.jti_openconfig_telemetry]]" & @CRLF & _
"# ## List of device addresses to collect telemetry from" & @CRLF & _
"# servers = ["localhost:1883"]" & @CRLF & _
"#" & @CRLF & _
"# ## Authentication details. Username and password are must if device expects" & @CRLF & _
"# ## authentication. Client ID must be unique when connecting from multiple instances" & @CRLF & _
"# ## of telegraf to the same device" & @CRLF & _
"# username = "user"" & @CRLF & _
"# password = "pass"" & @CRLF & _
"# client_id = "telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## Frequency to get data" & @CRLF & _
"# sample_frequency = "1000ms"" & @CRLF & _
"#" & @CRLF & _
"# ## Sensors to subscribe for" & @CRLF & _
"# ## A identifier for each sensor can be provided in path by separating with space" & @CRLF & _
"# ## Else sensor path will be used as identifier" & @CRLF & _
"# ## When identifier is used, we can provide a list of space separated sensors." & @CRLF & _
"# ## A single subscription will be created with all these sensors and data will" & @CRLF & _
"# ## be saved to measurement with this identifier name" & @CRLF & _
"# sensors = [" & @CRLF & _
"# "/interfaces/"," & @CRLF & _
"# "collection /components/ /lldp"," & @CRLF & _
"# ]" & @CRLF & _
"#" & @CRLF & _
"# ## We allow specifying sensor group level reporting rate. To do this, specify the" & @CRLF & _
"# ## reporting rate in Duration at the beginning of sensor paths / collection" & @CRLF & _
"# ## name. For entries without reporting rate, we use configured sample frequency" & @CRLF & _
"# sensors = [" & @CRLF & _
"# "1000ms customReporting /interfaces /lldp"," & @CRLF & _
"# "2000ms collection /components"," & @CRLF & _
"# "/interfaces"," & @CRLF & _
"# ]" & @CRLF & _
"#" & @CRLF & _
"# ## x509 Certificate to use with TLS connection. If it is not provided, an insecure" & @CRLF & _
"# ## channel will be opened with server" & @CRLF & _
"# ssl_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"#" & @CRLF & _
"# ## Delay between retry attempts of failed RPC calls or streams. Defaults to 1000ms." & @CRLF & _
"# ## Failed streams/calls will not be retried if 0 is provided" & @CRLF & _
"# retry_delay = "1000ms"" & @CRLF & _
"#" & @CRLF & _
"# ## To treat all string values as tags, set this to true" & @CRLF & _
"# str_as_tags = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from Kafka topic(s)" & @CRLF & _
"# [[inputs.kafka_consumer]]" & @CRLF & _
"# ## kafka servers" & @CRLF & _
"# brokers = ["localhost:9092"]" & @CRLF & _
"# ## topic(s) to consume" & @CRLF & _
"# topics = ["telegraf"]" & @CRLF & _
"# ## Add topic as tag if topic_tag is not empty" & @CRLF & _
"# # topic_tag = """ & @CRLF & _
"#" & @CRLF & _
"# ## Optional Client id" & @CRLF & _
"# # client_id = "Telegraf"" & @CRLF & _
"#" & @CRLF & _
"# ## Set the minimal supported Kafka version. Setting this enables the use of new" & @CRLF & _
"# ## Kafka features and APIs. Of particular interest, lz4 compression" & @CRLF & _
"# ## requires at least version 0.10.0.0." & @CRLF & _
"# ## ex: version = "1.1.0"" & @CRLF & _
"# # version = """ & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Optional SASL Config" & @CRLF & _
"# # sasl_username = "kafka"" & @CRLF & _
"# # sasl_password = "secret"" & @CRLF & _
"#" & @CRLF & _
"# ## the name of the consumer group" & @CRLF & _
"# consumer_group = "telegraf_metrics_consumers"" & @CRLF & _
"# ## Offset (must be either "oldest" or "newest")" & @CRLF & _
"# offset = "oldest"" & @CRLF & _
"# ## Maximum length of a message to consume, in bytes (default 0/unlimited);" & @CRLF & _
"# ## larger messages are dropped" & @CRLF & _
"# max_message_len = 1000000" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum messages to read from the broker that have not been written by an" & @CRLF & _
"# ## output. For best throughput set based on the number of metrics within" & @CRLF & _
"# ## each message and the size of the output's metric_batch_size." & @CRLF & _
"# ##" & @CRLF & _
"# ## For example, if each message from the queue contains 10 metrics and the" & @CRLF & _
"# ## output metric_batch_size is 1000, setting this to 100 will ensure that a" & @CRLF & _
"# ## full batch is collected and the write is triggered immediately without" & @CRLF & _
"# ## waiting until the next flush_interval." & @CRLF & _
"# # max_undelivered_messages = 1000" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from Kafka topic(s)" & @CRLF & _
"# [[inputs.kafka_consumer_legacy]]" & @CRLF & _
"# ## topic(s) to consume" & @CRLF & _
"# topics = ["telegraf"]" & @CRLF & _
"# ## an array of Zookeeper connection strings" & @CRLF & _
"# zookeeper_peers = ["localhost:2181"]" & @CRLF & _
"# ## Zookeeper Chroot" & @CRLF & _
"# zookeeper_chroot = """ & @CRLF & _
"# ## the name of the consumer group" & @CRLF & _
"# consumer_group = "telegraf_metrics_consumers"" & @CRLF & _
"# ## Offset (must be either "oldest" or "newest")" & @CRLF & _
"# offset = "oldest"" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum length of a message to consume, in bytes (default 0/unlimited);" & @CRLF & _
"# ## larger messages are dropped" & @CRLF & _
"# max_message_len = 65536" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Configuration for the AWS Kinesis input." & @CRLF & _
"# [[inputs.kinesis_consumer]]" & @CRLF & _
"# ## Amazon REGION of kinesis endpoint." & @CRLF & _
"# region = "ap-southeast-2"" & @CRLF & _
"#" & @CRLF & _
"# ## Amazon Credentials" & @CRLF & _
"# ## Credentials are loaded in the following order" & @CRLF & _
"# ## 1) Assumed credentials via STS if role_arn is specified" & @CRLF & _
"# ## 2) explicit credentials from 'access_key' and 'secret_key'" & @CRLF & _
"# ## 3) shared profile from 'profile'" & @CRLF & _
"# ## 4) environment variables" & @CRLF & _
"# ## 5) shared credentials file" & @CRLF & _
"# ## 6) EC2 Instance Profile" & @CRLF & _
"# # access_key = """ & @CRLF & _
"# # secret_key = """ & @CRLF & _
"# # token = """ & @CRLF & _
"# # role_arn = """ & @CRLF & _
"# # profile = """ & @CRLF & _
"# # shared_credential_file = """ & @CRLF & _
"#" & @CRLF & _
"# ## Endpoint to make request against, the correct endpoint is automatically" & @CRLF & _
"# ## determined and this option should only be set if you wish to override the" & @CRLF & _
"# ## default." & @CRLF & _
"# ## ex: endpoint_url = "http://localhost:8000"" & @CRLF & _
"# # endpoint_url = """ & @CRLF & _
"#" & @CRLF & _
"# ## Kinesis StreamName must exist prior to starting telegraf." & @CRLF & _
"# streamname = "StreamName"" & @CRLF & _
"#" & @CRLF & _
"# ## Shard iterator type (only 'TRIM_HORIZON' and 'LATEST' currently supported)" & @CRLF & _
"# # shard_iterator_type = "TRIM_HORIZON"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum messages to read from the broker that have not been written by an" & @CRLF & _
"# ## output. For best throughput set based on the number of metrics within" & @CRLF & _
"# ## each message and the size of the output's metric_batch_size." & @CRLF & _
"# ##" & @CRLF & _
"# ## For example, if each message from the queue contains 10 metrics and the" & @CRLF & _
"# ## output metric_batch_size is 1000, setting this to 100 will ensure that a" & @CRLF & _
"# ## full batch is collected and the write is triggered immediately without" & @CRLF & _
"# ## waiting until the next flush_interval." & @CRLF & _
"# # max_undelivered_messages = 1000" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional" & @CRLF & _
"# ## Configuration for a dynamodb checkpoint" & @CRLF & _
"# [inputs.kinesis_consumer.checkpoint_dynamodb]" & @CRLF & _
"# ## unique name for this consumer" & @CRLF & _
"# app_name = "default"" & @CRLF & _
"# table_name = "default"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Stream and parse log file(s)." & @CRLF & _
"# [[inputs.logparser]]" & @CRLF & _
"# ## Log files to parse." & @CRLF & _
"# ## These accept standard unix glob matching rules, but with the addition of" & @CRLF & _
"# ## ** as a "super asterisk". ie:" & @CRLF & _
"# ## /var/log/**.log -> recursively find all .log files in /var/log" & @CRLF & _
"# ## /var/log/*/*.log -> find all .log files with a parent dir in /var/log" & @CRLF & _
"# ## /var/log/apache.log -> only tail the apache log file" & @CRLF & _
"# files = ["/var/log/apache/access.log"]" & @CRLF & _
"#" & @CRLF & _
"# ## Read files that currently exist from the beginning. Files that are created" & @CRLF & _
"# ## while telegraf is running (and that match the "files" globs) will always" & @CRLF & _
"# ## be read from the beginning." & @CRLF & _
"# from_beginning = false" & @CRLF & _
"#" & @CRLF & _
"# ## Method used to watch for file updates. Can be either "inotify" or "poll"." & @CRLF & _
"# # watch_method = "inotify"" & @CRLF & _
"#" & @CRLF & _
"# ## Parse logstash-style "grok" patterns:" & @CRLF & _
"# [inputs.logparser.grok]" & @CRLF & _
"# ## This is a list of patterns to check the given log file(s) for." & @CRLF & _
"# ## Note that adding patterns here increases processing time. The most" & @CRLF & _
"# ## efficient configuration is to have one pattern per logparser." & @CRLF & _
"# ## Other common built-in patterns are:" & @CRLF & _
"# ## %{COMMON_LOG_FORMAT} (plain apache & nginx access logs)" & @CRLF & _
"# ## %{COMBINED_LOG_FORMAT} (access logs + referrer & agent)" & @CRLF & _
"# patterns = ["%{COMBINED_LOG_FORMAT}"]" & @CRLF & _
"#" & @CRLF & _
"# ## Name of the outputted measurement name." & @CRLF & _
"# measurement = "apache_access_log"" & @CRLF & _
"#" & @CRLF & _
"# ## Full path(s) to custom pattern files." & @CRLF & _
"# custom_pattern_files = []" & @CRLF & _
"#" & @CRLF & _
"# ## Custom patterns can also be defined here. Put one pattern per line." & @CRLF & _
"# custom_patterns = '''" & @CRLF & _
"# '''" & @CRLF & _
"#" & @CRLF & _
"# ## Timezone allows you to provide an override for timestamps that" & @CRLF & _
"# ## don't already include an offset" & @CRLF & _
"# ## e.g. 04/06/2016 12:41:45 data one two 5.43µs" & @CRLF & _
"# ##" & @CRLF & _
"# ## Default: "" which renders UTC" & @CRLF & _
"# ## Options are as follows:" & @CRLF & _
"# ## 1. Local -- interpret based on machine localtime" & @CRLF & _
"# ## 2. "Canada/Eastern" -- Unix TZ values like those found in https://en.wikipedia.org/wiki/List_of_tz_database_time_zones" & @CRLF & _
"# ## 3. UTC -- or blank/unspecified, will return timestamp in UTC" & @CRLF & _
"# # timezone = "Canada/Eastern"" & @CRLF & _
"#" & @CRLF & _
"# ## When set to "disable", timestamp will not incremented if there is a" & @CRLF & _
"# ## duplicate." & @CRLF & _
"# # unique_timestamp = "auto"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from MQTT topic(s)" & @CRLF & _
"# [[inputs.mqtt_consumer]]" & @CRLF & _
"# ## MQTT broker URLs to be used. The format should be scheme://host:port," & @CRLF & _
"# ## schema can be tcp, ssl, or ws." & @CRLF & _
"# servers = ["tcp://localhost:1883"]" & @CRLF & _
"#" & @CRLF & _
"# ## QoS policy for messages" & @CRLF & _
"# ## 0 = at most once" & @CRLF & _
"# ## 1 = at least once" & @CRLF & _
"# ## 2 = exactly once" & @CRLF & _
"# ##" & @CRLF & _
"# ## When using a QoS of 1 or 2, you should enable persistent_session to allow" & @CRLF & _
"# ## resuming unacknowledged messages." & @CRLF & _
"# qos = 0" & @CRLF & _
"#" & @CRLF & _
"# ## Connection timeout for initial connection in seconds" & @CRLF & _
"# connection_timeout = "30s"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum messages to read from the broker that have not been written by an" & @CRLF & _
"# ## output. For best throughput set based on the number of metrics within" & @CRLF & _
"# ## each message and the size of the output's metric_batch_size." & @CRLF & _
"# ##" & @CRLF & _
"# ## For example, if each message from the queue contains 10 metrics and the" & @CRLF & _
"# ## output metric_batch_size is 1000, setting this to 100 will ensure that a" & @CRLF & _
"# ## full batch is collected and the write is triggered immediately without" & @CRLF & _
"# ## waiting until the next flush_interval." & @CRLF & _
"# # max_undelivered_messages = 1000" & @CRLF & _
"#" & @CRLF & _
"# ## Topics to subscribe to" & @CRLF & _
"# topics = [" & @CRLF & _
"# "telegraf/host01/cpu"," & @CRLF & _
"# "telegraf/+/mem"," & @CRLF & _
"# "sensors/#"," & @CRLF & _
"# ]" & @CRLF & _
"#" & @CRLF & _
"# # if true, messages that can't be delivered while the subscriber is offline" & @CRLF & _
"# # will be delivered when it comes back (such as on service restart)." & @CRLF & _
"# # NOTE: if true, client_id MUST be set" & @CRLF & _
"# persistent_session = false" & @CRLF & _
"# # If empty, a random client ID will be generated." & @CRLF & _
"# client_id = """ & @CRLF & _
"#" & @CRLF & _
"# ## username and password to connect MQTT server." & @CRLF & _
"# # username = "telegraf"" & @CRLF & _
"# # password = "metricsmetricsmetricsmetrics"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = "/etc/telegraf/ca.pem"" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from NATS subject(s)" & @CRLF & _
"# [[inputs.nats_consumer]]" & @CRLF & _
"# ## urls of NATS servers" & @CRLF & _
"# servers = ["nats://localhost:4222"]" & @CRLF & _
"# ## Use Transport Layer Security" & @CRLF & _
"# secure = false" & @CRLF & _
"# ## subject(s) to consume" & @CRLF & _
"# subjects = ["telegraf"]" & @CRLF & _
"# ## name a queue group" & @CRLF & _
"# queue_group = "telegraf_consumers"" & @CRLF & _
"#" & @CRLF & _
"# ## Sets the limits for pending msgs and bytes for each subscription" & @CRLF & _
"# ## These shouldn't need to be adjusted except in very high throughput scenarios" & @CRLF & _
"# # pending_message_limit = 65536" & @CRLF & _
"# # pending_bytes_limit = 67108864" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum messages to read from the broker that have not been written by an" & @CRLF & _
"# ## output. For best throughput set based on the number of metrics within" & @CRLF & _
"# ## each message and the size of the output's metric_batch_size." & @CRLF & _
"# ##" & @CRLF & _
"# ## For example, if each message from the queue contains 10 metrics and the" & @CRLF & _
"# ## output metric_batch_size is 1000, setting this to 100 will ensure that a" & @CRLF & _
"# ## full batch is collected and the write is triggered immediately without" & @CRLF & _
"# ## waiting until the next flush_interval." & @CRLF & _
"# # max_undelivered_messages = 1000" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read NSQ topic for metrics." & @CRLF & _
"# [[inputs.nsq_consumer]]" & @CRLF & _
"# ## Server option still works but is deprecated, we just prepend it to the nsqd array." & @CRLF & _
"# # server = "localhost:4150"" & @CRLF & _
"# ## An array representing the NSQD TCP HTTP Endpoints" & @CRLF & _
"# nsqd = ["localhost:4150"]" & @CRLF & _
"# ## An array representing the NSQLookupd HTTP Endpoints" & @CRLF & _
"# nsqlookupd = ["localhost:4161"]" & @CRLF & _
"# topic = "telegraf"" & @CRLF & _
"# channel = "consumer"" & @CRLF & _
"# max_in_flight = 100" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum messages to read from the broker that have not been written by an" & @CRLF & _
"# ## output. For best throughput set based on the number of metrics within" & @CRLF & _
"# ## each message and the size of the output's metric_batch_size." & @CRLF & _
"# ##" & @CRLF & _
"# ## For example, if each message from the queue contains 10 metrics and the" & @CRLF & _
"# ## output metric_batch_size is 1000, setting this to 100 will ensure that a" & @CRLF & _
"# ## full batch is collected and the write is triggered immediately without" & @CRLF & _
"# ## waiting until the next flush_interval." & @CRLF & _
"# # max_undelivered_messages = 1000" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many pgbouncer servers" & @CRLF & _
"# [[inputs.pgbouncer]]" & @CRLF & _
"# ## specify address via a url matching:" & @CRLF & _
"# ## postgres://[pqgotest[:password]]@localhost[/dbname]\" & @CRLF & _
"# ## ?sslmode=[disable|verify-ca|verify-full]" & @CRLF & _
"# ## or a simple string:" & @CRLF & _
"# ## host=localhost user=pqotest password=... sslmode=... dbname=app_production" & @CRLF & _
"# ##" & @CRLF & _
"# ## All connection parameters are optional." & @CRLF & _
"# ##" & @CRLF & _
"# address = "host=localhost user=pgbouncer sslmode=disable"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many postgresql servers" & @CRLF & _
"# [[inputs.postgresql]]" & @CRLF & _
"# ## specify address via a url matching:" & @CRLF & _
"# ## postgres://[pqgotest[:password]]@localhost[/dbname]\" & @CRLF & _
"# ## ?sslmode=[disable|verify-ca|verify-full]" & @CRLF & _
"# ## or a simple string:" & @CRLF & _
"# ## host=localhost user=pqotest password=... sslmode=... dbname=app_production" & @CRLF & _
"# ##" & @CRLF & _
"# ## All connection parameters are optional." & @CRLF & _
"# ##" & @CRLF & _
"# ## Without the dbname parameter, the driver will default to a database" & @CRLF & _
"# ## with the same name as the user. This dbname is just for instantiating a" & @CRLF & _
"# ## connection with the server and doesn't restrict the databases we are trying" & @CRLF & _
"# ## to grab metrics for." & @CRLF & _
"# ##" & @CRLF & _
"# address = "host=localhost user=postgres sslmode=disable"" & @CRLF & _
"# ## A custom name for the database that will be used as the "server" tag in the" & @CRLF & _
"# ## measurement output. If not specified, a default one generated from" & @CRLF & _
"# ## the connection address is used." & @CRLF & _
"# # outputaddress = "db01"" & @CRLF & _
"#" & @CRLF & _
"# ## connection configuration." & @CRLF & _
"# ## maxlifetime - specify the maximum lifetime of a connection." & @CRLF & _
"# ## default is forever (0s)" & @CRLF & _
"# max_lifetime = "0s"" & @CRLF & _
"#" & @CRLF & _
"# ## A list of databases to explicitly ignore. If not specified, metrics for all" & @CRLF & _
"# ## databases are gathered. Do NOT use with the 'databases' option." & @CRLF & _
"# # ignored_databases = ["postgres", "template0", "template1"]" & @CRLF & _
"#" & @CRLF & _
"# ## A list of databases to pull metrics about. If not specified, metrics for all" & @CRLF & _
"# ## databases are gathered. Do NOT use with the 'ignored_databases' option." & @CRLF & _
"# # databases = ["app_production", "testing"]" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many postgresql servers" & @CRLF & _
"# [[inputs.postgresql_extensible]]" & @CRLF & _
"# ## specify address via a url matching:" & @CRLF & _
"# ## postgres://[pqgotest[:password]]@localhost[/dbname]\" & @CRLF & _
"# ## ?sslmode=[disable|verify-ca|verify-full]" & @CRLF & _
"# ## or a simple string:" & @CRLF & _
"# ## host=localhost user=pqotest password=... sslmode=... dbname=app_production" & @CRLF & _
"# #" & @CRLF & _
"# ## All connection parameters are optional. #" & @CRLF & _
"# ## Without the dbname parameter, the driver will default to a database" & @CRLF & _
"# ## with the same name as the user. This dbname is just for instantiating a" & @CRLF & _
"# ## connection with the server and doesn't restrict the databases we are trying" & @CRLF & _
"# ## to grab metrics for." & @CRLF & _
"# #" & @CRLF & _
"# address = "host=localhost user=postgres sslmode=disable"" & @CRLF & _
"#" & @CRLF & _
"# ## connection configuration." & @CRLF & _
"# ## maxlifetime - specify the maximum lifetime of a connection." & @CRLF & _
"# ## default is forever (0s)" & @CRLF & _
"# max_lifetime = "0s"" & @CRLF & _
"#" & @CRLF & _
"# ## A list of databases to pull metrics about. If not specified, metrics for all" & @CRLF & _
"# ## databases are gathered." & @CRLF & _
"# ## databases = ["app_production", "testing"]" & @CRLF & _
"# #" & @CRLF & _
"# ## A custom name for the database that will be used as the "server" tag in the" & @CRLF & _
"# ## measurement output. If not specified, a default one generated from" & @CRLF & _
"# ## the connection address is used." & @CRLF & _
"# # outputaddress = "db01"" & @CRLF & _
"# #" & @CRLF & _
"# ## Define the toml config where the sql queries are stored" & @CRLF & _
"# ## New queries can be added, if the withdbname is set to true and there is no" & @CRLF & _
"# ## databases defined in the 'databases field', the sql query is ended by a" & @CRLF & _
"# ## 'is not null' in order to make the query succeed." & @CRLF & _
"# ## Example :" & @CRLF & _
"# ## The sqlquery : "SELECT * FROM pg_stat_database where datname" become" & @CRLF & _
"# ## "SELECT * FROM pg_stat_database where datname IN ('postgres', 'pgbench')"" & @CRLF & _
"# ## because the databases variable was set to ['postgres', 'pgbench' ] and the" & @CRLF & _
"# ## withdbname was true. Be careful that if the withdbname is set to false you" & @CRLF & _
"# ## don't have to define the where clause (aka with the dbname) the tagvalue" & @CRLF & _
"# ## field is used to define custom tags (separated by commas)" & @CRLF & _
"# ## The optional "measurement" value can be used to override the default" & @CRLF & _
"# ## output measurement name ("postgresql")." & @CRLF & _
"# #" & @CRLF & _
"# ## Structure :" & @CRLF & _
"# ## [[inputs.postgresql_extensible.query]]" & @CRLF & _
"# ## sqlquery string" & @CRLF & _
"# ## version string" & @CRLF & _
"# ## withdbname boolean" & @CRLF & _
"# ## tagvalue string (comma separated)" & @CRLF & _
"# ## measurement string" & @CRLF & _
"# [[inputs.postgresql_extensible.query]]" & @CRLF & _
"# sqlquery="SELECT * FROM pg_stat_database"" & @CRLF & _
"# version=901" & @CRLF & _
"# withdbname=false" & @CRLF & _
"# tagvalue=""" & @CRLF & _
"# measurement=""" & @CRLF & _
"# [[inputs.postgresql_extensible.query]]" & @CRLF & _
"# sqlquery="SELECT * FROM pg_stat_bgwriter"" & @CRLF & _
"# version=901" & @CRLF & _
"# withdbname=false" & @CRLF & _
"# tagvalue="postgresql.stats"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from one or many prometheus clients" & @CRLF & _
"# [[inputs.prometheus]]" & @CRLF & _
"# ## An array of urls to scrape metrics from." & @CRLF & _
"# urls = ["http://localhost:9100/metrics"]" & @CRLF & _
"#" & @CRLF & _
"# ## An array of Kubernetes services to scrape metrics from." & @CRLF & _
"# # kubernetes_services = ["http://my-service-dns.my-namespace:9100/metrics"]" & @CRLF & _
"#" & @CRLF & _
"# ## Kubernetes config file to create client from." & @CRLF & _
"# # kube_config = "/path/to/kubernetes.config"" & @CRLF & _
"#" & @CRLF & _
"# ## Scrape Kubernetes pods for the following prometheus annotations:" & @CRLF & _
"# ## - prometheus.io/scrape: Enable scraping for this pod" & @CRLF & _
"# ## - prometheus.io/scheme: If the metrics endpoint is secured then you will need to" & @CRLF & _
"# ## set this to 'https' & most likely set the tls config." & @CRLF & _
"# ## - prometheus.io/path: If the metrics path is not /metrics, define it with this annotation." & @CRLF & _
"# ## - prometheus.io/port: If port is not 9102 use this annotation" & @CRLF & _
"# # monitor_kubernetes_pods = true" & @CRLF & _
"# ## Restricts Kubernetes monitoring to a single namespace" & @CRLF & _
"# ## ex: monitor_kubernetes_pods_namespace = "default"" & @CRLF & _
"# # monitor_kubernetes_pods_namespace = """ & @CRLF & _
"#" & @CRLF & _
"# ## Use bearer token for authorization. ('bearer_token' takes priority)" & @CRLF & _
"# # bearer_token = "/path/to/bearer/token"" & @CRLF & _
"# ## OR" & @CRLF & _
"# # bearer_token_string = "abc_123"" & @CRLF & _
"#" & @CRLF & _
"# ## Specify timeout duration for slower prometheus clients (default is 3s)" & @CRLF & _
"# # response_timeout = "3s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS Config" & @CRLF & _
"# # tls_ca = /path/to/cafile" & @CRLF & _
"# # tls_cert = /path/to/certfile" & @CRLF & _
"# # tls_key = /path/to/keyfile" & @CRLF & _
"# ## Use TLS but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Generic socket listener capable of handling multiple socket types." & @CRLF & _
"# [[inputs.socket_listener]]" & @CRLF & _
"# ## URL to listen on" & @CRLF & _
"# # service_address = "tcp://:8094"" & @CRLF & _
"# # service_address = "tcp://127.0.0.1:http"" & @CRLF & _
"# # service_address = "tcp4://:8094"" & @CRLF & _
"# # service_address = "tcp6://:8094"" & @CRLF & _
"# # service_address = "tcp6://[2001:db8::1]:8094"" & @CRLF & _
"# # service_address = "udp://:8094"" & @CRLF & _
"# # service_address = "udp4://:8094"" & @CRLF & _
"# # service_address = "udp6://:8094"" & @CRLF & _
"# # service_address = "unix:///tmp/telegraf.sock"" & @CRLF & _
"# # service_address = "unixgram:///tmp/telegraf.sock"" & @CRLF & _
"#" & @CRLF & _
"# ## Change the file mode bits on unix sockets. These permissions may not be" & @CRLF & _
"# ## respected by some platforms, to safely restrict write permissions it is best" & @CRLF & _
"# ## to place the socket into a directory that has previously been created" & @CRLF & _
"# ## with the desired permissions." & @CRLF & _
"# ## ex: socket_mode = "777"" & @CRLF & _
"# # socket_mode = """ & @CRLF & _
"#" & @CRLF & _
"# ## Maximum number of concurrent connections." & @CRLF & _
"# ## Only applies to stream sockets (e.g. TCP)." & @CRLF & _
"# ## 0 (default) is unlimited." & @CRLF & _
"# # max_connections = 1024" & @CRLF & _
"#" & @CRLF & _
"# ## Read timeout." & @CRLF & _
"# ## Only applies to stream sockets (e.g. TCP)." & @CRLF & _
"# ## 0 (default) is unlimited." & @CRLF & _
"# # read_timeout = "30s"" & @CRLF & _
"#" & @CRLF & _
"# ## Optional TLS configuration." & @CRLF & _
"# ## Only applies to stream sockets (e.g. TCP)." & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"# ## Enables client authentication if set." & @CRLF & _
"# # tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum socket buffer size (in bytes when no unit specified)." & @CRLF & _
"# ## For stream sockets, once the buffer fills up, the sender will start backing up." & @CRLF & _
"# ## For datagram sockets, once the buffer fills up, metrics will start dropping." & @CRLF & _
"# ## Defaults to the OS default." & @CRLF & _
"# # read_buffer_size = "64KiB"" & @CRLF & _
"#" & @CRLF & _
"# ## Period between keep alive probes." & @CRLF & _
"# ## Only applies to TCP sockets." & @CRLF & _
"# ## 0 disables keep alive probes." & @CRLF & _
"# ## Defaults to the OS configuration." & @CRLF & _
"# # keep_alive_period = "5m"" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# # data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Statsd UDP/TCP Server" & @CRLF & _
"# [[inputs.statsd]]" & @CRLF & _
"# ## Protocol, must be "tcp", "udp", "udp4" or "udp6" (default=udp)" & @CRLF & _
"# protocol = "udp"" & @CRLF & _
"#" & @CRLF & _
"# ## MaxTCPConnection - applicable when protocol is set to tcp (default=250)" & @CRLF & _
"# max_tcp_connections = 250" & @CRLF & _
"#" & @CRLF & _
"# ## Enable TCP keep alive probes (default=false)" & @CRLF & _
"# tcp_keep_alive = false" & @CRLF & _
"#" & @CRLF & _
"# ## Specifies the keep-alive period for an active network connection." & @CRLF & _
"# ## Only applies to TCP sockets and will be ignored if tcp_keep_alive is false." & @CRLF & _
"# ## Defaults to the OS configuration." & @CRLF & _
"# # tcp_keep_alive_period = "2h"" & @CRLF & _
"#" & @CRLF & _
"# ## Address and port to host UDP listener on" & @CRLF & _
"# service_address = ":8125"" & @CRLF & _
"#" & @CRLF & _
"# ## The following configuration options control when telegraf clears it's cache" & @CRLF & _
"# ## of previous values. If set to false, then telegraf will only clear it's" & @CRLF & _
"# ## cache when the daemon is restarted." & @CRLF & _
"# ## Reset gauges every interval (default=true)" & @CRLF & _
"# delete_gauges = true" & @CRLF & _
"# ## Reset counters every interval (default=true)" & @CRLF & _
"# delete_counters = true" & @CRLF & _
"# ## Reset sets every interval (default=true)" & @CRLF & _
"# delete_sets = true" & @CRLF & _
"# ## Reset timings & histograms every interval (default=true)" & @CRLF & _
"# delete_timings = true" & @CRLF & _
"#" & @CRLF & _
"# ## Percentiles to calculate for timing & histogram stats" & @CRLF & _
"# percentiles = [90]" & @CRLF & _
"#" & @CRLF & _
"# ## separator to use between elements of a statsd metric" & @CRLF & _
"# metric_separator = "_"" & @CRLF & _
"#" & @CRLF & _
"# ## Parses tags in the datadog statsd format" & @CRLF & _
"# ## http://docs.datadoghq.com/guides/dogstatsd/" & @CRLF & _
"# parse_data_dog_tags = false" & @CRLF & _
"#" & @CRLF & _
"# ## Parses datadog extensions to the statsd format" & @CRLF & _
"# datadog_extensions = false" & @CRLF & _
"#" & @CRLF & _
"# ## Statsd data translation templates, more info can be read here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/TEMPLATE_PATTERN.md" & @CRLF & _
"# # templates = [" & @CRLF & _
"# # "cpu.* measurement*"" & @CRLF & _
"# # ]" & @CRLF & _
"#" & @CRLF & _
"# ## Number of UDP messages allowed to queue up, once filled," & @CRLF & _
"# ## the statsd server will start dropping packets" & @CRLF & _
"# allowed_pending_messages = 10000" & @CRLF & _
"#" & @CRLF & _
"# ## Number of timing/histogram values to track per-measurement in the" & @CRLF & _
"# ## calculation of percentiles. Raising this limit increases the accuracy" & @CRLF & _
"# ## of percentiles but also increases the memory usage and cpu time." & @CRLF & _
"# percentile_limit = 1000" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Accepts syslog messages following RFC5424 format with transports as per RFC5426, RFC5425, or RFC6587" & @CRLF & _
"# [[inputs.syslog]]" & @CRLF & _
"# ## Specify an ip or hostname with port - eg., tcp://localhost:6514, tcp://10.0.0.1:6514" & @CRLF & _
"# ## Protocol, address and port to host the syslog receiver." & @CRLF & _
"# ## If no host is specified, then localhost is used." & @CRLF & _
"# ## If no port is specified, 6514 is used (RFC5425#section-4.1)." & @CRLF & _
"# server = "tcp://:6514"" & @CRLF & _
"#" & @CRLF & _
"# ## TLS Config" & @CRLF & _
"# # tls_allowed_cacerts = ["/etc/telegraf/ca.pem"]" & @CRLF & _
"# # tls_cert = "/etc/telegraf/cert.pem"" & @CRLF & _
"# # tls_key = "/etc/telegraf/key.pem"" & @CRLF & _
"#" & @CRLF & _
"# ## Period between keep alive probes." & @CRLF & _
"# ## 0 disables keep alive probes." & @CRLF & _
"# ## Defaults to the OS configuration." & @CRLF & _
"# ## Only applies to stream sockets (e.g. TCP)." & @CRLF & _
"# # keep_alive_period = "5m"" & @CRLF & _
"#" & @CRLF & _
"# ## Maximum number of concurrent connections (default = 0)." & @CRLF & _
"# ## 0 means unlimited." & @CRLF & _
"# ## Only applies to stream sockets (e.g. TCP)." & @CRLF & _
"# # max_connections = 1024" & @CRLF & _
"#" & @CRLF & _
"# ## Read timeout is the maximum time allowed for reading a single message (default = 5s)." & @CRLF & _
"# ## 0 means unlimited." & @CRLF & _
"# # read_timeout = "5s"" & @CRLF & _
"#" & @CRLF & _
"# ## The framing technique with which it is expected that messages are transported (default = "octet-counting")." & @CRLF & _
"# ## Whether the messages come using the octect-counting (RFC5425#section-4.3.1, RFC6587#section-3.4.1)," & @CRLF & _
"# ## or the non-transparent framing technique (RFC6587#section-3.4.2)." & @CRLF & _
"# ## Must be one of "octet-counting", "non-transparent"." & @CRLF & _
"# # framing = "octet-counting"" & @CRLF & _
"#" & @CRLF & _
"# ## The trailer to be expected in case of non-trasparent framing (default = "LF")." & @CRLF & _
"# ## Must be one of "LF", or "NUL"." & @CRLF & _
"# # trailer = "LF"" & @CRLF & _
"#" & @CRLF & _
"# ## Whether to parse in best effort mode or not (default = false)." & @CRLF & _
"# ## By default best effort parsing is off." & @CRLF & _
"# # best_effort = false" & @CRLF & _
"#" & @CRLF & _
"# ## Character to prepend to SD-PARAMs (default = "_")." & @CRLF & _
"# ## A syslog message can contain multiple parameters and multiple identifiers within structured data section." & @CRLF & _
"# ## Eg., [id1 name1="val1" name2="val2"][id2 name1="val1" nameA="valA"]" & @CRLF & _
"# ## For each combination a field is created." & @CRLF & _
"# ## Its name is created concatenating identifier, sdparam_separator, and parameter name." & @CRLF & _
"# # sdparam_separator = "_"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Stream a log file, like the tail -f command" & @CRLF & _
"# [[inputs.tail]]" & @CRLF & _
"# ## files to tail." & @CRLF & _
"# ## These accept standard unix glob matching rules, but with the addition of" & @CRLF & _
"# ## ** as a "super asterisk". ie:" & @CRLF & _
"# ## "/var/log/**.log" -> recursively find all .log files in /var/log" & @CRLF & _
"# ## "/var/log/*/*.log" -> find all .log files with a parent dir in /var/log" & @CRLF & _
"# ## "/var/log/apache.log" -> just tail the apache log file" & @CRLF & _
"# ##" & @CRLF & _
"# ## See https://github.com/gobwas/glob for more examples" & @CRLF & _
"# ##" & @CRLF & _
"# files = ["/var/mymetrics.out"]" & @CRLF & _
"# ## Read file from beginning." & @CRLF & _
"# from_beginning = false" & @CRLF & _
"# ## Whether file is a named pipe" & @CRLF & _
"# pipe = false" & @CRLF & _
"#" & @CRLF & _
"# ## Method used to watch for file updates. Can be either "inotify" or "poll"." & @CRLF & _
"# # watch_method = "inotify"" & @CRLF & _
"#" & @CRLF & _
"# ## Data format to consume." & @CRLF & _
"# ## Each data format has its own unique set of configuration options, read" & @CRLF & _
"# ## more about them here:" & @CRLF & _
"# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md" & @CRLF & _
"# data_format = "influx"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Generic TCP listener" & @CRLF & _
"# [[inputs.tcp_listener]]" & @CRLF & _
"# # DEPRECATED: the TCP listener plugin has been deprecated in favor of the" & @CRLF & _
"# # socket_listener plugin" & @CRLF & _
"# # see https://github.com/influxdata/telegraf/tree/master/plugins/inputs/socket_listener" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Generic UDP listener" & @CRLF & _
"# [[inputs.udp_listener]]" & @CRLF & _
"# # DEPRECATED: the TCP listener plugin has been deprecated in favor of the" & @CRLF & _
"# # socket_listener plugin" & @CRLF & _
"# # see https://github.com/influxdata/telegraf/tree/master/plugins/inputs/socket_listener" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # Read metrics from VMware vCenter" & @CRLF & _
"# [[inputs.vsphere]]" & @CRLF & _
"# ## List of vCenter URLs to be monitored. These three lines must be uncommented" & @CRLF & _
"# ## and edited for the plugin to work." & @CRLF & _
"# vcenters = [ "https://vcenter.local/sdk" ]" & @CRLF & _
"# username = "user@corp.local"" & @CRLF & _
"# password = "secret"" & @CRLF & _
"#" & @CRLF & _
"# ## VMs" & @CRLF & _
"# ## Typical VM metrics (if omitted or empty, all metrics are collected)" & @CRLF & _
"# vm_metric_include = [" & @CRLF & _
"# "cpu.demand.average"," & @CRLF & _
"# "cpu.idle.summation"," & @CRLF & _
"# "cpu.latency.average"," & @CRLF & _
"# "cpu.readiness.average"," & @CRLF & _
"# "cpu.ready.summation"," & @CRLF & _
"# "cpu.run.summation"," & @CRLF & _
"# "cpu.usagemhz.average"," & @CRLF & _
"# "cpu.used.summation"," & @CRLF & _
"# "cpu.wait.summation"," & @CRLF & _
"# "mem.active.average"," & @CRLF & _
"# "mem.granted.average"," & @CRLF & _
"# "mem.latency.average"," & @CRLF & _
"# "mem.swapin.average"," & @CRLF & _
"# "mem.swapinRate.average"," & @CRLF & _
"# "mem.swapout.average"," & @CRLF & _
"# "mem.swapoutRate.average"," & @CRLF & _
"# "mem.usage.average"," & @CRLF & _
"# "mem.vmmemctl.average"," & @CRLF & _
"# "net.bytesRx.average"," & @CRLF & _
"# "net.bytesTx.average"," & @CRLF & _
"# "net.droppedRx.summation"," & @CRLF & _
"# "net.droppedTx.summation"," & @CRLF & _
"# "net.usage.average"," & @CRLF & _
"# "power.power.average"," & @CRLF & _
"# "virtualDisk.numberReadAveraged.average"," & @CRLF & _
"# "virtualDisk.numberWriteAveraged.average"," & @CRLF & _
"# "virtualDisk.read.average"," & @CRLF & _
"# "virtualDisk.readOIO.latest"," & @CRLF & _
"# "virtualDisk.throughput.usage.average"," & @CRLF & _
"# "virtualDisk.totalReadLatency.average"," & @CRLF & _
"# "virtualDisk.totalWriteLatency.average"," & @CRLF & _
"# "virtualDisk.write.average"," & @CRLF & _
"# "virtualDisk.writeOIO.latest"," & @CRLF & _
"# "sys.uptime.latest"," & @CRLF & _
"# ]" & @CRLF & _
"# # vm_metric_exclude = [] ## Nothing is excluded by default" & @CRLF & _
"# # vm_instances = true ## true by default" & @CRLF & _
"#" & @CRLF & _
"# ## Hosts" & @CRLF & _
"# ## Typical host metrics (if omitted or empty, all metrics are collected)" & @CRLF & _
"# host_metric_include = [" & @CRLF & _
"# "cpu.coreUtilization.average"," & @CRLF & _
"# "cpu.costop.summation"," & @CRLF & _
"# "cpu.demand.average"," & @CRLF & _
"# "cpu.idle.summation"," & @CRLF & _
"# "cpu.latency.average"," & @CRLF & _
"# "cpu.readiness.average"," & @CRLF & _
"# "cpu.ready.summation"," & @CRLF & _
"# "cpu.swapwait.summation"," & @CRLF & _
"# "cpu.usage.average"," & @CRLF & _
"# "cpu.usagemhz.average"," & @CRLF & _
"# "cpu.used.summation"," & @CRLF & _
"# "cpu.utilization.average"," & @CRLF & _
"# "cpu.wait.summation"," & @CRLF & _
"# "disk.deviceReadLatency.average"," & @CRLF & _
"# "disk.deviceWriteLatency.average"," & @CRLF & _
"# "disk.kernelReadLatency.average"," & @CRLF & _
"# "disk.kernelWriteLatency.average"," & @CRLF & _
"# "disk.numberReadAveraged.average"," & @CRLF & _
"# "disk.numberWriteAveraged.average"," & @CRLF & _
"# "disk.read.average"," & @CRLF & _
"# "disk.totalReadLatency.average"," & @CRLF & _
"# "disk.totalWriteLatency.average"," & @CRLF & _
"# "disk.write.average"," & @CRLF & _
"# "mem.active.average"," & @CRLF & _
"# "mem.latency.average"," & @CRLF & _
"# "mem.state.latest"," & @CRLF & _
"# "mem.swapin.average"," & @CRLF & _
"# "mem.swapinRate.average"," & @CRLF & _
"# "mem.swapout.average"," & @CRLF & _
"# "mem.swapoutRate.average"," & @CRLF & _
"# "mem.totalCapacity.average"," & @CRLF & _
"# "mem.usage.average"," & @CRLF & _
"# "mem.vmmemctl.average"," & @CRLF & _
"# "net.bytesRx.average"," & @CRLF & _
"# "net.bytesTx.average"," & @CRLF & _
"# "net.droppedRx.summation"," & @CRLF & _
"# "net.droppedTx.summation"," & @CRLF & _
"# "net.errorsRx.summation"," & @CRLF & _
"# "net.errorsTx.summation"," & @CRLF & _
"# "net.usage.average"," & @CRLF & _
"# "power.power.average"," & @CRLF & _
"# "storageAdapter.numberReadAveraged.average"," & @CRLF & _
"# "storageAdapter.numberWriteAveraged.average"," & @CRLF & _
"# "storageAdapter.read.average"," & @CRLF & _
"# "storageAdapter.write.average"," & @CRLF & _
"# "sys.uptime.latest"," & @CRLF & _
"# ]" & @CRLF & _
"# # host_metric_exclude = [] ## Nothing excluded by default" & @CRLF & _
"# # host_instances = true ## true by default" & @CRLF & _
"#" & @CRLF & _
"# ## Clusters" & @CRLF & _
"# # cluster_metric_include = [] ## if omitted or empty, all metrics are collected" & @CRLF & _
"# # cluster_metric_exclude = [] ## Nothing excluded by default" & @CRLF & _
"# # cluster_instances = false ## false by default" & @CRLF & _
"#" & @CRLF & _
"# ## Datastores" & @CRLF & _
"# # datastore_metric_include = [] ## if omitted or empty, all metrics are collected" & @CRLF & _
"# # datastore_metric_exclude = [] ## Nothing excluded by default" & @CRLF & _
"# # datastore_instances = false ## false by default for Datastores only" & @CRLF & _
"#" & @CRLF & _
"# ## Datacenters" & @CRLF & _
"# datacenter_metric_include = [] ## if omitted or empty, all metrics are collected" & @CRLF & _
"# datacenter_metric_exclude = [ "*" ] ## Datacenters are not collected by default." & @CRLF & _
"# # datacenter_instances = false ## false by default for Datastores only" & @CRLF & _
"#" & @CRLF & _
"# ## Plugin Settings" & @CRLF & _
"# ## separator character to use for measurement and field names (default: "_")" & @CRLF & _
"# # separator = "_"" & @CRLF & _
"#" & @CRLF & _
"# ## number of objects to retreive per query for realtime resources (vms and hosts)" & @CRLF & _
"# ## set to 64 for vCenter 5.5 and 6.0 (default: 256)" & @CRLF & _
"# # max_query_objects = 256" & @CRLF & _
"#" & @CRLF & _
"# ## number of metrics to retreive per query for non-realtime resources (clusters and datastores)" & @CRLF & _
"# ## set to 64 for vCenter 5.5 and 6.0 (default: 256)" & @CRLF & _
"# # max_query_metrics = 256" & @CRLF & _
"#" & @CRLF & _
"# ## number of go routines to use for collection and discovery of objects and metrics" & @CRLF & _
"# # collect_concurrency = 1" & @CRLF & _
"# # discover_concurrency = 1" & @CRLF & _
"#" & @CRLF & _
"# ## whether or not to force discovery of new objects on initial gather call before collecting metrics" & @CRLF & _
"# ## when true for large environments this may cause errors for time elapsed while collecting metrics" & @CRLF & _
"# ## when false (default) the first collection cycle may result in no or limited metrics while objects are discovered" & @CRLF & _
"# # force_discover_on_init = false" & @CRLF & _
"#" & @CRLF & _
"# ## the interval before (re)discovering objects subject to metrics collection (default: 300s)" & @CRLF & _
"# # object_discovery_interval = "300s"" & @CRLF & _
"#" & @CRLF & _
"# ## timeout applies to any of the api request made to vcenter" & @CRLF & _
"# # timeout = "60s"" & @CRLF & _
"#" & @CRLF & _
"# ## When set to true, all samples are sent as integers. This makes the output" & @CRLF & _
"# ## data types backwards compatible with Telegraf 1.9 or lower. Normally all" & @CRLF & _
"# ## samples from vCenter, with the exception of percentages, are integer" & @CRLF & _
"# ## values, but under some conditions, some averaging takes place internally in" & @CRLF & _
"# ## the plugin. Setting this flag to "false" will send values as floats to" & @CRLF & _
"# ## preserve the full precision when averaging takes place." & @CRLF & _
"# # use_int_samples = true" & @CRLF & _
"#" & @CRLF & _
"# ## Optional SSL Config" & @CRLF & _
"# # ssl_ca = "/path/to/cafile"" & @CRLF & _
"# # ssl_cert = "/path/to/certfile"" & @CRLF & _
"# # ssl_key = "/path/to/keyfile"" & @CRLF & _
"# ## Use SSL but skip chain & host verification" & @CRLF & _
"# # insecure_skip_verify = false" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # A Webhooks Event collector" & @CRLF & _
"# [[inputs.webhooks]]" & @CRLF & _
"# ## Address and port to host Webhook listener on" & @CRLF & _
"# service_address = ":1619"" & @CRLF & _
"#" & @CRLF & _
"# [inputs.webhooks.filestack]" & @CRLF & _
"# path = "/filestack"" & @CRLF & _
"#" & @CRLF & _
"# [inputs.webhooks.github]" & @CRLF & _
"# path = "/github"" & @CRLF & _
"# # secret = """ & @CRLF & _
"#" & @CRLF & _
"# [inputs.webhooks.mandrill]" & @CRLF & _
"# path = "/mandrill"" & @CRLF & _
"#" & @CRLF & _
"# [inputs.webhooks.rollbar]" & @CRLF & _
"# path = "/rollbar"" & @CRLF & _
"#" & @CRLF & _
"# [inputs.webhooks.papertrail]" & @CRLF & _
"# path = "/papertrail"" & @CRLF & _
"#" & @CRLF & _
"# [inputs.webhooks.particle]" & @CRLF & _
"# path = "/particle"" & @CRLF & _
"" & @CRLF & _
"" & @CRLF & _
"# # This plugin implements the Zipkin http server to gather trace and timing data needed to troubleshoot latency problems in microservice architectures." & @CRLF & _
"# [[inputs.zipkin]]" & @CRLF & _
"# # path = "/api/v1/spans" # URL path for span data" & @CRLF & _
"# # port = 9411 # Port on which Telegraf listens" & @CRLF & _
""
Local $sSubst = "\1 \2"
Local $sResult = StringRegExpReplace($sString, $sRegex, $sSubst)
MsgBox($MB_SYSTEMMODAL, "Result", $sResult)
Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for AutoIt, please visit: https://www.autoitscript.com/autoit3/docs/functions/StringRegExp.htm