AppDynamics Integration
Create alerts in ilert based on custom thresholds from AppDynamics
AppDynamics provides application performance management (APM) and IT operations analytics across cloud computing environments as well as inside the data center.
With ilert's AppDynamics integration, you can automatically create alerts in ilert based on custom thresholds from AppDynamics. That way, you will never miss a critical alert and always alert the right person using ilert's on-call schedules, automatic escalation, and multiple alerting channels. When a threshold in AppDynamics is exceeded, ilert will alert the on-call person through their preferred channel, including SMS, phone calls, push notifications and Slack. ilert will automatically escalate to the next person, if the alert is not acknowledged. ilert also lets you define alerting rules based on support hours and delay alerts until your support hours start.
In ilert: Create an AppDynamics alert source
Go to Alert sources --> Alert sources and click on Create new alert source
Search for AppDynamics in the search field, click on the AppDynamics tile and click on Next.
Give your alert source a name, optionally assign teams and click Next.
Select an escalation policy by creating a new one or assigning an existing one.
Select you Alert grouping preference and click Continue setup. You may click Do not group alerts for now and change it later.
The next page show additional settings such as customer alert templates or notification prioritiy. Click on Finish setup for now.
On the final page, an API key and / or webhook URL will be generated that you will need later in this guide.
In AppDynamics: Create HTTP Request Template
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:
In the Response Handling Criteria section, add the following Success Criteria
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 alert 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 alert has been created by AppDynamics.
Create action
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 alerts 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.
Create policy
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 alerts 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 alerts in ilert close automatically when your application, server or database in AppDynamics recovers.
FAQ
Will alerts in ilert be resolved automatically?
Yes, as soon as the recovery conditions of application, server or database are met, the alert 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 alert messages?
Yes, you can customize the events sent to ilert by changing the JSON payload in the Payload section of the HTTP Request Template.
Last updated