Tiffany Walker asked:
Is there a way to monitor disk health and send cronjob reports for errors?
I know you can use
smartctl -s on -a /dev/hda to pull information but just wondering if there is a way that could be used to filter and only send if something needs attention.
Is SmartMon something I want to look into?
You can set up
smartd to run as a daemon and email you when a disk error occurs. Add
-m email@example.com to the relevant line of the
smartd configuration file (e.g.
/etc/default/smartmontools). This is the line that usually begins with
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.