From f23d5d4245ca6e74982498e39106ab0e937d4f4f Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sat, 19 Sep 2026 12:14:20 +0800 Subject: [PATCH] docs(monitoring): note dead-man switch and backup freshness TODOs --- hosts/idols-aquamarine/monitoring/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/hosts/idols-aquamarine/monitoring/README.md b/hosts/idols-aquamarine/monitoring/README.md index d4ed16d2..3d36a4c5 100644 --- a/hosts/idols-aquamarine/monitoring/README.md +++ b/hosts/idols-aquamarine/monitoring/README.md @@ -6,3 +6,16 @@ - Collection of Prometheus alerting rules. - [victoria-metrics-k8s-stack/files/rules](https://github.com/VictoriaMetrics/helm-charts/tree/master/charts/victoria-metrics-k8s-stack/files/rules/generated) - Alert Rules & Recoding Rules used by kube-prometheus-stack. + +## TODO + +- **Dead-man switch**: `Watchdog` in `alert_rules/general.yml` always fires (`vector(1)`) but is + routed to the `null` receiver in `alert.nix`, so a dead alerting pipeline looks identical to a + healthy one. Route it to an external heartbeat service (healthchecks.io, Uptime Kuma, PagerDuty + DeadMansSnitch) that notifies when the heartbeat stops, or run an out-of-band probe against + Alertmanager. +- **Backup freshness**: nothing alerts on "no recent successful backup". The systemd `failed` state + only catches crashes, not a job that never ran or a backup that is silently stale. Export the last + successful backup timestamp (restic prometheus exporter; btrfs snapshot time via the node-exporter + textfile collector) and alert when it exceeds the SLO, and add an off-host btrbk `target` so local + snapshots are not the only copy.