Field Notes
May 24, 2026 · 2 min read

Monitoring disk health with smartd and a webhook

Get a message before the disk dies, not after.

smartd can run any command on a warning. A short script turns that into a chat message.

DEVICESCAN -a -o on -S on -s (S/../.././02|L/../../6/03) -m root -M exec /usr/local/bin/smart-notify

Long tests on Saturday nights, short tests every night at two.

Filed under MonitoringStorage

← Restoring from backup, on purposeSplit-horizon DNS for a small home lab →