Skip to content

Latest commit

 

History

History
137 lines (77 loc) · 4.81 KB

appdynamics.md

File metadata and controls

137 lines (77 loc) · 4.81 KB
title seoTitle description date type
AppDynamics Integration
iLert: AppDynamics Integration for Alerting | Incident Response | Uptime
The iLert AppDynmics integration guide helps you to easily connect iLert with AppDynamics.
2020-02-28T05:02:05.000Z
post

AppDynamics Integration

AppDynamics provides application performance management (APM) and IT operations analytics across cloud computing environments as well as inside the data center.

With the iLert AppDynamics integration, you can create incidents in iLert based on custom thresholds from AppDynamics.

In iLert: create an AppDynamics alert source

  1. Go to the "Alert sources" tab and click "Create new alert source"

  2. Enter a name and select your desired escalation policy. Select "AppDynamics" as the Integration Type.

  1. Click Save. You're going to need the alert source's API key in AppDynamics.

In AppDynamics

Create HTTP Request Template

  1. Go to Alert & Respond --> HTTP Request Templates and click on New to add a new template

  1. Give the template a name (e.g. "iLert Notification") and add the following Custom Templating Variables:
  • ilertApiKey - set it to the alert sources's API key from above
  • ilertEventType - set it to ALERT
  1. In the Request URL section, set the the Method to POST and the Raw URL to https://api.ilert.com/api/v1/events

  1. In the Custom Request Headers section, add the following header Accept: application/json

  2. In the Payload section, set the MIME type to application/json and copy and paste the following JSON payload:

{
"apiKey": "${ilertApiKey}",
"eventType": "${ilertEventType}",
"incidentKey": "${latestEvent.node.name} - ${latestEvent.application.name}",
"summary": "${latestEvent.displayName} on ${latestEvent.node.name}"
}
}

  1. In the Response Handling Criteria section, add the following Success Criteria

  1. Under Settings, check One Request Per Event and click on Save

****

Test the HTTP Request Template

You can now test the template to make sure an incident is created in iLert.

  1. Click the Test button at the bottom of the page

  2. Click Add Event Type and select any event and then click Run Test.

  1. Go to iLert and check that an incident has been created by AppDynamics.

Create action

  1. Go to Actions in the left navigation menu, select an application, server or database to create the action for, and click Create

  1. Select HTTP Request from the list and click OK.

  1. Give the action a name, e.g. "iLert Alert" and select the iLert HTTP Request Template from above and click on Save.

  1. Create another action that will be used to resolve incidents in iLert. Give the action a name (e.g. “iLert Resolve”) and select the same HTTP template again. Change the iLertEventType from ALERT to RESOLVE, then click Save.

Create policy

  1. You can use the above actions in your policies. Go to Policies in the left navigation menu, select an application, server or database to create the policy for, and click Create

  1. On the Triggers tab, create a new policy with the settings that should create incidents in iLert.

  1. Switch to the Actions tab and add the iLert Alert that you've created above. Then, click on Save.

  1. Now repeat the last 3 steps with your desired recovery conditions to have incidents in iLert close automatically when your application, server or database in AppDynamics recovers.

FAQ

Will incidents in iLert be resolved automatically?

Yes, as soon as the recovery conditions of application, server or database are met, the incident in iLert will be resolved automatically.

Can I use AppDynamics with multiple alert sources from iLert?

Yes, you can create arbitrary mappings between your applications in AppDynamics and alert sources in iLert. Simply create additional actions in AppDynamics using the same HTTP Request Template with a different ilertApiKey.

Can I customize the incident messages?

Yes, you can customize the events sent to iLert by changing the JSON payload in the Payload section of the HTTP Request Template.