22Jun/070
More 3ware and Nagios
I've extended the check_3ware.sh script a bit more.
Now the script returns OK if all your units are okay, WARNING when a unit is rebuilding, CRITICAL when an array has failed and UNKNOWN when tw_cli returns something I didn't catch. I don't know all states tw_cli can return so right now the solution is to return unknown. I'll probably extend it in the future.
You can still look at the script here.