Integrate Opsgenie with AppDynamics
What does Opsgenie offer to AppDynamics users?
Use Opsgenie’s AppDynamics Integration to forward AppDynamics alerts to Opsgenie. Opsgenie determines the right people to notify based on on-call schedules– using email, text messages (SMS), phone calls and iPhone & Android push notifications, and escalates alerts until the alert is acknowledged or closed.
Leverage Opsgenie’s AppDynamics Integration to enable real-time Incident Management and Alert Notifications for the following:
Application Performance Monitoring
Java, .NET, PHP, Node.js, Python, Go, C++, Apache Web Server, SAP
End User MonitoringBrowser, Mobile, Synthetic Browser, IoT
Infrastructure VisibilityServer, Database, Network
Business PerformanceBusiness iQ, Application Analytics
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 is closed in Opsgenie.
Add AppDynamics Integration in Opsgenie
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 AppDynamics and select Add.
Specify who is notified of AppDynamics alerts using the Responders field. Auto-complete suggestions are provided as you type.
Copy the Webhook URL by clicking on the copy button or selecting.
Select Save Integration.
Configuration in AppDynamics Expand
In AppDynamics, go to the Alert & Respond tab on the top menu.
Select HTTP Request Templates from the left menu.
Click New.
Fill in the fields and in the Request URL selection, choose POST as the Method and paste integration API URL into Raw URL field.
5. Do not modify the Authentication part.
6. In the Payload field, select application/json as MIME Type.
7. Copy the content of Sample Payload Field part of this documentation and paste it into the text area in the Payload field.
8. In the Response Handling Criteria field, click Add Success Criteria.
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 the Settings field.
11. Click Save.
Sample Payload Field
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"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
}
Was this helpful?