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': [ 'nodeInfos': [
{ {
'name': 'Clientstatistik', 'name': 'Clientstatistik',
'href': 'https://regensburg.freifunk.net/netz/statistik/node/{NODE_ID}/', 'href': 'https://statistik.freifunk-troisdorf.de/dashboard-solo/db/nodes?panelId=1&var-Hostname={NODE_NAME}&theme=light',
'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}', 'image': 'https://statistik.freifunk-troisdorf.de/dashboard-solo/db/nodes?panelId=1&var-Hostname={NODE_NAME}&theme=light',
'title': 'Knoten {NODE_ID} - weiteren Statistiken' '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 // Array of data provider are supported
'dataPath': [ 'dataPath': [
'https://regensburg.freifunk.net/data/' 'https://map.freifunk-troisdorf.de/yanic/'
], ],
'siteName': 'Freifunk Regensburg', 'siteName': 'Freifunk Troisdorf',
'mapLayers': [ 'mapLayers': [
{ {
'name': 'Freifunk Regensburg', 'name': 'Freifunk Regensburg',
@ -111,12 +92,16 @@ module.exports = function () {
], ],
'siteNames': [ 'siteNames': [
{ {
'site': 'ffrgb-bat15', 'site': 'tdf',
'name': 'Regensburg' 'name': 'Troisdorf All'
}, },
{ {
'site': 'ffrgb', 'site': 'inn',
'name': 'Regensburg' 'name': 'Innenstadt'
}
{
'site': 'flu',
'name': 'Soziale Einrichtungen'
} }
] ]
}; };