8Jun/070
Check 3ware controllers using Nagios
When implementing Nagios to monitor my servers I also wanted to check the RAID arrays. Our servers have 3ware controllers so I searched for a script that would do this for me. I found some perl scripts but somehow they just didn't do the trick.
Luckily 3ware provides a (closed source) admin tool called tw_cli. So, I decided to write my own check_3ware.sh script using the tw_cli tool. It's a very dumb script which outputs CRITICAL whenever one of your arrays does not return OK as state. You can get it here