OpsGenie
Notifications with OpsGenie
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 OpsGenie alert.
- Locate your OpsGenie API token.
- Create a new Ascend webhook from the Data Service settings.
- Set the Notification URL to the OpsGenie alert creation endpoint:
https://api.opsgenie.com/v2/alerts - Add a Header with key
Authenticationand valueGenieKey YOUR_OPS_GENIE_API_KEY - Add a Header with key
Content-Typeand valueapplication/json. - Select the events that you would like to trigger an alert in OpsGenie.
- Customize the event payload, mapping the Webhook Notification Event Variable to the fields required for an OpsGenie alert.
{
"message": "Ascend component in error state",
"source":"{{event.environment}}",
"details":{"component_id":"{{event.component.id}}","component_name":"{{event.component.name}}"},
"priority":"P1"
}
Updated 5 months ago