Use Opsgenie's pack in StackStorm to perform most API actions used in Opsgenie. Automate systems easily by using StackStorm's other abilities, like triggering a rule. Opsgenie determines the right people to notify based on on-call schedules– using email, text messages (SMS), phone calls and iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed.
Use defined actions of Alert API, Heartbeat API, Integration API, Policy API, User API, Team API, WhoIsOnCall API, and more in StackStorm, then see the results on the Opsgenie side.
- Please create an Opsgenie account if you haven't done so already.
- Go to Opsgenie's StackStorm Integration page.
For Free and Essentials plans, you can only add the integrations from the Team Dashboards, please use the alternative instructions given below to add this integration.
- Specify who is notified of Instana alerts using the Teams field. Auto-complete suggestions are provided as you type.
An alternative for Step 2) and Step 3) is to add the integration from the Team Dashboard of the team which will own the integration. To add an integration directly to a team, navigate to the Team Dashboard and open Integrations tab. Click Add Integration and select the integration that you would like to add.
- Copy the API Key.
- Click Save Integration.
Use StackStorm administrative web UI to install and configuration for Opsgenie.
A file should exist at the path /opt/stackstorm/configs/opsgenie.yaml containing the options in the following format:
--- api_key: "XXXXXXXXXXXXXXX"
When modifying the configuration in /opt/stackstorm/configs/ please remember to tell StackStorm to load these new values by running st2ctl reload --register-configs
Navigate to Packs, search for Opsgenie and click Install.
If the configuration file is configured succesfully, the installation looks like the following image after this operation:
Check StackStorm's pack configuration document if there are any other problems.
Navigate to the "Actions" tab and select an Action to run. Then see the results of the execution in the "History" tab.
Updated almost 4 years ago