From 6977e1bd27c545f5d080573a4c87b191f0d3d46b Mon Sep 17 00:00:00 2001 From: Perry Melange Date: Wed, 18 Oct 2023 10:47:17 +0200 Subject: [PATCH 1/3] monitor: update regex for teufelsberg Signed-off-by: Perry Melange --- roles/ff_monitor/templates/config.local.php.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ff_monitor/templates/config.local.php.j2 b/roles/ff_monitor/templates/config.local.php.j2 index 30ac5c7..3881a52 100644 --- a/roles/ff_monitor/templates/config.local.php.j2 +++ b/roles/ff_monitor/templates/config.local.php.j2 @@ -59,7 +59,7 @@ $CONFIG['flush_type'] = 'rrdcached'; $CONFIG['cat']['Vaterhaus'] = '/^vaterhaus/i'; - $CONFIG['cat']['Teufelsberg'] = '/^tberg/i'; + $CONFIG['cat']['Teufelsberg'] = '/^tberg|teufelsberg/i'; $CONFIG['cat']['Rixbox'] = '/^rixbox/i'; From 208cc923a3e889410890a2fe7ef6ebd3ba73b4ee Mon Sep 17 00:00:00 2001 From: Nicolas Berens Date: Wed, 1 Nov 2023 22:38:08 +0100 Subject: [PATCH 2/3] change default interface (#94) --- templates/Caddyfile_monitor.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/Caddyfile_monitor.j2 b/templates/Caddyfile_monitor.j2 index 7b9bd37..a4aba0e 100644 --- a/templates/Caddyfile_monitor.j2 +++ b/templates/Caddyfile_monitor.j2 @@ -8,7 +8,7 @@ monitor.berlin.freifunk.net { reverse_proxy http://127.0.0.1:8080 } - redir / /cgp/ + redir / /grafana/ redir /host.php /cgp/host.php?{query} } From 91cac7bb8c4cca9a609723ab2dfc7c2eba6c0623 Mon Sep 17 00:00:00 2001 From: Tobias Schwarz Date: Wed, 1 Nov 2023 22:39:45 +0100 Subject: [PATCH 3/3] monitor: groups for more locations + alphabetical sorting (#93) Co-authored-by: Nicolas Berens --- .../ff_monitor/templates/config.local.php.j2 | 120 ++++++++---------- 1 file changed, 55 insertions(+), 65 deletions(-) diff --git a/roles/ff_monitor/templates/config.local.php.j2 b/roles/ff_monitor/templates/config.local.php.j2 index 3881a52..06ece2d 100644 --- a/roles/ff_monitor/templates/config.local.php.j2 +++ b/roles/ff_monitor/templates/config.local.php.j2 @@ -1,8 +1,8 @@ + $CONFIG['cat']['Segenskirche'] = '/^segen/i'; + $CONFIG['cat']['Sgfrd'] = '/^sgfrd-/'; + $CONFIG['cat']['Simeon'] = '/^simeon/i'; + $CONFIG['cat']['St.-Adalbert Kirche'] = '/^stadalbert-/i'; + $CONFIG['cat']['Technik Museum'] = '/^dtmb-/i'; + $CONFIG['cat']['Teufelsberg'] = '/^tberg|teufelsberg/i'; + $CONFIG['cat']['Vaterhaus'] = '/^vaterhaus/i'; + $CONFIG['cat']['Weidenbaum'] = '/^weidenbaum-|funkpilz|funkigel/'; + $CONFIG['cat']['W38B'] = '/^w38b-/i'; + $CONFIG['cat']['Wilgu10'] = '/^wilgu10-/i'; + $CONFIG['cat']['Wuhlheide'] = '/^wuhli-|wuhlipunks-/i'; + $CONFIG['cat']['Xdorf'] = '/^xdorf-/i'; + $CONFIG['cat']['Zwingli'] = '/^zwingli-/';