• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Catchpoint

Catchpoint logo

What does Opsgenie offer to Catchpoint users?

Catchpoint sends alert notifications to Opsgenie API, with detailed information. Opsgenie acts as a dispatcher for these alerts, determines the right people to notify based on on-call schedules– notifies them using email, text messages (SMS), phone calls and iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

Functionality of the integration

  • When an alert is created in Catchpoint, an alert is also created in Opsgenie automatically through the integration.

  • When alert notification level is changed for a Catchpoint test, the alert that created in Opsgenie is closed automatically.

Configuring Opsgenie side of the integration

  1. Go to Catchpoint Integration page.

Under the Free and Essentials plans, the tabs under the Team dashboard are limited to Main, Integrations, Members, and Activity Stream.

2. Specify who is notified of Catchpoint alerts using the Teams field. Auto-complete suggestions are provided as you type.

An alternative for Step 1) and Step 2) is to add the integration from the Team Dashboard of the team which will own the integration. To add an integration directly to a team, navigate to the Team Dashboard and open Integrations tab. Click Add Integration and select the integration that you would like to add.

3. Copy the integration API Key to use in the Catchpoint configuration.

4. Click Save Integration.

Catchpoint integration

Configuration in Catchpoint

  1. Login to the Catchpoint Portal and go to Settings -> API.

Catchpoint API

2. In the Alerts API section, paste the Opsgenie Catchpoint URL with API key: https://api.opsgenie.com/v1/json/catchpoint?apiKey=YOUR_API_KEY

3. Select Template as Format then click Add New.

4. Select JSON as the format of the template.

Catchpoint template

5. Copy template file contents from here

6. Save the template and save the API configuration.

Now manage your Catchpoint alerts at Opsgenie and leverage its full alerting functionality.

Advanced

Customize Catchpoint alert templates for additional information for Opsgenie.

For example, alertCreateDate field is added to template:

JSON

1 2 3 4 5 6 7 8 9 10 11 12 { "testName": "${TestName}", "testId": "${TestId}", "testUrl": "${TestUrl}", "alertTypeId": "${AlertTypeId}", "productName": "${ProductName}", "clientId": "${ClientId}", "notificationLevel": "${switch("${notificationLevelId}","0","WARNING","1","CRITICAL","3","OK")}", "nodeName":"${nodeDetails("${nodeName}")}", "nodeServerAddress":"${nodeDetails("${NodeServerAddress}")}", "alertCreateDate":"${alertCreateDateUtc}" }

Simply, you can use {{_payload.variable_name}} variable for alert properties. E.g. :

Catchpoint alert property

Refer to Dynamic Fields for information.

Sample payload sent from Catchpoint

Create Alert payload:

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 { "message": "WARNING - Yahoo Test", "testName": "Yahoo Test", "testId": "81093", "testUrl": "http://www.yahoo.com", "alertTypeId": "7", "productName": "tests", "clientId": "24", "notificationLevel": "WARNING", "nodeName": "New York - Level3", "nodeServerAddress": "98.139.180.149", "description": "Description" }

Sample alert

Catchpoint sample alert
Last modified on Mar 28, 2021
Cached at 5:00 AM on Apr 12, 2021 |

Additional Help

Ask the Community