Files
homelab-configs/monitoring/prometheus-offhost-watchdog/prometheus-watchdog.service
T
tommy 6af09ef9c6 monitoring: off-host Prometheus dead-man's-switch watchdog (Pi .227)
Independent-hardware systemd timer on raspberrypi (.227) probing media-server
Prometheus /-/healthy every 60s; pages ntfy prometheus-critical after 3 fails
and on recovery. Catches media-server-dark, which the same-host Uptime-Kuma
monitor structurally cannot. Deployed + live-outage tested 2026-06-30.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 21:58:57 -05:00

9 lines
250 B
Desktop File

[Unit]
Description=Off-host Prometheus dead-man's-switch (probes media-server .183)
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
EnvironmentFile=/etc/prom-watchdog.env
ExecStart=/usr/local/bin/prometheus-watchdog.sh