Bash script for parse output from next utilits and return raid and controller status:
hpacucliMegaCliStorManmpt-statussas2ircu
Used for monitoring systems: Zabbix Nagios NetXMS end etc.
Ussage:
./raid_check.sh RAID_STATUSor
./raid_check.sh CTRL_STATUSPS
Before get status, you must call
./raid_check.sh GET_TMP_REPORTfor write output from utilite to temp file.