Link

AppDynamics helps you monitor applications, infrastructure, and servers in one platform and provides real-time insights and transform your app performance with our Application Performance Management to drive business outcomes.

What can Zenduty do for AppDynamics users?

With AppDynamics’s Integration, Zenduty sends new AppDynamics alerts to the right team and notifies them based on on-call schedules via email, text messages (SMS), phone calls(Voice), Slack, Microsoft Teams and iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed. Zenduty provides your NOC, SRE and application engineers with detailed context around the AppDynamics alert along with playbooks and a complete incident command framework to triage, remediate and resolve incidents with speed.

Whenever AppDynamics triggers an alert based on a predefined condition, Zenduty will create an incident. When that condition goes back to normal levels, Zenduty will auto-resolve the incident.

You can also use Alert Rules to custom route specific AppDynamics alerts to specific users, teams or escalation policies, write suppression rules, auto add notes, responders and incident tasks.

To integrate AppDynamics with Zenduty, complete the following steps:

In Zenduty:

  1. To add a new AppDynamics integration, go to “Teams” on Zenduty and click on the “Manage” button corresponding to the team you want to add the integration to.

  2. Next, go to “Services” and click on the “Manage” button corresponding to the relevant Service.

  3. Go to “Integrations” and then “Add New Integration”. Give it a name and select the application “AppDynamics” from the dropdown menu.

  4. Go to “Configure” under your integrations and copy the webhook URL generated.

In AppDynamics:

  1. Log into AppDynamics.

  2. Navigate to the Alert & Respond then navigate to HTTP Request Templates and then click on New.

  1. Provide a name to the template, say “Zenduty alerts”

  2. In the Request URL section, set the HTTP method to POST.

  3. Paste the URL that you copied in step 4 in the Raw URL input box.

  1. No custom headers are required.

  2. In the Payload section, select the MIME type as application/json. Keep the payload encoding as UTF-8. In the payload box, paste the text below:


#foreach(${eventList} in ${fullEventsByTypeMap.values()})

  #foreach(${event} in ${eventList})

    #if ($event.eventType == "POLICY_OPEN_CRITICAL")

          #set ( $message_type = "ERROR" )

    #elseif ($event.eventType == "POLICY_UPGRADED")

          #set ( $message_type = "ERROR" )

    #elseif ($event.eventType == "ERROR")

          #set ( $message_type = "ERROR" )

    #elseif ($event.eventType == "APPLICATION_ERROR")

          #set ( $message_type = "ERROR" )

    #elseif ($event.eventType == "POLICY_CLOSE_WARNING")

          #set ( $message_type = "RESOLVED" )

    #elseif ($event.eventType == "POLICY_CLOSE_CRITICAL")

         #set ( $message_type = "RESOLVED" )

    #elseif ($event.eventType == "POLICY_CANCELED_CRITICAL")

         #set ( $message_type = "RESOLVED" )

    #else

          #set ( $message_type = "INFO" )

    #end

{

    "severity":"${message_type}",

    "eventId":"${latestEvent.incident.id}",

    "eventMessage":"${event.eventMessage}",

    "summaryMessage":"${latestEvent.eventMessage} \n Link: ${event.deepLink}"

}

  #end

#end

  1. In the Response Handling Criteria section set the Failure Criteria status code to 400 and the Success Criteria status code to 201.

  1. At the bottom of the page, click on Save. Your template is saved. To test the alert templace, right click on the newly created template, click on Edit. Navigate to the botton and click on Test. Select an Event Type Trigger with a count of 1 and click on Run Test.

  1. Go back to your Zenduty dashboard. An incident will be created with the test alert. Your Appdynamics Zenduty integration is now complete.


Respond to AppDynamics Integration alerts faster

Looking for a way to get real-time alerts from AppDynamics Integration, setup a solid incident escalation and incident response pipeline and minimize response and resolution times for AppDynamics Integration incidents?

Signup for a free trial


Copyright Zenduty 2020. Product of YellowAnt