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
3 hours 9 min ago
4 hours 51 min ago
7 hours 17 min ago
7 hours 23 min ago
11 hours 57 min ago
13 hours 58 min ago
17 hours 21 min ago
19 hours 28 min ago
19 hours 39 min ago
22 hours 5 min ago