Skip to content

Commit

Permalink
monitor: groups for more locations + alphabetical sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Noki committed Oct 27, 2023
1 parent 6977e1b commit f0b5dc4
Showing 1 changed file with 55 additions and 65 deletions.
120 changes: 55 additions & 65 deletions roles/ff_monitor/templates/config.local.php.j2
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
$CONFIG['version'] = 5;
# $CONFIG['socket'] = 'unix:///var/run/collectd-socket';
$CONFIG['socket'] = 'unix:///var/run/rrdcached.sock';
$CONFIG['flush_type'] = 'rrdcached';
# $CONFIG['socket'] = 'unix:///var/run/collectd-socket';
$CONFIG['socket'] = 'unix:///var/run/rrdcached.sock';
$CONFIG['flush_type'] = 'rrdcached';

$CONFIG['graph_type'] = 'hybrid';
# default plugins to show on host page
Expand All @@ -11,6 +11,7 @@ $CONFIG['flush_type'] = 'rrdcached';
$CONFIG['percentile'] = 95;
$CONFIG['showload'] = false;

# Freifunk infrastructure
$CONFIG['cat']['berlin.freifunk.net'] = array(
'buildbot.berlin.freifunk.net',
'config.berlin.freifunk.net',
Expand All @@ -22,82 +23,71 @@ $CONFIG['flush_type'] = 'rrdcached';
'vmhost03.berlin.freifunk.net',
'a36s-hyp01.berlin.freifunk.net',
);

$CONFIG['cat']['Tunnel Gateways'] = '/^vpn0|^freifunk-gw01/i';

$CONFIG['cat']['Backbone Gateway Nodes'] = '/-gw$/i';

$CONFIG['cat']['BBB-VPN'] = '/bbb-vpn/';

$CONFIG['cat']['Rathaus Kreuzberg'] = '/^rhxb-/';

$CONFIG['cat']['Rathaus Neukoelln'] = '/^rhnk-/';

$CONFIG['cat']['Zwingli'] = '/^zwingli-/';

$CONFIG['cat']['Samariterkirche'] = '/^sama-/';

# Locations in alphabetical order
$CONFIG['cat']['Andreas-Gymnasium'] = '/^agym-/i';
$CONFIG['cat']['Berliner Hochschule für Technik (BHT)'] = '/^bht/i';
$CONFIG['cat']['Cafe Wostok'] = '/^cafe-wostok-/i';
$CONFIG['cat']['Christoperous Kirche'] = '/^chris-/i';

$CONFIG['cat']['Technik Museum'] = '/^dtmb-/i';

$CONFIG['cat']['Colbe15'] = '/^colbe15-/i';
$CONFIG['cat']['Cottbuss'] = '/^cottbus/i';
$CONFIG['cat']['Dorfplatz'] = '/^dorfplatz-/i';
$CONFIG['cat']['Dragonkiez'] = '/^dragonkiez/i';
$CONFIG['cat']['E16'] = '/^e16-|e16outdoor-/i';
$CONFIG['cat']['Emmaus Kirche'] = '/^emma-/i';

$CONFIG['cat']['Flughafen Tempelhof'] = '/^flughafen/i';

$CONFIG['cat']['Fürstenwalde'] = '/^fffw/i';
$CONFIG['cat']['Fesev'] = '/^fesev-/i';
$CONFIG['cat']['Finanamt Reinickendorf'] = '/^fardf/i';

$CONFIG['cat']['Philmel'] = '/^philmel/i';

$CONFIG['cat']['Segenskirche'] = '/^segen/i';

$CONFIG['cat']['Simeon'] = '/^simeon/i';

$CONFIG['cat']['Martin Luther Kirche'] = '/^mlk-nk-/';

$CONFIG['cat']['Berliner Hochschule für Technik (BHT)'] = '/^bht/i';

$CONFIG['cat']['Vaterhaus'] = '/^vaterhaus/i';

$CONFIG['cat']['Teufelsberg'] = '/^tberg|teufelsberg/i';

$CONFIG['cat']['Rixbox'] = '/^rixbox/i';

$CONFIG['cat']['Cottbuss'] = '/^cottbus/i';

$CONFIG['cat']['Scherer8'] = '/^scherer|basta/i';

$CONFIG['cat']['Scharni'] = '/^scharni/';

$CONFIG['cat']['Flughafen Tempelhof'] = '/^flughafen/i';
$CONFIG['cat']['Glanz15'] = '/^glanz15-/i';
$CONFIG['cat']['Glienicke'] = '/^glienicke/i';
$CONFIG['cat']['Gruni73'] = '/^gruni73/i';
$CONFIG['cat']['Gub37'] = '/^gub37-/i';
$CONFIG['cat']['HDK'] = '/^hdk|parzelle17-/i';
$CONFIG['cat']['Habersaath'] = '/^habersaath/i';

$CONFIG['cat']['JUP'] = '/^jup-/i';

$CONFIG['cat']['Gruni 73'] = '/^gruni73/i';

$CONFIG['cat']['HDK'] = '/^hdk/i';

$CONFIG['cat']['Halle'] = '/^halle-/i';
$CONFIG['cat']['Haus Der Statistik'] = '/^hds|^hdm/i';

$CONFIG['cat']['Hirschhof'] = '/^hirschhof-/i';
$CONFIG['cat']['JUP'] = '/^jup-/i';
$CONFIG['cat']['Kastanienallee'] = '/^k12|^k11/i';

$CONFIG['cat']['Kiehlufer'] = '/^kiehlufer/i';

$CONFIG['cat']['Kirchhof'] = '/^kirchhof-/i';
$CONFIG['cat']['Klunkerkranich'] = '/^klunker-/i';
$CONFIG['cat']['Kosmos'] = '/^kosmos-/i';
$CONFIG['cat']['L5'] = '/^l5-/i';
$CONFIG['cat']['Liese21'] = '/^liese-21-/i';
$CONFIG['cat']['Linie206'] = '/^linie206/i';

$CONFIG['cat']['Magda'] = '/^magda/i';

$CONFIG['cat']['Mahalle'] = '/^mahalle-/i';
$CONFIG['cat']['Manstein10'] = '/^manstein10-/i';
$CONFIG['cat']['Martin Luther Kirche'] = '/^mlk-nk-/';
$CONFIG['cat']['Philmel'] = '/^philmel/i';
$CONFIG['cat']['Q216'] = '/^q216-/';
$CONFIG['cat']['Rathaus Kreuzberg'] = '/^rhxb-/';
$CONFIG['cat']['Rathaus Neukoelln'] = '/^rhnk-/';
$CONFIG['cat']['Rauchhaus'] = '/^rauchhaus/i';

$CONFIG['cat']['Rigaer78'] = '/^rigaer78/i';

$CONFIG['cat']['Rigaer83'] = '/^rigaer83/i';

$CONFIG['cat']['Rio'] = '/^rio-/';
$CONFIG['cat']['Rixbox'] = '/^rixbox/i';
$CONFIG['cat']['Sama27'] = '/^sama27-/';
$CONFIG['cat']['Samariterkirche'] = '/^sama-/';
$CONFIG['cat']['Scharni'] = '/^scharni/';
$CONFIG['cat']['Scherer8'] = '/^scherer|basta/i';
$CONFIG['cat']['Schreiner'] = '/^schreiner-/i';

$CONFIG['cat']['Glienicke'] = '/^glienicke/i';

$CONFIG['cat']['Fürstenwalde'] = '/^fffw/i';

$CONFIG['cat']['Dragonkiez'] = '/^dragonkiez/i';
?>
$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-/';

0 comments on commit f0b5dc4

Please sign in to comment.