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.
Configure 'smartmontools' to send email notifications when disk failure
-
- Posts: 1560
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
-
- Posts: 30
- Joined: 2017/07/12 21:02:02
Re: Configure 'smartmontools' to send email notifications when disk failure
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:
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?
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
Hardware:
Supermicro X10SRi-F mobo
E5-2620v4 CPU
8GB RAM (for now)
1x 250GB SSD (OS)
2x 4TB HDD RAID 1 (storage)
Supermicro X10SRi-F mobo
E5-2620v4 CPU
8GB RAM (for now)
1x 250GB SSD (OS)
2x 4TB HDD RAID 1 (storage)
-
- Posts: 1560
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: Configure 'smartmontools' to send email notifications when disk failure
Check the journal via 'journalctl'.
And open your own thread unless it covers disk monitoring and e-mails
And open your own thread unless it covers disk monitoring and e-mails
