AppDynamics Integration

AppDynamics is an application performance management (APM) and IT Operations Analytics (ITOA) company that provides monitoring services for applications, databases, cloud-based systems, browser apps, etc. OpsGenie is an alert and notification management solution that is highly complementary to AppDynamics' alerting mechanism.

OpsGenie AppDynamics integration enables AppDynamics to create alerts in OpsGenie when an alert is fired by AppDynamics.

What does OpsGenie offer to AppDynamics users?

By using OpsGenie AppDynamics Integration, you can forward AppDynamics alerts to OpsGenie. OpsGenie can determine the right people to notify based on on-call schedules, using email, text messages (SMS), phone calls and iPhone & Android push notifications, and escalating alerts until the alert is acknowledged or closed.


Functionality of the integration

  • When an alert is fired by AppDynamics, an alert is created in OpsGenie automatically through the integration.
  • When an alert is resolved in AppDynamics, the alert will be closed in OpsGenie.

Add AppDynamics Integration in OpsGenie

  1. Please create an OpsGenie account if you haven't done already
  2. Go to OpsGenie AppDynamics Integration page,
  3. Specify who should be notified for AppDynamics alerts using the "Teams" field. Auto-complete suggestions will be provided as you type. 
  4. Copy the Webhook URL by clicking on the copy button or selecting.
  5. Click on "Save Integration".

Configuration in AppDynamics

  1. In AppDynamics, go to "Alert & Respond" tab on the top menu.
  2. Select "HTTP Request Templates" from the left menu.
  3. Click "New" button.
  4. Fill in the fields and in the "Request URL" part, select "POST" as the "Method" and paste integration API URL into "Raw URL" field.
  5. Do not modify the "Authentication" part.
  6. In "Payload" part, select "application/json" as "MIME Type"
  7. Copy the content of Sample Payload Field part in this documentation, and paste it into the text area in the "Payload" part.
  8. In "Response Handling Criteria" part, click "Add Success Criteria" button.
  9. Select "200" as the "Status Code", select "Expect Payload" checkbox, and select "application/json" as "Content-Type".
  10. Check "One Request Per Event" option to value in "Settings" part.
  11. Click "Save" button.

Sample Payload Field

{
"event_name": "${latestEvent.displayName}",
"event_guid": "${latestEvent.guid}",
"event_id": "${latestEvent.id}",
"policy": "${policy.name}",
"event_time": "${latestEvent.eventTime}",
"app_id": "${latestEvent.application.id}",
"app_name": "${latestEvent.application.name}",
"event_message": "${latestEvent.eventMessage}",
"severity": "${latestEvent.severity}",
"event_deep_link": "${latestEvent.deepLink}",
"controller_url": "${controllerUrl}",
"node_id": "${latestEvent.node.id}",
"node_name": "${latestEvent.node.name}",
"summary": "${latestEvent.summaryMessage}",
"event_type": "${latestEvent.eventType}",
"tier_id": "${latestEvent.tier.id}",
"tier_name": "${latestEvent.tier.name}"
#if(${latestEvent.healthRuleEvent} == true)
,"health_rule_id": "${latestEvent.healthRule.id}",
"health_rule_name": "${latestEvent.healthRule.name}",
"incident_id": "${latestEvent.incident.id}",
"incident_name": "${latestEvent.incident.name}"
#end
}

Sample alert