From 91121f88983db0e352d4fc43c2acd2be5eef6ffc Mon Sep 17 00:00:00 2001
From: MJB <mjb@it-innovation.soton.ac.uk>
Date: Mon, 22 Jan 2018 21:14:01 +0000
Subject: [PATCH] added database to the template

---
 scripts/influx/telegraf_ipendpoint_template.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/influx/telegraf_ipendpoint_template.conf b/scripts/influx/telegraf_ipendpoint_template.conf
index 0fe2cc5..9aa2e20 100644
--- a/scripts/influx/telegraf_ipendpoint_template.conf
+++ b/scripts/influx/telegraf_ipendpoint_template.conf
@@ -76,7 +76,7 @@
   # urls = ["udp://127.0.0.1:8089"] # UDP endpoint example
   urls = ["{{INFLUXDB_URL}}"] # required
   # The target database for metrics (telegraf will create it if not exists)
-  database = "CLMCMetrics" # required
+  database = "{{DATABASE_NAME}}" # required
   # Precision of writes, valid values are "ns", "us" (or "µs"), "ms", "s", "m", "h".
   # note: using second precision greatly helps InfluxDB compression
   precision = "s"
-- 
GitLab