diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-02-28 03:32:06 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-02-28 03:32:06 -0500 |
commit | 67b3a2808db2d47ed47d5f56c521eacf19099efd (patch) | |
tree | bde624f16a850eb3f29072acd9ca3fe4cd87fd0c /modules/tick/templates/telegraf.conf | |
parent | 5f26eacc6f10750c805d45d3aae84b1eea94d637 (diff) | |
download | puppet-tozt-67b3a2808db2d47ed47d5f56c521eacf19099efd.tar.gz puppet-tozt-67b3a2808db2d47ed47d5f56c521eacf19099efd.zip |
start on some changes for influxdb 2.0
remove chronograf, move to token auth instead of http basic auth
need to remove kapacitor too, but have to port the alerts first
Diffstat (limited to 'modules/tick/templates/telegraf.conf')
-rw-r--r-- | modules/tick/templates/telegraf.conf | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/tick/templates/telegraf.conf b/modules/tick/templates/telegraf.conf index ba307bd..4fffce8 100644 --- a/modules/tick/templates/telegraf.conf +++ b/modules/tick/templates/telegraf.conf @@ -10,7 +10,8 @@ precision = "" hostname = "" omit_hostname = false -[[outputs.influxdb]] +[[outputs.influxdb_v2]] urls = ["https://influxdb.tozt.net"] - username = "<%= @influxdb_username %>" - password = "<%= @influxdb_password %>" + token = "<%= @influxdb_token %>" + organization = "tozt" + bucket = "telegraf" |