Monitoring Hardware RAID on Linux

Thom Dyson TDyson at sybex.com
Fri Aug 1 14:53:01 CDT 2003


We use a script that runs every 5 minutes.  Not very sophisticated, but it
works.  Swatch watches syslog



#less afa-check.sh
#!/bin/sh
/usr/sbin/afacli @/usr/sbin/afa.cmds | grep Off | logger -p Local0.Warn
/usr/sbin/afacli @/usr/sbin/afa-task.cmds | grep Rebuild | logger -p
Local0.Warn



 #less afa.cmds
open afa0
disk list
exit

# less afa-task.cmds
open afa0
task list
exit



Thom Dyson
Director of Information Services
Sybex, Inc.






More information about the Linux-PowerEdge mailing list