How To Configure Software RAID To Send An Email When Something's Wrong With RAID
How To Configure Software RAID To Send An Email When Something's Wrong With RAIDVersion 1.0 This short guide explains how you can configure software RAID to send you an email when something's wrong with RAID, for example if a hard drive fails. I've tested this on Debian Etch, but it should apply to all other distributions with minor adjustments to paths, etc. I do not issue any guarantee that this will work for you! Open your mdadm.conf file (on Debian it's /etc/mdadm/mdadm.conf)... vi /etc/mdadm/mdadm.conf ... and add a MAILADDR line (with your email address) to the file, e.g. like this:
Then restart mdadm: /etc/init.d/mdadm restart That's it. Now whenever there's something wrong with your RAID setup, you will receive an email, for example as follows: From: mdadm monitoring <root@server1.example.com> or like this: From: mdadm monitoring <root@server1.example.com>
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com







Recent comments
20 hours 29 min ago
21 hours 58 min ago
1 day 1 hour ago
1 day 4 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 10 hours ago