2017-01-29 17:30:08 +00:00
|
|
|
[respondd]
|
|
|
|
enable = true
|
|
|
|
interface = "eth0"
|
|
|
|
collect_interval = "1m"
|
|
|
|
|
2017-01-29 19:06:56 +00:00
|
|
|
|
2017-01-29 17:30:08 +00:00
|
|
|
[webserver]
|
|
|
|
enable = false
|
2017-01-29 19:06:56 +00:00
|
|
|
bind = "127.0.0.1:8080"
|
2017-01-29 17:30:08 +00:00
|
|
|
webroot = "webroot"
|
|
|
|
|
2017-01-29 19:06:56 +00:00
|
|
|
|
2017-01-29 17:30:08 +00:00
|
|
|
[nodes]
|
|
|
|
enable = true
|
|
|
|
nodes_version = 2
|
|
|
|
nodes_path = "/var/www/html/meshviewer/data/nodes_all.json"
|
2017-01-29 19:06:56 +00:00
|
|
|
graph_path = "/var/www/html/meshviewer/data/graph.json"
|
2017-01-29 17:30:08 +00:00
|
|
|
|
|
|
|
# Export nodes and graph periodically
|
|
|
|
save_interval = "5s"
|
|
|
|
|
|
|
|
# Prune offline nodes after a time of inactivity
|
|
|
|
prune_after = "7d"
|
|
|
|
|
|
|
|
|
|
|
|
[influxdb]
|
|
|
|
enable = false
|
|
|
|
address = "http://localhost:8086"
|
|
|
|
database = "ffhb"
|
|
|
|
username = ""
|
|
|
|
password = ""
|