PagerDuty
Notification integration with PagerDuty
Ascend's Monitoring and Notifications system enables operators to create a webhook that publishes events to an endpoint.
One option integrates Ascend events as an PagerDuty incident.
- Create an integration on any PagerDuty service.
- Select Events API v2 as the Integration Type.
- Locate the integration key generated, this key will be used to authenticate the request.
- Create a new Ascend webhook from the Data Service settings.
- Set the Notification URL to the PagerDuty alert event endpoint:
https://events.pagerduty.com/v2/enqueue
- Add a Header with key
Content-Type
and valueapplication/json
. - Select the events that you would like to trigger an alert in PagerDuty.
- Customize the event payload, mapping the Webhook Notification Event Variable to the fields required for an PagerDuty alert; include the integration key from step 3 as the
routing_key
.
{
"payload": {
"summary": "Component in error state in Ascend",
"source": "ascend:{{event.environment}}",
"severity": "error",
"component": "{{event.component.id}}",
"group": "{{event.dataflow.name}}"
},
"routing_key": "insert_integration_key_here",
"event_action": "trigger"
}
Updated almost 3 years ago