3 # Nagios check for Mylex DAC960/AcceleRAID/eXtremeRAID PCI RAID Controllers
5 # Some background information on the driver is available at
6 # http://home.germany.net/100-120220/mylex/DAC960.README
8 # Written 2008 Peter Palfrader
10 if [ -e /proc/rd/status ]; then
11 status=`cat /proc/rd/status`
12 if [ "$status" = "OK" ]; then
13 echo "OK: all DAC960 controllers operating normally; no (non-standby) failures have occurred"
16 echo "CRITICAL: proc/rd/status is $status"
20 echo "UNKNOWN: No DAC960 controllers in the system"