• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with New Relic (Legacy)

For Opsgenie’s integration with the new New Relic Alerts, refer here. This document is about integrating with New Relic's legacy alerts.

What does Opsgenie offer New Relic (Legacy) users?

Forward New Relic server and web application alerts to Opsgenie to receive notifications through iOS and Android push notifications, email, SMS, and phone calls, and track the alert life cycle.

New Relic sends alerts via email and using webhook. Either method is used to forward New Relic alerts to Opsgenie. How to create alerts via email in Opsgenie is describe in the email integration document. This document describes how to integrate New Relic and Opsgenie using the webhook method.

Opsgenie provides a web API for New Relic to create and close alerts directly in Opsgenie servers.

Functionality of the integration

  • When an alert is created in New Relic (Legacy), an alert is also created in Opsgenie automatically through the integration.

  • When an alert is closed in New Relic (Legacy), the related alert is also closed in Opsgenie automatically through the integration.

  • When an alert is acknowledged in New Relic (Legacy), the related alert is also acknowledged in Opsgenie automatically through the integration.

Configuring Opsgenie side of the integration

  1. Go to Settings → Integrations. Search for New Relic (Legacy) and select Add.

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 New Relic alerts using the Teams field. Auto-complete suggestions are provided as you type.

Did you know that you can also add this integration from your team dashboard? 

If you want your team to be the owner of this integration, add it from your team dashboard. Opsgenie will assign the alerts received through this integration to your team only.

To do that;

  1. Go to Teams,

  2. Find your team and select it to go to your team dashboard,

  3. From your team navigation, select Integrations,

  4. Select Add integration.

3. Click Save Integration.

New Relic integration

4. An "API Key" is generated for the integration, copy the integration URL provided on integration page.

Configure alerting in New Relic

Configuring New Relic side

  1. From the New Relic title bar, select (account name) > Account settings > Integrations > Alert notifications.

  2. From the Alert notifications page, select the Webhook tab.

  3. Check the boxes for downtime, application, and server alerts (to be notified of all alerts)

  4. Populate "Webhook URL" with the API URL copied previously from the integration page.

New Relic webhook

When the webhook is configured, the “traffic light” for the Webhook tab turns green.

Alert properties are configured from New Relic's Integration Advanced Settings page.

Now manage New Relic web application alerts at Opsgenie and leverage its full alerting functionality.

New Relic alert details

Sample alert

New Relic sample alert
Last modified on Jul 29, 2021
Cached at 11:44 AM on Jul 30, 2021 |

Additional Help

Ask the Community