1. Home
  2. Docs
  3. Integrations
  4. OnPage Integrations
  5. New Relic One

New Relic One

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 New Relic ONE

Click on Alerts & AI

Click on Notification channelsOnPage New Relic ONE Integration

Click on the New notification channelOnPage New Relic ONE Integration

Select Channel Type: WebhookOnPage New Relic ONE Integration

Channel name: OnPage Alerts

Base URl: https://webhook.onpage.com/gw/v1/page

Add Custom HeadersOnPage New Relic ONE Integration

Add Custom Payload

{
    "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
  • Enter the URL: https://webhook.onpage.com/gw/v1/page
  • Add subject and body and or insert variables of 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 message. Either HIGH or LOW
  • Do not check Custom Headers and Encode as form
  • Click Save

OnPage New Relic ONE Integration

Click on Create channel

Payload Type: JSONOnPage New Relic ONE Integration

You can test the integration by clicking on Send a test notification.OnPage New Relic ONE Integration

Verify that the test is successfulOnPage New Relic ONE Integration

Add Alert policies for the integrationOnPage New Relic ONE Integration

The integration is now set up!