Get started with Opsgenie as a user
Learn how to configure your profile, get notifications from Opsgenie and view on-call schedules.
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.
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.
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 add this integration from your team dashboard only. The Integrations page under Settings is not available in your plan.
Go to Teams and select your team.
Select Integrations on the left navigation and then select Add integration.
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. Follow the rest of the steps in this section to set up the integration.
Go to Settings > Integrations. Search for Scalyr and select Add.
Specify who is notified of Scalyr alerts using the Responders field. Auto-complete suggestions are provided as you type.
Copy the integration API Key to use in Scalyr configuration.
Select Save Integration.
In Scalyr, go to Alerts page and click Edit Alerts.
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.
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"
}
Was this helpful?