Last active
September 27, 2017 14:44
-
-
Save smolin/e62e0fe910020625467f7fc7481dcc25 to your computer and use it in GitHub Desktop.
monitor a disk drive in linux using smartd and send reports with email
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In /etc/smartd.conf, add a line like this before the line with DEVICESCAN in it: | |
/dev/sda -m your_email@domain.com -M test | |
The "-M test" says to send an email when smartd starts (in order to test the | |
email channel). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment