From b1a9e763ec65c1e1a38bacb8e063ace024864cff Mon Sep 17 00:00:00 2001 From: Gregor Michels Date: Fri, 30 Dec 2022 19:54:46 +0100 Subject: [PATCH] README: update a few things --- README.md | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 55a6630..8109e6e 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,18 @@ -# Freifunk Leipzig - Erstaufnahme Einrichtung - Am Deutschen Platz +# Freifunk Leipzig - Erstaufnahme Einrichtungen -This repo contains the config and documentation for our installation at the "Erstaufnahme Einrichtung - Am Deutschen Platz" +This repo contains the config and documentation for our installations at +* `Am Deutschen Platz` +* `Arno-Nitzsche-Straße` --- **this is a work in progress** +* this repo was created for `Am Deutschen Platz` and was then reused for `Arno-Nitzsche-Straße` +* therefore the ansible stuff is a bit smelly +* there is a lot of documentation missing for the `Arno-Nitzsche-Straße` +* ... + --- ## Quick Links @@ -27,7 +34,7 @@ This repo contains the config and documentation for our installation at the "Ers ### Initial Setup 0. install requirements -1. clone repo and change directory: `git clone https://git.sr.ht/~hirnpfirsich/ffl-eae-adp && cd ffl-aea-adp` +1. clone repo and change directory: `git clone --recurse-submodules https://git.sr.ht/~hirnpfirsich/ffl-eae-adp && cd ffl-aea-adp` 2. create python3 virtual enviroment: `python3 -m venv ansible-environment` 3. enter python3 virtual environment: `. ansible-environment/bin/activate` 4. install ansible and dependencies: `pip3 install -r ansible-environment.txt` @@ -46,6 +53,30 @@ Should something in the inventory change or you want to use/change the jumphost Passwords managed using `pass`. Simply call `pass` after sourcing the environment. +### Monitoring + +Initially we've deployed the monitoring on `monitoring01` (that lives on `hyper01` in `Am Deutschen Platz`). + +After deploying the second camp we've decided to move the monitoring into the `cloud`. +The new monitoring stack runs on `eae-adp-jump01`. +Unfortunately `prometheus` crashes every few hours on `openbsd`. +So there is a cronjob restarting `prometheus` every 2 hours on `eae-adp-jump01`. + +As soon as someone finds the time we will move the monitoring stack onto a normal linux machine. + +* old monitoring: `monitoring01 - 10.84.1.51` + * is not getting new configs via ansible + * rocks an old version of the grafana dashboard + * the facility management still has a link to this instance +* new monitoring: `eae-adp-jump01 - 10.84.254.0` + +Both stacks offer the following services: +* `prometheus`: `tcp/9090` +* `alertmanager`: `tcp/9093` +* `grafana`: `tcp/3000` + +Use `ssh -D 8888 eae-adp-jump01` an configure this socks proxy in your favorite browser to visit the webguis. + ### Descriptions * `environment`: configure environment (path to `pass` store, http(s) socks proxy and python venv for ansible)