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. -- john r pierce N 37, W 122 santa cruz ca mid-left coast
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. Craig
Joseph L. Casale
2011-Dec-22 23:28 UTC
[CentOS] c6, LSI megaraid drive failure notification
>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.I've tried countless times to get the LSI snmp agent designed just for this to work in CentOS 5 and 6, no luck. Resorted to a pathetic snmp extend that runs megacli, sigh...