[despammed] Monitoring PERC3/4 using megaraid2

Marc Fournier mfournier at despammed.com
Fri Apr 16 10:01:00 CDT 2004


Hello,


> etc - what i need to know though is the string that gets displayed whe a
> drive dies - I guess 'Offline' but i'd like it if anyone can confim that or
> tell me what the actual string is.
> I can then monitor for the presence of that string and alarm if it is there.

I just put the following line in root's crontab:

grep -ih state /proc/megaraid/*/raiddrives-* | grep -v optimal

Simple is beautiful ;)

Marc




More information about the Linux-PowerEdge mailing list