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
|
# Notify when a disk starts going haywire
|
||||||
services.smartd = {
|
services.smartd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
defaults.monitored = "-H -f -t -C 197 -U 198 -d nvme";
|
||||||
|
autodetect = false;
|
||||||
|
devices = [{ device = "/dev/nvme0"; }];
|
||||||
notifications.mail = {
|
notifications.mail = {
|
||||||
enable = true;
|
enable = true;
|
||||||
sender = sender;
|
sender = sender;
|
||||||
|
|
Loading…
Reference in New Issue