# ManageEngine OpManager

## Prerequisites: <a href="#prerequisites" id="prerequisites"></a>

This section explains on how to integrate and ingest alerts from ManageEngine OpManager Monitoring tool into CloudFabrix AIOPs platform.

ManageEngine OpManager Monitoring tool supports alert notifications via Email, SMS, Running a Command, Chat, SNMP Traps, invoking a Webhook through HTTP(s) protocol and others. CloudFabrix AIOPs platform uses webhook notification method from ManageEngine OpManager Monitoring tool to receive and ingest the alerts or events.

Supported/Qualified Versions: 12.5.201 or above

Click here for [Alert Sources](https://oiadocs.cloudfabrix.io/features-guide/alert-watch/alert-sources) to create a Webhook URL for ManageEngine OpManager Monitoring tool's alert notifications in CloudFabrix OIA application.

## **Configure** ManageEngine OpManager **for Alert notifications over a Webhook:** <a href="#create-webhook-for-incoming-alerts-from-dynatrace-1" id="create-webhook-for-incoming-alerts-from-dynatrace-1"></a>

**Step 1:** Login into ManageEngine OpManager UI portal with user account which has enough privileges to create and configure Alert/Alarm notifications.

![ManageEngine OpManager Login page](https://4260296531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAygHzNCQ33zRR43qxF%2F-MGubDVx2YFxWG0e2FPI%2F-MGubjjItkeCqbMh-4Ay%2FScreen%20Shot%202020-09-10%20at%205.44.22%20PM.png?alt=media\&token=964e08b1-0ef5-4027-9bd2-a303ef0a9748)

**Step 2:** Click on **Settings** and click on **Notifications.**

![](https://4260296531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAygHzNCQ33zRR43qxF%2F-MGubDVx2YFxWG0e2FPI%2F-MGucCvBbj-2Y0V8RI2Y%2FScreen%20Shot%202020-09-10%20at%205.46.26%20PM.png?alt=media\&token=ee9bfad5-121a-4d45-b3a4-6d6d34c8d490)

**Step 3:** Click on **Add** button to create a new notification profil&#x65;**.**

![](https://4260296531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAygHzNCQ33zRR43qxF%2F-MGubDVx2YFxWG0e2FPI%2F-MGuchhrcGEv3qjN_Lds%2FScreen%20Shot%202020-09-10%20at%205.48.32%20PM.png?alt=media\&token=156631a7-6805-42e2-8001-6a58a8bfdf55)

**Step 4:** Click on **Invoke a Webhook** bo&#x78;**.**

![](https://4260296531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAygHzNCQ33zRR43qxF%2F-MGubDVx2YFxWG0e2FPI%2F-MGud3FBJAsh7G3t5AU5%2FScreen%20Shot%202020-09-10%20at%205.50.08%20PM.png?alt=media\&token=c5070102-6282-4f0c-9508-5267f581cb8a)

**Step 5:** Under Hook URL filed, select **POST** and enter the [Webhook URL](https://oiadocs.cloudfabrix.io/features-guide/alert-watch/alert-sources#create-webhook-for-incoming-alerts-from-different-monitoring-tools) that was created for ManageEngine OpManager alert notifications under CloudFabrix OIA application. Select **raw** as data type and selet **JSON** as payload type. For body content, enter the payload as shown in the code block next to below screen. For request headers, add the below two and set the **Time Out** as 60 seconds. Click **Next**

**Content-Type** => **application/json**

**Authorization** => Basic \<username:password in [base64](https://www.base64encode.org) format>  (Optional, this is needed only when Webhook is enabled with HTTP basic authentication)

![](https://4260296531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAygHzNCQ33zRR43qxF%2F-MGubDVx2YFxWG0e2FPI%2F-MGue4Er8FaNCyF_PTam%2FScreen%20Shot%202020-09-10%20at%205.54.34%20PM.png?alt=media\&token=a605a8b0-a8a0-4371-9c8c-8924107a26b4)

```
{
"Alert_Id": "$alarmid",
"Alert_Severity": "$stringseverity",
"Alert_AssetName": "$displayName",
"Alert_Message": "$message",
"Alert_AssetType": "$DeviceField(type)",
"Alert_AssetIPAddress": "$DeviceField(ipAddress)",
"Alert_Category": "$category",
"Alert_Time": "$strModTime",
"Alert_Type": "$eventType",
"Alert_AssetEntity": "$entity",
"Alert_LastPolledValue": "$lastPolledValue"
}
```

**Step 6:** Select the check boxes that are needed to be notified and make sure **Notify when the alarm is cleared** option. Select all of the **Severity** check boxes. Click **Next**

![](https://4260296531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAygHzNCQ33zRR43qxF%2F-MGuy5jyqb8RI9XFMq-E%2F-MGuyc0FPiUCobmwTVF3%2FScreen%20Shot%202020-09-10%20at%207.24.18%20PM.png?alt=media\&token=2835645e-b08f-450c-af9b-9490dd28fd4e)

**Step 7:** Under **Available Devices,** add all of the monitored assets that need to be notified whenever there is an alert/alarm is raised or cleared as shown in the below screen and click **Next**.

![](https://4260296531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAygHzNCQ33zRR43qxF%2F-MGuz1ocpIo9KyiASMyQ%2F-MGuzSzwV0uBeJV2JJZX%2FScreen%20Shot%202020-09-10%20at%207.27.39%20PM.png?alt=media\&token=4e7e576d-ab77-41fa-bba8-9f4aa54b974e)

**Step 8:** Select **Apply this profile 24x7** and other appropriate options and click **Next**.

![](https://4260296531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAygHzNCQ33zRR43qxF%2F-MGuzvSEFLkjKp0GMH2Q%2F-MGv-D_ofxT-P6z9iBFC%2FScreen%20Shot%202020-09-10%20at%207.31.18%20PM.png?alt=media\&token=8d3bb37e-5ffd-455b-b51f-087b657424c4)

**Step 9:** Enter a profile name under **Give profile name to add** filed and click on **Test Action** and make sure it is successful. Once successful, click on **Save** to save the Webhook notification configuration.

{% hint style="warning" %}
For a successful alert/alarm notification over a Webhook to CloudFabrix OIA application, make sure the cfxDimensions platform is configured with FQDN and CA Signed certificate. Self-signed SSL certificates will cause a failure.
{% endhint %}

![](https://4260296531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAygHzNCQ33zRR43qxF%2F-MGv-Q8lghgYr9ZMcRz6%2F-MGv-k0knZlVtK7Q0684%2FScreen%20Shot%202020-09-10%20at%207.33.34%20PM.png?alt=media\&token=466d5794-21c4-47c9-a8ee-89dacb998684)

{% hint style="info" %}
Additionally, make sure the created Webhook notification profile is associated with all of the monitored assets for their alerts/alarms to be notified to CloudFabrix OIA application. Below screen is for an example on how to associate a monitored asset to a Webhook notification profile.
{% endhint %}

![](https://4260296531-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAygHzNCQ33zRR43qxF%2F-MGv1AqZaeYSrU_AtnDu%2F-MGv2AG6DtZqikg_Kk0m%2FScreen%20Shot%202020-09-10%20at%207.43.25%20PM.png?alt=media\&token=bbe1cb56-df04-4e43-8c06-90b9a5beb4ce)

### ManageEngine OpManager Alert Field Mappings: <a href="#prtg-network-monitor-alert-field-mappings" id="prtg-network-monitor-alert-field-mappings"></a>

| ManageEngine OpManager Alert Field                  | CFX OIA Field              | Mandatory |
| --------------------------------------------------- | -------------------------- | --------- |
| <p>Alert\_AssetName + </p><p>Alert\_AssetEntity</p> | Key                        | Yes       |
| Alert\_Message                                      | message                    | Yes       |
| Alert\_AssetName                                    | assetName                  | Yes       |
| Alert\_AssetIpAddress                               | assetIpAddress             | Yes       |
| Alert\_Time                                         | raisedAt / clearedAt       | Yes       |
| Alert\_AssetType                                    | assetType                  | Yes       |
| Alert\_Type                                         | alertType                  | Yes       |
| Alert\_AssetEntity                                  | componentName              | Yes       |
| Alert\_Category                                     | alertCategory              | Yes       |
| Alert\_LastPolledValue                              | lastPolledValue (Enriched) | No        |
| Alert\_Id                                           | Alert\_Id (Enriched)       | No        |
| Alert\_Severity                                     | severity                   | Yes       |
