Small bash script I wrote to monitor an Areca RAID card. If the array fails, it sends me an email. It can be used for other RAID cards (such as 3ware), with slight modifications.