• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Scalyr

Scalyr logo

What does Opsgenie offer Scalyr users?

Opsgenie has a specific API integration with Scalyr. Scalyr sends alert notification messages to Opsgenie API, with detailed information. Opsgenie acts as a dispatcher for Scalyr alerts, determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, and iPhone & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

Functionality of the integration

  • When an alert is created in Scalyr, an alert is created in Opsgenie.

  • When an alert is closed in the Scalyr, the alert is closed in Opsgenie.

Add Scalyr integration in Opsgenie

  1. Go to Settings → Integrations. Search for Scalyr 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 Scalyr alerts using the Responders 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. Copy the integration API Key to use in Scalyr configuration.

4. Click Save Integration.

Scalyr integration

Configuration on Scalyr

  1. In Scalyr, go to Alerts page and click Edit Alerts.

Scalyr alert

2. Enter an alertAddress of the following form:
opsgenie:API_KEY
where API_KEY is the api key you copied from Opsgenie.

3. Save the configuration file.
Refer to Scalyr's own documentation to Alert Using Opsgenie.

Sample payload sent from Scalyr

JSON

1 2 3 4 5 6 7 8 { "trigger": "count:1m(error) < 100", "description": "error occurred", "title": "Test Alert", "link": "https://www.scalyr.com/alert?id=4VcQmTj8iqvXp4p2", "id": "scalyr-alert-4VcQmTj8iqvXp4p2", "action": "create" }

Sample alert

Scalyr sample alert
Last modified on Aug 3, 2021
Cached at 4:14 AM on Oct 21, 2021 |

Additional Help