This document describes the process of configuring alert rules with Webhook for Azure and OpsRamp configuration steps for generating alerts. This helps you to address the issues allowing for quick remediation.

Create Alert Rules with Webhook for Azure

  1. Login to Azure portal.
  2. Go to Monitor.
  3. Click Create an alert rule., Select a resource to forward the events.
  1. Under the Condition tab, select Platform from Monitor Service and click on any of the metrics to the threshold values.

Note: If the Action Group is already created with Webhook details select the existing one.

  1. While creating a new action group, click the Action Type drop-down and select Webhook.

Paste the link below in the URL field.(This URL should be copied from the custom integration created for Azure events)*****************

  1. Click Next:Tags > and click Next: Review + create.
  2. Click Create to create the action group. You can use the same action group while creating rules for remaining resources.
  3. Add Severity, Alert Rule name, and Alert rule description.
  1. Click Next: Tags and click Next: Review + create.
  1. Based on the payload, mappings are configured in OpsRamp integration.
  2. Below are a few of the mandatory fields which need to be mapped for Alerts creation. These might differ based on the alert payload sent by Azure.
    • Alert State
    • Alert Description
    • Alert Resource Name
    • Alert Metric
    • Alert Subject




     	"description":"Alert rule description",

The above payload can be configured to create alerts as mentioned below:

Map attribute
Map attribute description
Map attribute resource name
Map attribute alert metric
Map attribute alert subject

You can combine two values for uniqueness of the value mappable properties in OpsRamp.
Example: Alert metric, alert state.

Value mappable properties - combination of two values