[mdlug] RAID Monitor Script

Stan Green Stan at MComputerSolutions.com
Wed Jan 31 17:20:51 EST 2007


From what I can see, mdadm is limited in its ability to send email. It only 
has space for one address and seems to only be able to send it to the local 
host. (Mike's script solves both these issues.) I almost never log into the 
server, so I need to send the mail to another server. I've looked into the 
source code and it would not be to hard to add more email functionality. I've 
given it a little thought, but have not yet decided to do it. (Time is always 
the issue.)

Regards,
Stan Green

On Tuesday 30 January 2007 11:38 pm, Dan Pritts wrote:
> mdadm has a "monitor" mode that will e-mail you with errors.
>
> I haven't looked at your script so i don't know whether it is
> better than mdadm's thing.
>
> On Sat, Jan 27, 2007 at 07:57:13PM -0800, Michael S. Mikowski wrote:
> > Hi Everyone:
> >
> > Here is a little perl script to monitor RAID status and
> > email users if any array appears degraded.  Hope you find
> > it useful.  If someone knows of a more sophisticated
> > approach, I'm all ears.  I just couldn't find anything
> > easily on the web.
> >
> > Cheers!
> > --
> > Mike
> > www.dynaorg.com
> >
> >
> > _______________________________________________
> > mdlug mailing list
> > mdlug at mdlug.org
> > http://mdlug.org/mailman/listinfo/mdlug
>
> danno
> --
> dan pritts
> danno at umich.edu
> 734-929-9770
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug



More information about the mdlug mailing list