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: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
-
- Posts: 92
- 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-2683v4 16-core CPU
112GB ECC RAM
2x 250GB SSD RAID1 (current CentOS 7 version)
2x 500GB SSD RAID1 (VM Disk Image Storage)
2x 4TB HDD RAID1 (Backup Storage via FreeNAS VM)
2X 6TB HDD RAID1 (Data Storage via FreeNAS VM)
Supermicro X10SRi-F mobo
E5-2683v4 16-core CPU
112GB ECC RAM
2x 250GB SSD RAID1 (current CentOS 7 version)
2x 500GB SSD RAID1 (VM Disk Image Storage)
2x 4TB HDD RAID1 (Backup Storage via FreeNAS VM)
2X 6TB HDD RAID1 (Data Storage via FreeNAS VM)
-
- Posts: 2019
- 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