[CentOS] c6, LSI megaraid drive failure notification

Thu Jan 5 02:08:34 UTC 2012
John R Pierce <pierce at hogranch.com>

On 12/22/11 1:32 PM, Craig White wrote:
> On Dec 22, 2011, at 1:12 PM, John R Pierce wrote:
>
>> >  i'm configuring a storage server with CentOS 6.2, it uses a LSI MegaRAID
>> >  SAS controller, I'm using LSI's megacli to configure the storage...
>> >  Any ideas on how to get drive failure notifications out of this
>> >  system?   I'm configuring hot spares but I'd still like some sort of
>> >  notification when a drive has failed so the spare can be replaced.
> ----
> don't know how to do it on CentOS but on Ubuntu, I use megaclisas-status package which goes hand in hand with megacli and it sends notifications.
>
> If you want, I can e-mail you the megaclisas-status script from /usr/sbin and beyond that, there's a sysv initscript that periodically checks and sends an e-mail. Simple enough.


not having much  luck locating that megaclisas-status script

http://hwraid.le-vert.net/wiki/LSIMegaRAIDSAS talks about it, but the 
source is nowhere to be found

I found this, which looks moderately interesting, but I'm not a python 
programmer
http://windowsmasher.wordpress.com/2011/08/15/using-megacli-to-monitor-openfiler-rev2/



-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast