Monitor script

Does anyone have a monitoring script in solaris that monitors the drives in an exclosure? The script should be in /bin/bash or /bin/sh thnks again
This should be for solaris 10/11 looking for something that tells me a drive is down or offline.:confused: