Moogsoft Integration Guide

Prev Next

Moogsoft AIOps helps enterprise IT Operations and DevOps teams become smarter, faster, and more effective. You can use Catchpoint’s Alert Webhook API to send custom alerts to Moogsoft.

To integrate Catchpoint’s Webhook to Moogsoft AIOps follow the steps below:

Moogsoft Setup

Create your Moogsoft account. Keep note of your Moogsoft URL and credentials.
system_settings.png

  1. Log into your Moogsoft account go to System Settings.
  2. Click on Monitoring under Integrations.
  3. Select Add Monitoring Integration
  4. Choose Webhook from the available options. 
    add_integration.png
  5. Name your Webhook, and click Install.
  6. You will now see the Webhook under System Settings > Monitoring with a gear icon. Click the gear icon.

After clicking the icon, you can see the details that Moogsoft expects you to send. e.g. the URL, Request Headers and JSON template. You will need the URL mentioned when configuring the integration within Catchpoint.

Catchpoint Setup

For information related to creating an Alert Webhook template in Catchpoint, click here.

Add the endpoint URL, required headers, and the JSON template you'd like. These are mentioned in the Moogsoft System Settings for your recently-created Webhook integration.

Note: You need to use a base64 encode for the username and password when adding them in the request headers. You can find detailed information about this when you click on the Gear Icon next to your Webhook in Moogsoft System Settings > Monitoring

Your JSON template may look similar to the one shown below. You can always modify or edit the template using our macros.

*{
    "events": [{
        "signature": "Catchpoint Webhook",
        "source": "${testURL}",
        "source_id": "${testId}",
        "external_id": "Catchpoint",
        "agent_location": "${nodeDetails(${nodeName})}",
        "severity": "${notificationLevelId}",
        "type": "${switch("${notificationLevelId}","0","WARNING","1","CRITICAL","3","IMPROVED")}",
        "manager": "Manager",
        "class": "Class",
        "description": "${testName}",
        "agent_time": "${alertCreateDateUtcEpoch}"
    }\]
}*

Once you have configured the Alert Webhook in Catchpoint with the necessary headers and JSON template, you can select the test(s) for which you need alerts. Go to Properties at the Product, Folder or Test level. Under Alerts you will see the option to add an API Endpoint. Select the proper endpoint URL for that test and click on Save.

endpoint_selection.png

Now, you will see Catchpoint alerts in the Moogsoft dashboard. Clicking on the alert will display a window with Alert Details (as determined by your template).

alert_details.png