Monitoring: Gestoppte Container automatisch aus Silence-Check ausblenden #31
Labels
No labels
flugscanner
fuenfvoracht
infrastruktur
jarvis
ki-tower
nice-to-have
prio-1
wartung
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: orbitalo/homelab-brain#31
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Wenn ein Container absichtlich gestoppt wird, meldet der Hausmeister-Bot trotzdem "Keine Logs seit 35+ Min" — weil der Silence-Check nicht weiß ob der Container läuft oder gestoppt ist.
Aktueller Workaround
Manueller Eintrag in
SILENCE_IGNORED_HOSTSinmonitor.py.Gewünschtes Verhalten
Vor dem Silence-Alert automatisch prüfen ob der Host zu einem gestoppten Container gehört. Wenn ja → kein Alert.
Implementierung
check_all(): Proxmox-Container-Liste ladenSILENCE_IGNORED_HOSTSbleibt als Fallback für Hosts ohne Proxmox-Mapping (z.B. ct-600-webcam)Implementiert in Commit
43ee006f:monitor.py: Silence-Check baut jetzt einrunning_names-Set aus dem Proxmox-Container-Status (der ohnehin schon incheck_all()geladen wird)runninggelistet sind, können einen Silence-Alert auslösenSILENCE_IGNORED_HOSTSbleibt als manueller Override für laufende Container die strukturell keine Loki-Logs senden