Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or
create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 1: |
Line 1: |
| {{Host | | {{Host |
| |name=dashboard.chaosdorf.de | | |name=dashboard.chaosdorf.de |
| |image=Dashboard.png
| | |os=Debian Stretch amd64 |
| |os=Debian 12 amd64 | |
| |location=Host:Vm | | |location=Host:Vm |
| |purpose=Prometheus + Grafana | | |purpose=Prometheus + Grafana |
| |disk=16 GB | | |disk=20 GB |
| |ram=4 GiB | | |ram=2 GiB |
| |swap=0
| |
| |admin_toolkit=Yes | | |admin_toolkit=Yes |
| |ssh_root_keys=/var/cache/ssh
| | |ssh_pam=No |
| |ssh_pam=Yes | |
| |ssh_userlogin=No | | |ssh_userlogin=No |
| |admins=derf, feuerrot, byte | | |admins=Derf |
| |static_ip=2001:aa8:fff5:0:5054:ff:fe80:c7a0
| |
| }} | | }} |
| == Dashboard ==
| | tbd |
| | |
| Mit Grafana als Frontend und Prometheus (für Server) sowie InfluxDB (für Sensoren) als Backend/Datenbank wird [https://chaosdorf.de/dashboard chaosdorf.de/dashboard] erzeugt. Login ist per LDAP für alle Mitglieder möglich, die Config dazu findet sich in <tt>/etc/grafana/ldap.toml</tt>.
| |
| | |
| Prometheus-Daten werden im Pull-Verfahren alle 20 Sekunden von <tt>prometheus-node-exporter</tt>-Instanzen auf unseren Hosts eingesammelt. In <tt>/etc/prometheus/prometheus.yml</tt> sind diese konfiguriert und werden auch direkt in verschiedene Kategorien (chaosdorf.de / clubraum, Host / VM) einsortiert.
| |
| | |
| Nonstandardmetriken können auch per node-exporter erfasst werden, indem sie in <tt>/var/lib/prometheus/node-exporter/*.prom</tt> abgelegt werden. Aktuell verwenden wir dabei die folgenden Konventionen für Metriknamen:
| |
| | |
| * <tt>node_*</tt> für Hostmetriken (Default von node-exporter)
| |
| * <tt>clubraum_*</tt> für Clubraummetriken, z.B. Türstatus, Stromverbrauch, Temperaturen
| |
| * <tt>verein_*</tt> für Vereinsmetriken, z.B. die Anzahl der Mitglieder
| |