About the integration:


Quickly detect and resolve your application performance issues by channeling AppDynamics alerts to create enriched and aggregated alerts in Freshservice. You can also set alert rules to create contextual incidents to route them to the right team for a quick resolution.


Configuration in Freshservice:


Step 1:

Head to the Admin panel, scroll to IT Operations Management, and select Monitoring Tools.



Step 2:

You are now on the Monitoring Tools list page. Select Add monitoring tool to add a new integration.




Step 3:

You will see a list of pre-configured integrations, the gateway to custom integration using webhooks, and the option to use email as a channel for alerts. Select AppDynamics.


Step 4:

A URL and auth-Key will be generated. You will require this to set up the integration in AppDynamics.


Configuration in AppDynamics:

  1. Log into your AppDynamics account.
  2. Navigate to the Alert & Respond tab.
  3. Select HTTP Request Templates from the Dashboard sidebar.
  4. Click on New. Provide a name for the template. Under Request URL, choose the method as POST. Copy the URL generated in Step 4 and paste it into the Raw URL field.
  5. In the payload section, set values for the following fields:

    1. MIME Type> application/JSON

    2. Paste the following JSON in the payload field

      {
        "app_id": "${latestEvent.application.id}",
        "policy": "${policy.name}",
        "node_id": "${latestEvent.node.id}",
        "summary": "${latestEvent.summaryMessage}",
        "tier_id": "${latestEvent.tier.id}",
        "app_name": "${latestEvent.application.name}",
        "event_id": "${latestEvent.id}",
        "severity": "${latestEvent.severity}",
        "node_name": "${latestEvent.node.name}",
        "tier_name": "${latestEvent.tier.name}",
        "event_guid": "${latestEvent.guid}",
        "event_name": "${latestEvent.displayName}",
        "event_time": "${latestEvent.eventTime}",
        "event_type": "${latestEvent.eventType}",
        "incident_id": "${latestEvent.incident.id}",
        "event_message": "${latestEvent.eventMessage}",
        "incident_name": "${latestEvent.incident.name}",
        "controller_url": "${controllerUrl}",
        "health_rule_id": "${latestEvent.healthRule.id}",
        "event_deep_link": "${latestEvent.deepLink}",
        "health_rule_name": "${latestEvent.healthRule.name}"
      }
  6. Go to the response handling criteria section and configure the following:
    1. Click Add Success Criteria.
    2. Set Status Code> 202.
    3. Check the Expect Payload option.
    4. Select Content Type> application/json
  7. Go to the settings section> Check request per event>click Test.
  8. Select event type as trigger and click on run test.

You should start receiving alerts in Freshservice. Go to the alerts list page to see the alerts.