summaryrefslogtreecommitdiffstats
path: root/modules/tick/templates/telegraf.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tick/templates/telegraf.conf')
-rw-r--r--modules/tick/templates/telegraf.conf7
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"