Monitor only HDDs for SMART failures
This commit is contained in:
parent
c03e5601ba
commit
54dead3028
|
@ -4,6 +4,8 @@
|
||||||
# Notify when a disk starts going haywire
|
# Notify when a disk starts going haywire
|
||||||
services.smartd = {
|
services.smartd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
autodetect = false;
|
||||||
|
devices = [ { device = "/dev/sda"; } { device = "/dev/sdb"; } ];
|
||||||
notifications.mail = {
|
notifications.mail = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recipient = "akasroua@gmail.com";
|
recipient = "akasroua@gmail.com";
|
||||||
|
|
Loading…
Reference in New Issue