utsav@homelab:~$
cd ~/homelab/watchdog
HOMELAB MONITORING
> U5 · BMC, WHO WATCHES THE HOME SERVER
utsav@homelab:~/homelab/watchdog$ cat PROBLEM.md
Monitoring that lives on the box it is monitoring goes down with it. In June 2026 I added a
Raspberry Pi Zero W whose only job was to watch the home server from outside and stay quiet unless
something was wrong. Once the homelab moved to Proxmox, the next problem was the opposite:
too many messages. One alert per failed check meant a flaky minute produced a burst of Telegram
pings, and the one that mattered was easy to miss.
utsav@homelab:~/homelab/watchdog$ whoami --role
Designed, written and tested by me, from the first ping script to the current alert pipeline.
utsav@homelab:~/homelab/watchdog$ cat ARCHITECTURE.md
OUTSIDE CHECKA Raspberry Pi 4 checks the Proxmox host every two minutes from a separate device
INSIDE CHECKProxmox alerts grouped into incidents: one message when a problem is confirmed, one when it recovers
OFF SITEA heartbeat to an external service every five minutes, so silence from home is itself an alert
ROUTINEDisk health every six hours, an 08:00 daily summary, and a report after each 03:00 maintenance run
DELIVERYTelegram, with quiet hours from 22:00 to 07:00 for anything that can wait
ORIGINALRaspberry Pi Zero W pinging every 10 seconds, alert after 3 misses
utsav@homelab:~/homelab/watchdog$ ./features --list
▸ A problem has to fail two checks in a row before anyone is woken
▸ Recovery messages, so an alert is never left hanging
▸ Quiet hours that hold back non urgent messages overnight
▸ Checks on a separate device and an off site heartbeat, so one failure cannot silence everything
utsav@homelab:~/homelab/watchdog$ cat CHALLENGES.md
▸ Alert fatigue: the fix was grouping by incident, not checking less often
▸ Making sure the watcher does not depend on the DNS server it is watching
▸ Proving new alert logic works without waiting for an outage
utsav@homelab:~/homelab/watchdog$ ls screenshots/
Example alert and summary messages are pending: they are being captured with host names and
addresses redacted. A photo of the Pi Zero W is also still to come.
utsav@homelab:~/homelab/watchdog$ make test
The original Pi Zero watchdog was tested with deliberate downtime in June 2026. The current incident
logic has 13 unit tests, and I replayed past alerts through it: the same period produced
10 messages instead of 18.
utsav@homelab:~/homelab/watchdog$ monitoring status
LiveTwo minute outside checks, incident based Proxmox alerts, off site heartbeat, disk checks and daily summary
HistoryPi Zero W watchdog (June 2026, v2 in October). Still online, retirement planned now that the newer checks cover it
utsav@homelab:~/homelab/watchdog$ git log --reverse --milestones
2026-06-16Pi Zero W watchdog built alongside the home server's update rollout
2026-06-18Alerting confirmed by taking the server down on purpose; the watchdog uses its own DNS path
2026-10-05Watchdog v2: delivery aware alerts with retries, plus an off site heartbeat for when home is offline
2026-10 to 2026-11Two minute checks from the Pi 4 agent, incident based Proxmox alerts with quiet hours, and maintenance reports
utsav@homelab:~/homelab/watchdog$