Update config.js

This commit is contained in:
stebifan 2018-04-09 22:21:31 +02:00 committed by GitHub
parent 3714795e2b
commit 82c9309a1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,35 +4,16 @@ module.exports = function () {
'nodeInfos': [
{
'name': 'Clientstatistik',
'href': 'https://regensburg.freifunk.net/netz/statistik/node/{NODE_ID}/',
'image': 'https://grafana.regensburg.freifunk.net/render/d-solo/000000026/node?panelId=1&var-node={NODE_ID}&from=now-7d&width=650&height=350&theme=light&_t={TIME}',
'href': 'https://statistik.freifunk-troisdorf.de/dashboard-solo/db/nodes?panelId=1&var-Hostname={NODE_NAME}&theme=light',
'image': 'https://statistik.freifunk-troisdorf.de/dashboard-solo/db/nodes?panelId=1&var-Hostname={NODE_NAME}&theme=light',
'title': 'Knoten {NODE_ID} - weiteren Statistiken'
},
{
'name': 'Trafficstatistik',
'href': 'https://regensburg.freifunk.net/netz/statistik/node/{NODE_ID}/',
'image': 'https://grafana.regensburg.freifunk.net/render/d-solo/000000026/node?panelId=2&from=now-7d&var-node={NODE_ID}&width=650&height=350&theme=light&_t={TIME}',
'title': 'Knoten {NODE_ID} - weiteren Statistiken'
},
{
'name': 'Airtime',
'href': 'https://regensburg.freifunk.net/netz/statistik/node/{NODE_ID}/',
'image': 'https://grafana.regensburg.freifunk.net/render/d-solo/000000026/node?panelId=5&from=now-7d&var-node={NODE_ID}&width=650&height=350&theme=light&_t={TIME}',
'title': 'Knoten {NODE_ID} - weiteren Statistiken'
}
],
'linkInfos': [
{
'name': 'Statistik für alle Links zwischen diese Knoten',
'image': 'https://grafana.regensburg.freifunk.net/render/d-solo/000000026/node?panelId=7&var-node={SOURCE_ID}&var-nodetolink={TARGET_ID}&from=now-7d&&width=650&height=350&theme=light&_t={TIME}',
'title': 'Linkstatistik des letzten Tages, min und max aller Links zwischen diesen Knoten'
}
],
// Array of data provider are supported
'dataPath': [
'https://regensburg.freifunk.net/data/'
'https://map.freifunk-troisdorf.de/yanic/'
],
'siteName': 'Freifunk Regensburg',
'siteName': 'Freifunk Troisdorf',
'mapLayers': [
{
'name': 'Freifunk Regensburg',
@ -111,12 +92,16 @@ module.exports = function () {
],
'siteNames': [
{
'site': 'ffrgb-bat15',
'name': 'Regensburg'
'site': 'tdf',
'name': 'Troisdorf All'
},
{
'site': 'ffrgb',
'name': 'Regensburg'
'site': 'inn',
'name': 'Innenstadt'
}
{
'site': 'flu',
'name': 'Soziale Einrichtungen'
}
]
};