1. Home
  2. Docs
  3. Integrations
  4. OnPage Integrations
  5. Dynatrace

Dynatrace

This integration uses OnPage’s Incoming Webhooks. This is a common integration path with OnPage and many other services will support this method as well. To get started, you have to access OnPage’s Webhook Console and register a Client ID and Secret Key. These are then used to authenticate the requests being sent to OnPage. Please keep these values secure as if they were a password. Although they do not allow Read access to OnPage, anyone with these keys can create Pages within your environment.

Navigate to https://integrations.onpage.com/#/integration/web-hook and login with your nps.onpage.com credentials.

Here you will see all of your currently configured Webhooks and the ability to suspend or remove them.

Click on the Create Button

Image

Give a Webhook name (i.e., New Relic ONE integration)

Copy the Secret Key and Client ID and store it in a secure place. The Secret Key is only shown once.

Image

In Dynatrace

Go to Settings

Click on Integration

Click on Problem notifications

Click on Set up notificationsOnPage Dynatrace Integration

Select Custom IntegrationOnPage Dynatrace Integration

In the Name section, enter a name (i.e., “OnPage Alerts”)

In the Webhook URL section, set the Webhook URL to https://webhook.onpage.com/gw/v1/page

In the Additional HTTP Headers section, add the following headers Accept: application/json and Content-Type: application/json

In the Custom payload section, copy and paste the following JSON payload from the integration page

{
    "clientId": "-YOUR-CLIENT-ID-",
    "secretKey": "-YOUR-SECRET-KEY-",
    "message": {
        "subject": "-YOUR-ALERT-SUBJECT-",
        "body": "*-YOUR-ALERT-MESSAGE-",
        "recipients": ["OPID1", "OPID2", ...],
        "priority": "HIGH|LOW"
    }
}

Edit the script by inserting the Client IDSecret Key

Use Available placeholders to set what you would like to see as the subject and body of the message in the OnPage app

Enter OnPage recipients OPIDs or Group IDs

Enter Priority of the message. Either HIGH or LOW

Add an Alerting profile for notifications related to this integrationOnPage Dynatrace Integration

Click the Send test notification button and you should receive a Custom integration test successful dialog message. You will receive an OnPage alert.OnPage Dynatrace Integration

Click Save