From 82c9309a1d3bad379364b2bb6e339efe2df2d11e Mon Sep 17 00:00:00 2001 From: stebifan Date: Mon, 9 Apr 2018 22:21:31 +0200 Subject: [PATCH] Update config.js --- config.js | 39 ++++++++++++--------------------------- 1 file changed, 12 insertions(+), 27 deletions(-) diff --git a/config.js b/config.js index 238c209..b217cb7 100644 --- a/config.js +++ b/config.js @@ -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' } ] };