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 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.
-
Go to the "Alert sources" tab and click "Create new alert source"
-
Enter a name and select your desired escalation policy. Select "AppDynamics" as the Integration Type.
- Click Save. You're going to need the alert source's API key in AppDynamics.
- Go to Alert & Respond --> HTTP Request Templates and click on New to add a new template
- 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 aboveilertEventType
- set it toALERT
- In the Request URL section, set the the Method to
POST
and the Raw URL tohttps://api.ilert.com/api/v1/events
-
In the Custom Request Headers section, add the following header
Accept
:application/json
-
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}"
}
}
- In the Response Handling Criteria section, add the following Success Criteria
- Under Settings, check One Request Per Event and click on Save
****
You can now test the template to make sure an incident is created in iLert.
-
Click the Test button at the bottom of the page
-
Click Add Event Type and select any event and then click Run Test.
- Go to iLert and check that an incident has been created by AppDynamics.
- Go to Actions in the left navigation menu, select an application, server or database to create the action for, and click Create
- Select HTTP Request from the list and click OK.
- Give the action a name, e.g. "iLert Alert" and select the iLert HTTP Request Template from above and click on Save.
- 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
fromALERT
toRESOLVE
, then click Save.
- 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
- On the Triggers tab, create a new policy with the settings that should create incidents in iLert.
- Switch to the Actions tab and add the iLert Alert that you've created above. Then, click on Save.
- 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.
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.