arrayprobe | command line HP (Compaq) SmartArray status checker | Mehr ...
By default it runs in a non verbose mode that can be used as a nagios check or periodic cron job. The output is a single line of information about the worst state found. (If one logical drive is recovering and a second drive is in interim recovery mode. It will only report the failing drive.) The exitcodes can be used to determine the severity. Critical = 2; Warning = 1; Normal = 0