PagerDuty Integration
Create and auto-resolve PagerDuty incidents when endpoints go down and recover.
Setup
- 1
In PagerDuty, go to Services → Service Directory and open (or create) the service you want OpsKitty to route incidents to.
- 2
Go to Integrations → Add Integration, search for Events API v2, and add it. Copy the Integration Key.
- 3
In OpsKitty, open an endpoint, go to Alerts → Add Alert, select PagerDuty, and paste the Integration Key.
- 4
Enable "notify on resolved" so OpsKitty sends a
resolveevent to PagerDuty when the endpoint recovers, automatically closing the incident.
How it works
When an alert fires, OpsKitty sends a trigger event to PagerDuty with the endpoint name, URL, failure reason, and a unique dedup key. PagerDuty creates an incident and notifies the on-call engineer according to your PagerDuty escalation policy. When the endpoint recovers, OpsKitty sends a resolve event using the same dedup key, which closes the incident automatically.