• 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

You can add this integration from your team dashboard

If you're using Opsgenie's Free or Essentials plan, or if you’re using Opsgenie with Jira Service Management's Standard plan, you can only add this integration from your team dashboard as the Integrations page under Settings is not available in your plan.

Adding the integration from your team dashboard will make your team the owner of the integration. This means Opsgenie will assign the alerts received through this integration to your team only.

To do that,

  1. Go to your team’s dashboard from Teams,

  2. Select Integrations, and select Add integration.

Follow the rest of the steps to complete the integration.

  1. Go to Settings > Integrations. Search for Scalyr and select Add.

  2. Specify who is notified of Scalyr alerts using the Responders field. Auto-complete suggestions are provided as you type.

  3. Copy the integration API Key to use in Scalyr configuration.

  4. Select 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" }

Additional Help