Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Configuring and testing alerts in VMware vCenter Server Heartbeat (1008607)

Purpose

This article provides information about configuring alerts and setting reporting levels using the VMware vCenter Server Heartbeat Console.

Resolution

Configuring Alerts

To configure alerts:
  1. Click Advanced > Alerts > Configuration.
  2. Critical red alerts and less serious yellow alerts can be manually reconfigured. The alerts are preconfigured with the recommended alerting levels. Reconfigure alerts to yellow or red by selecting Trigger Yellow Alert or Trigger Red Alert.
  3. Click Apply to save your new configuration.
  4. Reset resets the screen to the last changes applied.

Setting up Alerts Reporting

To setup alerts reporting:
  1. When you are satisfied with the trigger levels, click the Reporting tab in the Standard mode to configure the recipients of emailed alerts. Emails can be sent for both red and yellow alert triggers.
  2. To configure alerts, Send mail on red alert and/or Send mail on yellow alert must be selected.
  3. Enter the recipients fully qualified email addresses into rows in the table Mail Recipients for the trigger level alert.
    • Click Add Row.
    • Delete an email address from the tables by clicking Delete Row.
    • Clear an entire recipient list table by clicking Trash Can.

The Subject and Content text fields offer a template for email messages that is sent to recipients. They can be customized and allow the use of VMware vCenter Server Heartbeat specific informational variables as detailed below:

Variable  

   Value

 $EventId

 Id of trigger event

 $EventName

 Name of event

 $EventDetail 

 Detail message for event

 $EventHostName

 The name of the host where the event took place

 $EventHostRole

 The role (active/passive) of the server where the event took place

 $EventHostId

 The identity(Primary/Secondary)of the server where the event took place

 $EventTime

 The time at which event occurred

 
Although you can configure alerts to suit your requirements, VMware recommends that the preconfigured content remains the same and any adjustments are made in addition.
 
An alternative method of issuing e-mail alerts is to run a command, by selecting Run Command. A Run Command can be either a script or a command line argument to run on the alert trigger. 
 
 
When the alert recipients and/or actions to be run have been defined, click Apply to save the changes and apply the notification rules.
 
Reset resets the screen to the last changes applied.

Testing Alerts 

Alert reporting may be tested without the need to trigger an alert (and therefore jeopardize the operation of the active Server), by clicking the Test Alert Reporting button.
 
To test alerts:
  1. Configure the mail host, send mail address, and authentication configuration via VMware vCenter Server Heartbeat Console Advanced > System > Configuration. Click on Apply.
  2. Click Alerts > Configuration and check that Testing Alert Reporting is selected.
  3. Click Alerts > Reporting. Click Test Alert Reporting.
  4. Check the mail accounts for appropriate messages.

A mis-configured or unreachable mail system prevents email alerts from being sent and a warning event is generated in the VMware vCenter Server Heartbeat Console Log Panel like:
 
Importance : Warning
Type : Sending mail failed
Source : Primary (while active)

Unable to mail alert message Could not connect to SMTP host: 192.168.27.27, port: 25;
nested exception is:
java.net.NoRouteToHostException: No route to host: connect 
 

Additional Information

The VMware vCenter Server Heartbeat Console allows you to configure alerts and customize the actions taken by VMware vCenter Server Heartbeat when the alert is triggered.
 
vCSHB-Ref-517

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: