Overview
AppDynamics is a business and application performance monitoring platform. EasyContact integrates with AppDynamics via HTTP Request Actions, receiving health rule violations and policy events.Setup Instructions
1
Create Integration in EasyContact
- Go to Configuration → Integrations
- Click Add Integration
- Select AppDynamics as the type
- Enter a name (e.g., “Production AppDynamics”)
- Save and copy the webhook URL
2
Create HTTP Request Template
- Go to Alert & Respond → HTTP Request Templates
- Click New
- Configure the template (see below)
3
Create Policy Action
- Go to Alert & Respond → Actions
- Click Create
- Select HTTP Request
- Choose your template
4
Add Action to Policies
- Edit your health rule policies
- Add the HTTP action to trigger on violations
HTTP Request Template
Basic Configuration
| Field | Value |
|---|---|
| Name | EasyContact Webhook |
| Method | POST |
| Raw URL | Your EasyContact webhook URL |
| Content-Type | application/json |
Payload Template
Template Variables
AppDynamics uses Apache Velocity syntax:| Variable | Description |
|---|---|
${latestEvent.eventType} | Event type (POLICY_OPEN_*, etc.) |
${latestEvent.id} | Event ID |
${latestEvent.severity} | Severity (INFO, WARN, ERROR) |
${latestEvent.summaryMessage} | Event summary |
${latestEvent.application.name} | Application name |
${latestEvent.tier.name} | Tier name |
${latestEvent.node.name} | Node name |
${latestEvent.healthRule.name} | Health rule name |
${policy.name} | Policy name |
${latestEvent.deepLink} | Link to event in AppDynamics |
${controllerUrl} | Controller URL |
${account.name} | Account name |
Field Mapping
| AppDynamics Field | EasyContact Field |
|---|---|
incident_id / event_id | Event ID |
event_name / summary | Title |
summary | Description |
event_type | Event type tag |
severity | Severity |
node_name / tier_name | Host |
app_name | Service |
deep_link | URL |
health_rule_name | Health rule tag |
Event Types
| Event Type | Description | Status |
|---|---|---|
| POLICY_OPEN_WARNING | Warning threshold violated | Problem |
| POLICY_OPEN_CRITICAL | Critical threshold violated | Problem |
| POLICY_CLOSE | Policy condition cleared | OK |
| POLICY_UPGRADED | Warning escalated to critical | Problem |
| POLICY_DOWNGRADED | Critical downgraded to warning | Problem |
| POLICY_CONTINUES_WARNING | Warning continues | Problem |
| POLICY_CONTINUES_CRITICAL | Critical continues | Problem |
| POLICY_CANCELED | Policy canceled | OK |
Severity Mapping
| AppDynamics Severity | EasyContact Severity |
|---|---|
| ERROR | Critical |
| WARN | Warning |
| INFO | Info |
Custom Mapping
Example Payload
Enrichment Examples
Policy Configuration
Creating a Policy
- Go to Alert & Respond → Policies
- Click Create Policy
- Configure triggers:
- Health Rule Violation events
- Specific health rules or all
- Add your HTTP Request action
Health Rule Integration
Link policies to specific health rules:- Application health rules
- Business transaction rules
- Backend rules
- Custom rules
Troubleshooting
Webhook not being triggered
Webhook not being triggered
- Verify HTTP Request Template is configured correctly
- Check that action is added to the policy
- Verify health rule is enabled and triggering
- Test template from AppDynamics UI
Missing node/tier information
Missing node/tier information
- Ensure variables include node and tier
- Some events may not have node-level data
- Use tier as fallback when node is empty
Events not resolving
Events not resolving
- Include POLICY_CLOSE event type in policy
- Verify event_id/incident_id matches between open and close
- Check policy action triggers on all event states
Template errors
Template errors
- Test template with “Test” button
- Check variable syntax (Apache Velocity)
- Ensure all referenced fields exist
Best Practices
Include Deep Links
Include Deep Links
Always include
${latestEvent.deepLink} so responders can quickly navigate to AppDynamics.Use Incident ID
Use Incident ID
Use
incident_id for event correlation to properly group and resolve related alerts.Configure All Event Types
Configure All Event Types
Include close/cancel events in your policy to automatically resolve incidents.
Leverage Business Transactions
Leverage Business Transactions
Monitor business transaction health for business-impact visibility.