Learn how to configure your profile, get notifications from Opsgenie and view on-call schedules.
What does Opsgenie offer to Dynatrace AppMon users?
provides a powerful bidirectional integration with . When a new incident is created in , a corresponding alert is automatically created, containing rich information about the incident. provides rich notifications with on-call rotations, scheduling features, and alert escalations to ensure the best incident management for customers.
Functionality of the integration
When an incident is created in , it creates an alert in .
When an incident is closed in n, the related alert is closed in automatically.
If Send Alert Updates Back to is enabled, actions for is executed in when the chosen action is executed in OpsGenie for alerts which are created by the integration.
Add Dynatrace AppMon Integration in Opsgenie
Go to . Search for and select Add.
Specify who is notified of alerts using the Responders field. Autocomplete suggestions are provided as you type.
Copy the integration URL to use during Plugin configuration.
Select Save Integration.
Configuration in Dynatrace AppMon
First, download the Opsgenie Dynatrace AppMon Plugin.
Go to Dynatrace Client and select Manage Plugins from the Tools menu.
3. Then, click Install Plugin in the opening window.
4. Select Opsgenie Plugin JAR downloaded previously and click Open.
5. Then, select Opsgenie Plugin from the listed plugins and click Properties.
6. Paste the integration URL copied previously to the Webhook URL field in the opening Plugin Properties window. This field is configured during Edit Incident Rule to use different integrations.
7. Enter the team names that exist in so that alerts can be created in for those specific teams only. This field can be kept empty and configured during Edit Incident Rule in order to assign different alerts to different teams in .
8. Click OK, then access Incidents from left side menu.
9. From Incidents, select the incident to use for alerts and choose Edit Incident Rule from the dropdown menu.
10. Click Advanced Configuration on the Actions tab.
11. Then click Add.
12. Select Dynatrace Opsgenie Plugin from the listed plugins and click Add. Fields in Properties part to be configured here in order to use different integration or assign alerts to different teams in .
13. Choose "on incident begin" as Execution option and click OK.
Integration via OEC
Alternatively, use OEC and the script to execute actions on . This enables deployment of your own scripts/ability to modify the ones provided and execute customized actions on .
To use the integration package, follow the steps in the sections below through the end.
Download the latest version of OEC
To download the latest version of Dynatrace AppMon package, please use readme file of oec-scripts repository.
For Red Hat Based Distributions
Run following command : rpm -i opsgenie-dynatraceappmon-<your_version>.rpm
For Debian Based Distributions
Run following command : dpkg -i opsgenie-dynatraceappmon-<your_version>.deb
Unzip opsgenie integration zip file which contains OEC package into a directory (C:\opsgenie\oec is the preferred path.)
For convenience lets refer to this Unzip path as %OEC_HOME%, you can create a system environment variable called OEC_HOME with the value of the unzip location, to do this open an elevated Powershell session and enter this command:
In order to learn more about how to run OEC you can refer to the Running OEC documentation.
Configuring Dynatrace AppMon Integration for OEC
In order to use OEC utility, enable Send Via OEC.
Other configurations regarding can be done either via integration page or OEC configuration file config.json. The configuration via the integration page precedes the configuration file.
To be able to execute actions in , OEC gets the configuration parameters from the configuration file /home/opsgenie/oec/conf/config.json (Linux) or %OEC_HOME%\conf\config.json (Windows).
apiKey – Copy the API key from the Dynatrace AppMon integration created above.
userName – Dynatrace AppMon username.
password – Password for Dynatrace AppMon users.
url – Dynatrace AppMon url where actions are sent to (ex:https://localhost:8021).
profileName – The name of the corresponding System Profile.
The package that you downloaded also includes OEC utility which is located at path /usr/local/bin/OpsgenieEdgeConnector (Linux) or %OEC_HOME%\OpsgenieEdgeConnector.exe (Windows) and the script that is needed to be run by OEC which is under /home/opsgenie/oec/scripts/actionExecutor.py (Linux) or %OEC_HOME%\scripts\actionExecutor.py (Windows). After the configuration of OEC is done, you need to run it. In order to learn more about how to run OEC, you can refer to the Running OEC documentation.
Dynatrace AppMon Configurations
Go to the Dynatrace Server and select Users from left menu.
2. From the Users window, select the role of the user.
3. Check the permissions of this user role and add Analyze Incidents, Manage Incidents and Web Service Interface Access if the user role doesn't have these.
Sample parameters sent to OEC