- #Lsi megaraid storage manager not sending email alerts how to
- #Lsi megaraid storage manager not sending email alerts software
#Lsi megaraid storage manager not sending email alerts software
That’s it! You’ve now set up your server to send you email alerts whenever a failure event occurs in MDADM / software raid. Be sure to whitelist these emails so that when a real raid alert comes in, your email provider doesn’t send it to your spam box! This will send you an email regarding the current status of your raid arrays. WARNING: The last line in /etc/rc.local for Debian (and possibly Ubuntu installs) is “exit 0” so you need to make sure that the command above goes BEFORE that line otherwise it will never run.įinally, if you’d like to test that emails are being sent properly, you can run the following command: Edit the following file:Īnd copy and paste the line near the end of the file: If this works correctly, we will want to make sure that this command runs at boot time. Next we run the process and make sure it runs without error.
If it doesn’t, copy and paste it in there:Īlso add to this file the email address you’d like to have receive notifications: Make sure the configuration file it has the following line in it. So without further ado….Įasy instructions for setting up mdadm / software raid email alerts for failed drives in Centos, Ubuntu, and Debian:įirst off, start by editing the following file. The steps are relatively easy, but it’s always good to have a working reference to look at if you don’t do this every day. Setting this up is an important part of any data security strategy.
#Lsi megaraid storage manager not sending email alerts how to
In this article, we will give you a brief overview of how to configure email based alerts for software raid / MDADM under Centos, Ubuntu, and Debian. Needless to say, this can lead to data loss, and so getting early notifications of failed drives is very important in RAID. Often times, a failed drive will go unnoticed until after the backup drive has also failed. But RAID only provides protection against failed drives if you realize a drive has failed and replace it. Issues regarding software and hardware raid are no stranger to the IOFlood blog, with articles discussing the relative merits of each, articles discussing why raid is important (and so are backups), and so on.