Alert rules are in beta and replace alert routes. We’re turning them on for some
organizations first, and details may change. Get in touch if you’d like early access!
These steps are for organizations on alert rules only. While your organization is shadowing, your alert routes still
decide what happens to each alert, and your rules are copied from them. See migrating from alert
routes.
How Opsgenie maps to alert rules
Teams and integrations
In Opsgenie, an integration usually belongs to a team, so the integration decides whose routing rules an alert goes through. With alert rules, an alert’s team comes from its team attribute, which your alert source sets from the payload. An alert source can send alerts for many teams, so you don’t need one source per team.Team routing rules
Each Opsgenie team checks its routing rules in order and sends the alert to the escalation policy of the first one that matches. A block in alert rules works the same way: it checks its branches in order and runs the first one that matches, with Else as the catch-all. Most teams’ routing rules send everything to the team’s own escalation policy. That’s one block in the default rules that escalates to the escalation path of the alert’s team. A team whose routing rules do more needs its own team rules. Routing rules that pick an escalation policy by time of day become working hours branches on the escalation path itself. See smart escalation paths.Alert policies
Map each kind of policy to the place that does the same job:Priority
Opsgenie alerts have a priority from P1 to P5. Create the same priorities in incident.io and set them from your alert source. Each level of an escalation path chooses whether to notify with high or low urgency, and you can branch the path on priority.Migrate step by step
1
Connect Opsgenie
Connect the Opsgenie integration. Your Opsgenie schedules, services, teams and users sync
into the Catalog.
2
Choose your team type
Alert rules belong to teams, so set up your teams first. See setting up teams.
3
Import schedules and escalation policies
Import your Opsgenie escalation policies as escalation paths, along with the schedules they use and those schedules’
overrides. See importing from PagerDuty and Opsgenie. Imported paths aren’t connected
to any alerts yet, so nobody is paged.
4
Import notification preferences
Bring across each person’s notification preferences, in bulk or one at a time. See importing user notification
preferences.
5
Send alerts to incident.io with a team
While you test, you can connect Opsgenie as an alert
source, so alerts flow from your monitoring tools
through Opsgenie to incident.io. Make sure every alert source sets the alert’s team
attribute.
6
Write your rules
Under On-call → Alert routing → Rules, add a block to the default rules
that escalates to the escalation path of the alert’s team. Add required rules
for anything every team must do, and team rules for teams whose routing rules
need something different.
7
Preview with recent alerts
Select Preview and pick some recent alerts to see which branches they match and who would be paged, without
paging anyone. See run a preview.
8
Cut over
Point your monitoring tools at incident.io alert sources instead of Opsgenie. If you use Datadog, the Datadog
migration tool or Terraform can repoint your monitors.
FAQs
Can incident.io build my alert rules from my Opsgenie routing rules?
Can incident.io build my alert rules from my Opsgenie routing rules?
No. The import tools cover schedules, escalation policies and notification preferences. You write your alert rules
yourself, usually starting from one default rule that escalates to the alert’s team.
Are Opsgenie notification criteria and time restrictions imported?
Are Opsgenie notification criteria and time restrictions imported?
No. Imported notification preferences cover every method for both high and low urgency. Ask each person to check
their settings after the import.