forked from FF-RGB/ansible
yanic: adjust config file to upstream changes
This commit is contained in:
parent
fc6d027a4f
commit
25f9362b89
@ -15,6 +15,10 @@ yanic_nodes_save_interval: "5s"
|
|||||||
yanic_nodes_offline_after: "10m"
|
yanic_nodes_offline_after: "10m"
|
||||||
yanic_nodes_prune_after: "7d"
|
yanic_nodes_prune_after: "7d"
|
||||||
|
|
||||||
|
yanic_meshviewer_ffrgb_enable: true
|
||||||
|
yanic_meshviewer_ffrgb_path: "/var/www/html/meshviewer/data/meshviewer.json"
|
||||||
|
|
||||||
|
yanic_meshviewer_enable: true
|
||||||
yanic_meshviewer_version: 2
|
yanic_meshviewer_version: 2
|
||||||
yanic_meshviewer_path: "/var/www/html/meshviewer/data"
|
yanic_meshviewer_path: "/var/www/html/meshviewer/data"
|
||||||
yanic_meshviewer_nodes: "{{yanic_meshviewer_path}}/nodes.json"
|
yanic_meshviewer_nodes: "{{yanic_meshviewer_path}}/nodes.json"
|
||||||
@ -23,13 +27,13 @@ yanic_meshviewer_graph: "{{yanic_meshviewer_path}}/graph.json"
|
|||||||
yanic_database_delete_after: "7d"
|
yanic_database_delete_after: "7d"
|
||||||
yanic_database_delete_interval: "1h"
|
yanic_database_delete_interval: "1h"
|
||||||
|
|
||||||
yanic_socket:
|
|
||||||
- enable: false
|
|
||||||
type: unix
|
|
||||||
address: "/var/lib/yanic/database.socket"
|
|
||||||
yanic_influxdb:
|
yanic_influxdb:
|
||||||
- enable: false
|
- enable: false
|
||||||
host: http://localhost:8086
|
host: http://localhost:8086
|
||||||
database: ffhb
|
database: ffhb
|
||||||
username: ""
|
username: ""
|
||||||
password: ""
|
password: ""
|
||||||
|
yanic_graphite:
|
||||||
|
- enable: false
|
||||||
|
address: "localhost:2003"
|
||||||
|
prefix: "freifunk"
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
[respondd]
|
[respondd]
|
||||||
enable = {{ yanic_respondd | ternary('true','false') }}
|
enable = {{ yanic_respondd | ternary('true','false') }}
|
||||||
collect_interval = "{{ yanic_respondd_collect_interval }}"
|
collect_interval = "{{ yanic_respondd_collect_interval }}"
|
||||||
interface = "{{ yanic_respondd_interface }}"
|
interfaces = ["{{ yanic_respondd_interface }}"]
|
||||||
|
sites = []
|
||||||
|
|
||||||
[webserver]
|
[webserver]
|
||||||
enable = {{ yanic_webserver | ternary('true','false') }}
|
enable = {{ yanic_webserver | ternary('true','false') }}
|
||||||
@ -10,14 +11,17 @@ bind = "{{ yanic_webserver_bind }}"
|
|||||||
webroot = "{{ yanic_webserver_webroot }}"
|
webroot = "{{ yanic_webserver_webroot }}"
|
||||||
|
|
||||||
[nodes]
|
[nodes]
|
||||||
enable = {{yanic_nodes | ternary('true','false') }}
|
|
||||||
state_path = "{{ yanic_nodes_state_path }}"
|
state_path = "{{ yanic_nodes_state_path }}"
|
||||||
|
prune_after = "{{ yanic_nodes_prune_after }}"
|
||||||
save_interval = "{{ yanic_nodes_save_interval }}"
|
save_interval = "{{ yanic_nodes_save_interval }}"
|
||||||
offline_after = "{{ yanic_nodes_offline_after }}"
|
offline_after = "{{ yanic_nodes_offline_after }}"
|
||||||
prune_after = "{{yanic_nodes_prune_after}}"
|
|
||||||
|
|
||||||
|
[[nodes.output.meshviewer-ffrgb]]
|
||||||
|
enable = {{ yanic_meshviewer_ffrgb_enable | ternary('true','false') }}
|
||||||
|
path = "{{ yanic_meshviewer_ffrgb_path }}"
|
||||||
|
|
||||||
[meshviewer]
|
[[nodes.output.meshviewer]]
|
||||||
|
enable = {{ yanic_meshviewer_enable | ternary('true','false') }}
|
||||||
version = {{ yanic_meshviewer_version }}
|
version = {{ yanic_meshviewer_version }}
|
||||||
nodes_path = "{{ yanic_meshviewer_nodes }}"
|
nodes_path = "{{ yanic_meshviewer_nodes }}"
|
||||||
graph_path = "{{ yanic_meshviewer_graph }}"
|
graph_path = "{{ yanic_meshviewer_graph }}"
|
||||||
@ -35,9 +39,11 @@ username = "{{ db.username }}"
|
|||||||
password = "{{ db.password }}"
|
password = "{{ db.password }}"
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% for db in yanic_socket %}
|
[database.connection.influxdb.tags]
|
||||||
[[database.connection.socket]]
|
|
||||||
|
{% for db in yanic_graphite %}
|
||||||
|
[[database.connection.graphite]]
|
||||||
enable = {{ db.enable | ternary('true','false') }}
|
enable = {{ db.enable | ternary('true','false') }}
|
||||||
type = "{{ db.type }}"
|
|
||||||
address = "{{ db.address }}"
|
address = "{{ db.address }}"
|
||||||
|
prefix = "{{ db.prefix }}"
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user