Re: mdadm mail option configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday May 28, jhill@hronline.com wrote:
> I'm having problems configuring mdadm to send e-mail alerts. From past list 
> discussions I configured it with:
> 
> devo:/#  cat /etc/mdadm.conf
> 
> DEVICE /dev/hd*[0-9] /dev/sd*[0-9]
> ARRAY /dev/md1 level=raid1 num-devices=2 
> UUID=8e0114bb:e5b3a608:048bed2d:5fe33724
> ARRAY /dev/md2 level=raid1 num-devices=2 
> UUID=434dd79d:0c046e9b:867e8d98:86bdb5da
> ARRAY /dev/md3 level=raid1 num-devices=2 
> UUID=9a9a2078:44c22d83:25a32457:db7e3783
> ARRAY /dev/md5 level=raid1 num-devices=2 
> UUID=e3254469:34147651:c9298800:5a84cd06
> ARRAY /dev/md6 level=raid1 num-devices=2 
> UUID=80c78ac7:c0f4442a:3dd6517d:57edc79e
> MAILADDR jhill@hrpost.com
> PROGRAM /usr/local/sbin/raidalert

You need white-space infront of the UUID= bits, as it is continuation
of the previous line... or did you suffer a mailer word wrap??

Do you have a "/usr/lib/sendmail" or is it somewhere else on your
system?

> 
> ------
> Then, I just have an init script that runs:
> 
> 	/sbin/mdadm -Fs --delay=600 &

Why 600 (10 minutes)?? I would suggest 60seconds for normal operation
and 1 second for testing.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux