Get started with Opsgenie as a user
Learn how to configure your profile, get notifications from Opsgenie and view on-call schedules.
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.
If you're using Opsgenie's Free or Essentials plan or if you’re using Opsgenie with Jira Service Management's Standard plan, you can add this integration from your team dashboard only. The Integrations page under Settings is not available in your plan.
Go to Teams and select your team.
Select Integrations on the left navigation and then select Add integration.
Adding the integration from your team dashboard will make your team the owner of the integration. This means Opsgenie will assign the alerts received through this integration to your team only. Follow the rest of the steps in this section to set up the integration.
Go to Settings > Integrations. Search for StackStorm and select Add.
Specify who is notified of StackStorm alerts using the Responders field. Auto-complete suggestions are provided as you type.
Copy the API Key.
Select 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:
opsgenie.yaml
1
2
---
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 successfully, 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.
Was this helpful?