2 Sending ThousandEyes Alerts to AppDynamics

Another powerful way to integrate ThousandEyes and AppDynamics is to send ThousandEyes alerts to AppDynamics.

Native Alerts Integration

First, set up ThousandEyes to send its alerts to AppDynamics. See the native alerts integration.

Viewing ThousandEyes Alerts in the Application Dashboard

ThousandEyes alerts are displayed in AppDynamics as custom events. Any alerts that ThousandEyes generates about an application that AppDynamics is monitoring appear under the application in the top right corner:

To view the custom events, do the following within AppDynamics:

  1. Click Custom.

    The Events view appears, filtered by custom event.

  2. Scan the Events view for any ThousandEyes alerts generated for that application.

  3. Double-click one of the events.

    Details of the alert display, including a link back to the alert in ThousandEyes platform.

Filtering on ThousandEyes Alerts

If you are ingesting alerts into AppDynamics from various sources, you may want to filter on ThousandEyes alerts only.

  1. Navigate to the Add Custom Event Filter dialog.

    There are several places in AppDynamics where you can add custom event filters. For example, Application > Events > Add Criteria > Custom Events.

  2. In the Custom Event Type field, enter ThousandEyesAlert.

  3. To further refine your filtering, you can click Add Property and filter on any of the following properties:

    Property Name

    Definition

    alertType

    Possible values include BrowserBot, Http, Network, OneWayNetwork, Voice, DnspDomain, DnspNameServer, DnsServer, DnsTrace, Dnssec, Transaction, WebTransaction, Bgp, PathTrace, Ftp, and Sip**

    testName

    The name of the ThousandEyes test that is generating the alert.

    alertState

    TRIGGER or CLEAR

    scope

    The number of agents affected.

    ruleName

    The name of the ThousandEyes alert rule that has been triggered.

    alertId

    The unique ID of the alert.

    target

    The URL that the test is set to.

Viewing ThousandEyes Alerts in AppDynamics Dashboards

Metrics Widgets

To have ThousandEyes alerts appear in AppDynamics dashboards as overlays on metrics widgets, do the following:

  1. Navigate to the dashboard widget and click to edit it.

  2. In the Edit Widget dialog, find the Events section and select the Show Events option.

  3. Ensure that the Data Source field shows the name of the application you want to show alerts about.

  4. Select Event Types: Custom.

Health Rules & Events Widgets

ThousandEyes alerts can also be displayed in the Health Rules & Events widgets, in both list and timeline view.

  1. Click to add a widget.

  2. In the Add Widget dialog, select Health Rules & Events > Event List.

  3. Select the data source (typically, the application you are monitoring).

  4. Select Add Criteria > Custom Events.

Using ThousandEyes Alerts in AppDynamics Policies

You can use ThousandEyes alerts to create policies that combine AppDynamics and ThousandEyes alerts. For example, you might create a policy that triggers when both a ThousandEyes network alert occurs as well as an AppDynamics slow application response time alert.

  1. In the Alert & Respond section, select Policies > Create.

  2. In the Edit Policy dialog, select Custom Events.

  3. In the Add Custom Event Filter dialog, in the Custom Event Type field, enter ThousandEyesAlert.

  4. Set property filters for type as Network and alertState as TRIGGER.

  5. Now select other conditions, such as Slow Transactions.