One of the best things about VMware is that, if everything is setup correctly, a cluster can experience a host failure or a host isolation with very little impact to the guests within that cluster. However, as nice as it is to experience a failure and not get paged at 3AM, it helps to know what failed and when. By default, VMware vCenter 4.1 doesn’t ship with any HA alarms. Let’s take a minute to get one setup.
First, select the parent of the objects that you’d like to monitor. I chose the vCenter object, since I want to monitor all hosts & clusters within vCenter, regardless of datacenter. Then click the Alarms tab in the right pane, and then the Definitions view. In the whitespace to the right of the existing definitions, right-click and add a new alarm definition.
1.) The General tab: Give your new alarm a name, a definition (if you’d like), and set the monitor type to clusters.
2.) The Triggers tab: Click Add and select the space on the left of the row to enable the dropdown. Scroll down until you see the 5 events below that will trigger this alarm. Add them all, or each one into a separate alarm if you’d like. You don’t have to do anything with the Advanced settings on the triggers.
3.) We’ll skip the Reporting tab and move right to the Actions tab. There are couple different options here, such as run a command, send an SNMP trap, or send a notification email. I chose the email, and then entered the email address that will receive the alerts. Set the notification condition to Warning -> Error.
I hope you’ve found this helpful!