From 20ab8fb2c398bda1219bcd7b1117be16a63b0473 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Fri, 28 Apr 2017 13:49:09 -0700 Subject: [PATCH] Update telegraf.conf --- etc/telegraf.conf | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/etc/telegraf.conf b/etc/telegraf.conf index 9022fac07..d455b10af 100644 --- a/etc/telegraf.conf +++ b/etc/telegraf.conf @@ -95,7 +95,8 @@ ## The target database for metrics (telegraf will create it if not exists). database = "telegraf" # required - ## Retention policy to write to. Empty string writes to the default rp. + ## Name of existing retention policy to write to. Empty string writes to + ## the default retention policy. retention_policy = "" ## Write consistency (clusters only), can be: "any", "one", "quorum", "all" write_consistency = "any" @@ -141,7 +142,7 @@ # ## described here: https://www.rabbitmq.com/plugins.html # # auth_method = "PLAIN" # ## Telegraf tag to use as a routing key -# ## ie, if this tag exists, it's value will be used as the routing key +# ## ie, if this tag exists, its value will be used as the routing key # routing_tag = "host" # # ## InfluxDB retention policy @@ -335,6 +336,10 @@ # ## Use SSL but skip chain & host verification # # insecure_skip_verify = false # +# ## Optional SASL Config +# # sasl_username = "kafka" +# # sasl_password = "secret" +# # ## Data format to output. # ## Each data format has its own unique set of configuration options, read # ## more about them here: @@ -1325,6 +1330,18 @@ # attribute = "LoadedClassCount,UnloadedClassCount,TotalLoadedClassCount" +# # Read Kapacitor-formatted JSON metrics from one or more HTTP endpoints +# [[inputs.kapacitor]] +# ## Multiple URLs from which to read Kapacitor-formatted JSON +# ## Default is "http://localhost:9092/kapacitor/v1/debug/vars". +# urls = [ +# "http://localhost:9092/kapacitor/v1/debug/vars" +# ] +# +# ## Time limit for http requests +# timeout = "5s" + + # # Get kernel statistics from /proc/vmstat # [[inputs.kernel_vmstat]] # # no configuration