Explorar o código

yanic: update config for current version

Karsten Böddeker %!s(int64=7) %!d(string=hai) anos
pai
achega
1eff87eb73
Modificáronse 1 ficheiros con 10 adicións e 1 borrados
  1. 10 1
      yanic/yanic.conf.tmpl

+ 10 - 1
yanic/yanic.conf.tmpl

@@ -1,6 +1,8 @@
 # Send respondd request to update information
 # Send respondd request to update information
 [respondd]
 [respondd]
 enable           = true
 enable           = true
+# Delay startup until a multiple of the period since zero time
+synchronize      = "1m"
 # how oftern request per multicast
 # how oftern request per multicast
 collect_interval = "1m"
 collect_interval = "1m"
 # on which interface
 # on which interface
@@ -69,9 +71,16 @@ address  = "{{influxdb.address}}"
 database = "{{influxdb.database}}"
 database = "{{influxdb.database}}"
 username = "{{influxdb.username}}"
 username = "{{influxdb.username}}"
 password = "{{influxdb.password}}"
 password = "{{influxdb.password}}"
-# tag the data with an optional job tag
+# tagging of the data are optional
+# be carefull tags by system would overright config
+[database.connection.influxdb.tags]
 job = "{{site}}"
 job = "{{site}}"
 
 
 [[database.connection.logging]]
 [[database.connection.logging]]
 enable   = false
 enable   = false
 path     = "/var/log/yanic.log"
 path     = "/var/log/yanic.log"
+
+[[database.connection.graphite]]
+enable   = false
+address  = "localhost:2003"
+prefix   = "freifunk"