Prepare monitoring alert rules
This commit is contained in:
@@ -42,6 +42,27 @@ Zeit: taeglich 06:20, Cron `20 6 * * *`.
|
||||
bash /mnt/user/services/homelab-infra/services/posture-check/compose-runtime-drift.sh
|
||||
```
|
||||
|
||||
## `prometheus-textfile-export-15min`
|
||||
|
||||
Zeit: alle 15 Minuten, Cron `*/15 * * * *`.
|
||||
|
||||
Zweck:
|
||||
|
||||
- Borg-Backup-Frische fuer Prometheus sichtbar machen
|
||||
- kritische Container als explizite 0/1-Metrik exportieren
|
||||
- Grundlage fuer `HomelabBorgBackupStale`, `HomelabBorgLastJobFailed` und `HomelabCriticalContainerDown`
|
||||
|
||||
```bash
|
||||
#!/bin/bash
|
||||
bash /mnt/user/services/homelab-infra/services/posture-check/export-prometheus-textfile.sh
|
||||
```
|
||||
|
||||
Ziel-Datei:
|
||||
|
||||
```text
|
||||
/mnt/user/services/posture-check/textfile/homelab.prom
|
||||
```
|
||||
|
||||
## `homelab-operations-report-daily`
|
||||
|
||||
Zeit: taeglich nach Borg und den Morgenchecks, z. B. 07:30, Cron `30 7 * * *`.
|
||||
|
||||
Reference in New Issue
Block a user