Create alert notification rule for webhooks notification

Webhooks are HTTP callbacks that are usually triggered by some event. Webhooks are configured on one website, and when an event occurs on this website, an HTTP request is made to the configured URL, which invokes an action on the other website.

Before you begin

You can enable webhooks for cluster alerts by creating an alert notification rule. When the alert is triggered and meets the criteria in the rule, the cluster sends an HTTP request to the specified website. Your application can interpret the request. For example, the webhook might notify the website about a critical protection run alert, and your application might open a trouble ticket to track the problem.

Procedure

To create an alert notification rule for Webhook notifications, complete the following steps:

  1. Navigate to the System > Health > Notification tab.
  2. Click Create > New Alert Notification Rule.
  3. In the Create Alert Notification Rule dialog, perform the following:
    1. Enter a unique Notification Name for the alert notification rule.
    2. In the Notification Filters section, select the filter based on your requirements:
      Filter Description
      Clusters Select one or more clusters from the drop-down. Otherwise, any cluster will trigger the rule.
      Alert Severity Select one or more severities from the drop-down. Otherwise, all alerts with any severity will trigger the rule.
      Alert Type Select one or more alert types from the drop-down. Otherwise, all alerts of any alert type will trigger the rule.
      Alert Category Select one or more categories from the drop-down. Otherwise, all alerts in any category will trigger the rule.
      Alert Name Select one or more names from the drop-down. Otherwise, any Alert name will trigger the rule. If you selected any categories, the list includes only alerts in those categories.
    3. In the Notification Frequency section, select the frequency of the alert notification:
      • Real-time
      • Every 6 hours
      • Every 24 hours
    4. In the Notification Method section, select Webhook, and provide the URL and cURL options.
      Note: Ensure that the Webhook configuration follows the rfc3986 standards.
    5. Click Create.