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
Red Hat Virtual Experience - a free virtual event. Dec. 9th







Recent comments
9 hours 10 sec ago
14 hours 48 min ago
16 hours 39 min ago
18 hours 24 min ago
22 hours 14 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 8 hours ago
1 day 14 hours ago
1 day 19 hours ago