• 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 Opsgenie's Scalyr 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 Scalyr 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 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 Mar 28, 2021
Cached at 8:53 PM on Apr 10, 2021 |

Additional Help

Ask the Community