Site Recovery Manager adds alarms to the alarms that vCenter Server supports. You can configure Site Recovery Manager alarms to send an email notification, send an SNMP trap, or to run a script on the vCenter Server host.
About this task
The Alarm Definitions tab lists all of the Site Recovery Manager alarms. You can edit the settings for each alarm to specify the action for Site Recovery Manager to take when an event triggers the alarm. By default, none of the Site Recovery Manager alarms act until you configure the alarm.
In an environment with more than one vCenter Server, Site Recovery Manager displays all events from the Site Recovery Manager Servers that are registered as extensions, even if you select events for a specific vCenter Server.
For alarms to send email notifications, configure the Mail settings in the vCenter Server Settings menu. See ESXi and vCenter Server Documentation.
- In the vSphere Web Client, click a vCenter Server
- In the Manage tab, click Alarm Definitions tab to display the list of vCenter Server alarms.
- Click Add to add a new alarm.
- On the General page, enter an alarm name, description, and select the object you want to monitor from the drop-down list.
- Choose a specific event that occurs on the object.
- Select the Enable this alarm check box to enable the action for this alarm, and click Next.
- On the Triggers page, click Add to add an event trigger.
- Select an event from the drop-down list and the corresponding status.
If you see repeated events in the list, each event represents a single Site Recovery Manager instance and triggers an alarm for the extension with which it is registered. For example, in a scenario with multiple Site Recovery Manager instances, you can use RecoveryPlanCreated (SRM 1) and RecoveryPlanCreated (SRM 2) for the same event on both extensions.
- To add a condition that triggers the alarm, click Add, select an argument from the drop-down list, the operator, and the transition from warning to critical condition.
- Click Next.
- On the Actions page, select an action from the drop-down list, enter the relevant information in the configuration column, when to run the action, the number of minutes to repeat the action, and click Finish.
What to do next
To edit an alarm definition, right-click an alarm and select Edit.