Scalyr Integration

Scalyr is a server monitoring platform that offers log management with fast search ability.

​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. Please create an Opsgenie account if you haven't done so already.
  2. Go to Opsgenie's Scalyr Integration page.

🚧

For Free and Essentials plans, you can only add the integrations from the Team Dashboards, please use the alternative instructions given below to add this integration.

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

📘

An alternative for Step 2) and Step 3) 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.

  1. Copy the integration API Key to use in Scalyr configuration.
  2. Click Save Integration.

Configuration on Scalyr

  1. In Scalyr, go to Alerts page and click Edit Alerts.
  1. Enter an alertAddress of the following form:
    opsgenie:API_KEY
    where API_KEY is the api key you copied from Opsgenie.
  2. Save the configuration file.
    Refer to Scalyr's own documentation to Alert Using Opsgenie.

Sample payload sent from Scalyr

{
  "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

Updated 10 months ago


Scalyr Integration


Scalyr is a server monitoring platform that offers log management with fast search ability.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.