Guide · Grafana Alerting
Grafana: point your Opsgenie contact point somewhere else.
Your alert rules and notification policies stay. In the Opsgenie contact point you already have, you change two fields — Alert API URL and API key — and press Test.
Part of Migrate from Opsgenie. Last tested November 26, 2026 with Grafana 13.3.2.
The change
Two fields in the contact point.
- In TeamPager, open Organization → Integrations → Opsgenie API. Copy the Grafana Alert API URL (your org id is already in it) and the key (owners only).
- In Grafana, go to Alerts & IRM → Alerting → Notification configuration → Contact points (older versions: Alerting → Contact points) and edit your Opsgenie contact point.
- Replace Alert API URL and API key with the TeamPager values (before and after below).
- Leave Auto close incidents as it is (on). That's what resolves the page when the alert clears.
- Press Test, then Save contact point.
Before — Opsgenie
Alert API URL https://api.opsgenie.com/v2/alerts
(EU: https://api.eu.opsgenie.com/v2/alerts)
API key <Opsgenie API key>
After — TeamPager
Alert API URL https://hooks.teampager.io/opsgenie/{org id}/v2/alerts
API key <your TeamPager webhook key>
Keep /v2/alerts at the end. Grafana posts to the URL exactly as typed, unlike
Alertmanager, which adds the path itself.
Behavior
What carries over, and what doesn't.
-
The message becomes the page title. With Grafana's default it reads like
[FIRING:1] HighCPU (prod); your own Message template stays as it is. - Resolved in Grafana, resolved here. With Auto close incidents on, the page resolves when the alert clears and the escalation chain stops.
- Timing. In our test, a new rule paged 27 seconds after it was saved (10-second evaluation plus the policy's group wait), and the page resolved 31 seconds after the rule went back to normal.
- One alert, one page. Grafana's repeat notifications don't page twice while the page is open.
- It comes back, it pages again. The same alert firing after it resolved is a new page.
- Priority and tags are kept, not acted on. Override priority and tags travel with the page; they don't change who is paged.
- Responders are ignored. Who gets paged is the board's rota and chain in TeamPager.
One board per contact point. Pages go to your oldest board. For a specific team, add
boards/{board id}/ after your org id:
https://hooks.teampager.io/opsgenie/{org id}/boards/{board id}/v2/alerts
Switching safely
Run both for a week.
Instead of editing the old contact point, add a second Opsgenie contact point named TeamPager with the new URL and key. In your notification policy, add it next to the old one — a policy with Continue matching subsequent sibling nodes on, or a second policy for the same labels. Remove the Opsgenie one when you trust the new path.
Tell your on-call people they'll be paged twice for a while — once by each tool.
Questions.
Do I need to change my Grafana alert rules?
No. Only the contact point's Alert API URL and API key change. Rules and notification policies stay.
The Test button returns an error. What do I check?
A 401 means the key is wrong or was rotated. A 404 usually means the URL is missing
/v2/alerts at the end or the org id is wrong. Copy both values again from
Integrations → Opsgenie API.
Is this the same as Grafana OnCall?
No. This is Grafana Alerting's built-in Opsgenie integration. TeamPager receives the alerts; you keep Grafana as it is. Moving off Grafana OnCall OSS? See Grafana OnCall OSS is archived.
Can I use a webhook contact point instead?
Yes. Organization → Integrations also has a Grafana Alerting recipe for a plain webhook contact point. With an Opsgenie contact point already in place, changing two fields is the shorter path — and only the Opsgenie format resolves pages from the source.
Point one contact point at TeamPager.
Create an organization, copy the URL and key, press Test. Free covers five people on call. Next: Alertmanager · heartbeats · the full migration guide.