Welcome to the VMware Communities forums.
In the vSphere client you can go to Configuration > Health Status (when connecting to the host) or to the Hardware Status tab if you're using vCenter Server. If you see the health status of the controller and RAID array then you'll be able to generate an alert.
With vCenter Server an alert is generated for a hardware / RAID failure and you can setup vCenter to send an email to you. With ESXi you would have to create a custom script that will query the health status of the host.
Dave
VMware Communities User Moderator
Free ESXi Essentials training / eBook offer
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide