As a virtual infrastructure administrator, you need vRealize Operations to send alerts in JSON or XML to a Webhook with any endpoint REST API that accepts these messages. You want only alerts where the virtualization alerts that affect availability alert types to go to an external application. You can then use the provided information to initiate a remediation process in that application to address the problem indicated by the alert. The notification configuration limits the alerts sent to the outbound alert instance to those matching the notification criteria.

Prerequisites

Procedure

  1. From the left menu, click Configure > Alerts, and then in the right pane, click Notifications.
  2. Click Add to add a notification rule.
  3. In the Name text box, enter a name similar to Virtualization Alerts for Availability.
  4. Set the Notification Status, you can either enable or disable a notification setting. Disabling a notification stops the alert notification for that setting and enabling it activates it again.
  5. In the Define Criteria tab, select the objects and alerts for which you want to receive notifications.
    1. From the Criteria drop-down menu, select Object.
    2. Locate and select the object from the list.
  6. Configure the Alert Scope.
    1. From the Category drop-down menu, select Alert Type, and from the Alert Types/Subtypes menu, select Availability under Virtualization/Hypervisor Alerts.
    2. From the Criticality drop-down menu, select Warning.
  7. In the Notify On section, select New from the Status drop-down menu.
    The New status indicates that the alert is new to the system and not updated.
  8. In the Set Outbound Method tab, select Webhook Notification Plugin from the Outbound method drop-down menu, and then select the configured instance of the Webhook plugin.
  9. In the Select Payload Template tab, select the Default Webhook Template.
  10. Click Create.

Results

You created a notification rule that sends the alert text to the target REST-enabled system. Only the alerts where the configured alert impact is Virtualization/Hypervisor Availability and where the alert is configured as a warning are sent to the target instance using the Webhook plugin.

What to do next

You created a notification rule that sends the alert text to the target Webhook system.