

What does ChaosSearch offer Opsgenie users?
ChaosSearch has a one-directional integration with Opsgenie. It's easy to configure alerts to go right into your Opsgenie account to start notifying the right engineers.
Add a Custom Webhook Integration in ChaosSearch, and start taking advantage of Opsgenie's alert and incident management platform with the ChaosSearch alert notification system.
Functionality of the inetegration
When an alert is triggered in ChaosSearch, an alert is created in Opsgenie automatically through the integration.
Configuring the integration
In Opsgenie add an API integration for ChaosSearch
- You'll need to have Opsgenie account
- Navigate to Settings and select Integrations List
- Add API integration
- Define the integration Name and save the integration


In ChaosSearch
- Navigate to Alerts in the Analytics section
- Click Destinations and Add Destination
- Give the destination a name and change Type to Custom Webhook
- Check Define endpoint by URL
- In the Webhook URL input the Opsgenie Alert API URL https://api.opsgenie.com/v2/alerts
- At the bottom in the Header Information click add header and add the Key authorization and the value GenieKey
- Click Create






Create Monitor
To create a monitor in ChaosSearch, please follow these instructions
Once you completed the Monitor creation, you will then need to define the trigger.
Configure Actions section
In the final step of creating a trigger, the Message payload should be configured as seen below.
{ "message" : "Monitor {{ctx.monitor.name}} Trigger: {{ctx.trigger.name}} Severity: {{ctx.trigger.severity}} Period start: {{ctx.periodStart}} Period end: {{ctx.periodEnd}}", "alias": "{{ctx.trigger.name}}"}


Updated 6 months ago