Opsgenie wehbook

Here's how to set up a Opsgenie webhook. Once configured, you can route new Opsgenie events to alerts in a Slack channel, create incidents tied to those alerts, and invoke Transposit actions to remediate the incidents.

Transposit webhook setup #

  1. On the Transposit site, navigate to Settings gear icon > Webhooks, and click Add webhook. Choose "Opsgenie alert integrator." All incoming alerts will always appear in the Activity feed. It is optional to also set a Slack channel for the alert to appear in. (Note: The Slack channel must already exist; create it before adding the webhook.) Click Add.
  2. Find the webhook you just added, and copy the "Endpoint URL".

Opsgenie webhook setup #

  1. In Opsgenie, navigate to Integrations list.

Opsgenie settings left nav menu

  1. Find “webhook” in the list, and click Add.

Integration list searching for "webhook"

  1. In the Webhooks Settings page:
  • Set Assigned to Team to a team. We usually set up a “test-team” so the test alerts don’t get routed to them.
  • Delete unnecessary actions under For Opsgenie alerts. Ensure you only have “if alert is created” selected. Alternatively, you could have your own custom actions on Opsgenie to invoke a Transposit webhook.
  • Paste the endpoint URL copied from Transposit above in Webhook URL.
  • Click Save Integration.

Webhook integration page

  1. To test, navigate to Alerts in the left navigation. Click Create Alert on the top right corner of the page. Set Responders to the same team as above, and click Create.