Add notifications for collector failures
Author: kaysondCreated Feb 27, 2026Updated Feb 28, 2026
Labelsenhancementcontributor friendlygotypescriptfrontend
We should add an API endpoint so the collector can report smartctl --scan and smartctl --info errors. The endpoint can trigger an opt-out notification. If the backend receives a smartctl --xall json object indicating an error (see #944), a notification should also be sent.
This needs a new handler, a new route:
and a new setting, including a UI element and database migration. See https://github.com/AnalogJ/scrutiny/commit/bdbe13e320673d017c9c5cf3aea23436c79642c4 for an example.
Source: AnalogJ/scrutiny