📟
PagerDuty
Incident management and on-call scheduling platform
Overview
PagerDuty is a cloud computing company that produces a SaaS incident response platform for IT departments. Integrate with Akmatori to enhance automated investigation.
Configuration Steps
1
Create Alert Source in Akmatori
Go to Settings → Alert Sources and create a new PagerDuty source. Copy the generated webhook URL.
2
Create PagerDuty Webhook
In PagerDuty, go to Integrations → Generic Webhooks (v3) and add a new webhook subscription.
3
Configure Events
Select the events you want to send to Akmatori (incident.triggered, incident.acknowledged, incident.resolved).
Webhook Payload
Here's an example of the payload Akmatori expects from PagerDuty:
json
{
"event": {
"id": "event-abc123",
"event_type": "incident.triggered",
"data": {
"id": "incident-xyz789",
"type": "incident",
"title": "Database connection timeout",
"description": "Database connection timeout threshold exceeded.",
"status": "triggered",
"urgency": "high",
"priority": {
"id": "priority-001",
"summary": "P1 - Critical"
},
"service": {
"id": "service-db-001",
"name": "Database Service",
"summary": "Primary database"
},
"source": "db-primary.example.com",
"body": {
"type": "incident.body",
"details": {
"runbook": "https://runbooks.example.com/db-pool"
}
}
}
}
}PagerDuty acknowledged and resolved events are normalized too, so you can use the same webhook subscription for the full incident lifecycle. If you configure a webhook secret in Akmatori, send it via X-PagerDuty-Signature (v1=<hmac>) or bearer auth.