2017-01-29 18:30:08 +01:00
|
|
|
[respondd]
|
|
|
|
enable = true
|
|
|
|
interface = "eth0"
|
|
|
|
collect_interval = "1m"
|
|
|
|
|
2017-01-29 20:06:56 +01:00
|
|
|
|
2017-01-29 18:30:08 +01:00
|
|
|
[webserver]
|
|
|
|
enable = false
|
2017-01-29 20:06:56 +01:00
|
|
|
bind = "127.0.0.1:8080"
|
2017-01-29 18:30:08 +01:00
|
|
|
webroot = "webroot"
|
|
|
|
|
2017-01-29 20:06:56 +01:00
|
|
|
|
2017-01-29 18:30:08 +01:00
|
|
|
[nodes]
|
|
|
|
enable = true
|
|
|
|
nodes_version = 2
|
2017-01-29 20:40:46 +01:00
|
|
|
nodes_path = "/var/www/html/meshviewer/data/nodes.json"
|
2017-01-29 20:06:56 +01:00
|
|
|
graph_path = "/var/www/html/meshviewer/data/graph.json"
|
2017-01-29 20:40:46 +01:00
|
|
|
state_path = "/var/lib/collector/state.json"
|
2017-01-29 18:30:08 +01:00
|
|
|
|
|
|
|
# Export nodes and graph periodically
|
|
|
|
save_interval = "5s"
|
|
|
|
|
2017-01-29 21:04:10 +01:00
|
|
|
# Set node to offline if not seen within this period
|
|
|
|
offline_after = "10m"
|
|
|
|
|
2017-01-29 18:30:08 +01:00
|
|
|
# Prune offline nodes after a time of inactivity
|
|
|
|
prune_after = "7d"
|
|
|
|
|
|
|
|
|
|
|
|
[influxdb]
|
|
|
|
enable = false
|
|
|
|
address = "http://localhost:8086"
|
|
|
|
database = "ffhb"
|
|
|
|
username = ""
|
|
|
|
password = ""
|