Configure 'smartmontools' to send email notifications when disk failure

Issues related to hardware problems
hunter86_bg
Posts: 1414
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: Configure 'smartmontools' to send email notifications when disk failure

Post by hunter86_bg » 2017/08/08 15:16:42

Here is a short guide for postfix with gmail.
I 've tested it with the smartmontools' reporting script but none of my drives has failed , yet.

simon_lefisch
Posts: 27
Joined: 2017/07/12 21:02:02

Re: Configure 'smartmontools' to send email notifications when disk failure

Post by simon_lefisch » 2018/06/22 17:19:34

Sorry to revive this thread 1 year later, but I have a couple questions about smartmontools....

I have it installed and configured according to various tutorials I've found on the net. However I'm not sure if it is actually monitoring my HDD's or not. I used htop to see if there was a process running and there is:

Code: Select all

11628 root	20	0 24588	2476   1684 S  0.0  0.0  0:00.05 /usr/sbin/smartd -n -q never
So I assume that smartmontools is monitoring due to that process running but not sure. Is there any way to find a log showing that smartmontools/smartd is running the disk checks I have configured in the /etc/smartmontools/smartd.conf file?

hunter86_bg
Posts: 1414
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: Configure 'smartmontools' to send email notifications when disk failure

Post by hunter86_bg » 2018/07/09 04:56:02

Check the journal via 'journalctl'.
And open your own thread unless it covers disk monitoring and e-mails ;)

Post Reply