F5F Stay Refreshed Software Operating Systems Email alert when a drive fails on Ubuntu

Email alert when a drive fails on Ubuntu

Email alert when a drive fails on Ubuntu

R
ricby
Senior Member
681
12-06-2016, 08:48 AM
#1
You need to configure your Plex server to send alerts via email when a hard drive fails. This involves setting up an SMTP account and linking it to your server’s notification system. While guides focus on the technical setup, you’ll also need to create an SMTP account and configure it to deliver emails from your server.
R
ricby
12-06-2016, 08:48 AM #1

You need to configure your Plex server to send alerts via email when a hard drive fails. This involves setting up an SMTP account and linking it to your server’s notification system. While guides focus on the technical setup, you’ll also need to create an SMTP account and configure it to deliver emails from your server.

H
Halvis00
Junior Member
12
12-13-2016, 05:17 PM
#2
You can initiate a script when a drive fails, allowing you to create a message with authenticated SMTP, such as mailx.
H
Halvis00
12-13-2016, 05:17 PM #2

You can initiate a script when a drive fails, allowing you to create a message with authenticated SMTP, such as mailx.

S
SnifePvP
Posting Freak
872
12-14-2016, 12:21 AM
#3
They believe you already have mail configured. If your server can't send mail independently, consider using an external server. Check out this suggestion here: https://unix.stackexchange.com/questions...mtp-server. Find a bash script example for monitoring hard disk health and sending emails on errors at https://csidiropoulos.wordpress.com/2013...-on-error/. Adjust it to match your needs.
S
SnifePvP
12-14-2016, 12:21 AM #3

They believe you already have mail configured. If your server can't send mail independently, consider using an external server. Check out this suggestion here: https://unix.stackexchange.com/questions...mtp-server. Find a bash script example for monitoring hard disk health and sending emails on errors at https://csidiropoulos.wordpress.com/2013...-on-error/. Adjust it to match your needs.