Integrate with AppDynamics
What does the integration offer?
Use Compass's AppDynamics integration to forward AppDynamics alerts to Compass. Compass 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 Compass'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 Monitoring
Browser, Mobile, Synthetic Browser, IoT Infrastructure Visibility
Server, Database, Network Business Performance
Business iQ, Application Analytics
How does the integration work?
When an alert is fired by AppDynamics, an alert is created in Compass automatically through the integration.
When an alert is resolved in AppDynamics, the alert is closed in Compass.
Set up the integration
AppDynamics is an API-based integration. Setting it up involves the following steps:
Add an AppDynamics integration in Compass
Configure the integration in AppDynamics
Add an AppDynamics integration
In this release, only incoming integrations are fully supported in the Standard plan, at a team level. To use outgoing integrations or the outgoing part of bidirectional integrations, upgrade to a higher subscription plan. There may be restrictions on how you can create and apply integration rules as well.
You can add this integration only from your team’s operations page. Adding an integration from your team’s operations page makes your team the owner of the integration. This means Compass only assigns the alerts received through this integration to your team.
To add an AppDynamics integration in Compass, complete the following steps:
Go to your team’s operations page.
On the left navigation panel, select Integrations and then Add integration.
Run a search and select “AppDynamics”.
On the next screen, enter a name for the integration.
Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.
Select Continue.
The integration is saved at this point.Expand the Steps to configure the integration section and copy the integration URL.
You will use this URL while configuring the integration in AppDynamics later.Select Turn on integration.
The rules you create for the integration will work only if you turn on the integration.
Configure the integration in AppDynamics
To configure the integration of AppDynamics with Compass, complete the following steps:
In AppDynamics, go to the Alert & Respond tab.
Select HTTP Request Templates.
Select New.
Fill in the fields as required.
Under Request URL, select "POST" for Method.
Paste the API URL previously copied from Compass into Raw URL.
Do not modify the Authentication section.Under Payload, select "application/json" for MIME Type.
Copy the contents of the "Sample payload field" section in this article and paste them into Payload.
Under Response Handling Criteria, select Add Success Criteria.
Select "200" for Status Code.
Select Expect Payload.
Select "application/json" for Content-Type.
Select One Request Per Event.
Select Save.
Sample payload
JSON
{
"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
}