Only notify of relevant SMART errors
This commit is contained in:
parent
3065deb6e1
commit
6760720d05
|
@ -10,6 +10,9 @@ in {
|
|||
# Notify when a disk starts going haywire
|
||||
services.smartd = {
|
||||
enable = true;
|
||||
defaults.monitored = "-H -f -t -C 197 -U 198 -d nvme";
|
||||
autodetect = false;
|
||||
devices = [{ device = "/dev/nvme0"; }];
|
||||
notifications.mail = {
|
||||
enable = true;
|
||||
sender = sender;
|
||||
|
|
Loading…
Reference in New Issue