power: add van-nvme-watch — pages on NVMe I/O-timeout/reset recurrence

Tails journalctl -kf for the "nvme nvmeN: I/O tag ... timeout, reset
controller" signature that crashed and corrupted the root fs on 2026-08-02
(and recurred 2026-08-04, that time self-healing). Watches a short grace
window to tell a clean self-heal from an escalation (repeated timeout or a
following ext4 error) before paging via the existing Pushover credentials,
with a live SMART/superblock snapshot in the alert body.
This commit is contained in:
Andreas Wrede
2026-08-04 08:44:53 -04:00
parent 86fa9509df
commit e7a82126f2
5 changed files with 302 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
[Unit]
Description=NVMe I/O-timeout/reset watchdog + Pushover alert for the campervan router
After=local-fs.target network-online.target systemd-journald.service
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/sbin/van-nvme-watch
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target