PagerDuty integration
Page your on-call team through PagerDuty when a monitor goes down — and resolve the incident automatically when it recovers.
WatchCat detects the outage; PagerDuty decides who gets paged. When an incident opens, WatchCat triggers a PagerDuty incident on the service you connect, through the Events API v2, and that service's escalation policy takes it from there. When the monitor recovers, WatchCat resolves the same PagerDuty incident.
One WatchCat incident is exactly one PagerDuty incident. Repeated failed checks during an outage do not trigger new incidents or page again. Both PagerDuty service regions are supported: US and EU.
Step 1 — add an Events API V2 integration in PagerDuty
- 1 In PagerDuty, open the service that should be paged and go to its Integrations tab.
- 2 Click Add an integration and choose Events API V2.
- 3 Copy the Integration Key — 32 characters.
Step 2 — add a PagerDuty integration in WatchCat
- 1 Go to Integrations → New integration and select PagerDuty.
- 2 Paste the integration key into Routing key and give the integration a name, for example "On-call (PagerDuty)".
-
3
Pick the Region: EU if you sign in to PagerDuty at an address ending in
.eu.pagerduty.com, otherwise US. - 4 Save, then click Send test alert on the integration's page.
Step 3 — add the integration to a notification channel
Monitors alert through notification channels, not through integrations directly. A channel bundles email recipients and any number of integrations, so one PagerDuty integration can serve as many monitors as you like. How notification channels work →
- 1 Go to Notification channels → New channel, or edit an existing one.
- 2 Under Integrations, check the PagerDuty integration you just created.
- 3 Save the channel.
Step 4 — assign the channel to monitors
Edit an uptime or cron monitor and check the channel under Notifications. From then on, an incident on that monitor alerts PagerDuty when it opens and again when it resolves.
What PagerDuty receives
critical. Use PagerDuty event rules to remap it.
uptime or cron, handy for routing rules
message (cause, failing regions, HTTP response, duration, response body excerpt) plus the same structured monitor, incident and details data the webhook integration sends
watchcat-incident-<id> — shared by the trigger and its resolve, which is how the recovery finds the incident to close
Good to know
- The integration is a routing key on one PagerDuty service. To page different services for different monitors, create one WatchCat integration per service and put them in separate notification channels.
- Escalation policies, on-call schedules, acknowledgement, SMS and phone calls happen in PagerDuty. Acknowledging in PagerDuty does not change anything in WatchCat.
- This is an Events API v2 integration, set up with a key. It is not a PagerDuty marketplace app, and it does not send Change Events.
See whether PagerDuty accepted the alert
Every request WatchCat sends is recorded on the integration's page: the outcome, the HTTP status, an excerpt of the response, the error if there was one, and how long it took. When an alert seems to be missing, you can tell whether PagerDuty refused it or it was never routed there. The log is kept for 7 days on Free, 30 days on Pro, and 90 days on Team.
Other integrations
A notification channel can hold several integrations at once, so chat, on-call and your own tooling can all hear about the same incident.
Related
Start monitoring in minutes
Free plan available. No credit card required.
Discord
Google Chat
ilert
incident.io
Slack
Telegram