Moogsoft Docs

AppDynamics

You can integrate with AppDynamics so the Alert and Respond system posts data to your system when it generates an event.

See the AppDynamics documentation for details on AppDynamics components.

Before You Begin

Before you start to set up your AppDynamics integration, ensure you have met the following requirements:

  • You have an active AppDynamics account.
  • You have the necessary permissions to configure Alert and Respond templates, actions, and policies in AppDynamics.
  • AppDynamics can make requests to external endpoints over port 443.

Configure the AppDynamics Integration

You can configure the AppDynamics integration in Moogsoft AIOps as follows:

  1. Navigate to the Integrations tab.
  2. Click AppDynamics in the Monitoring section.
  3. Follow the instructions to create an integration name.

See the AppDynamics Integration Reference for advanced configuration information.

Configure AppDynamics

Log in to AppDynamics to configure the Alert and Respond system to send event data to your system. For more help, see the AppDynamics documentation.

  1. Create an HTTP request template in the AppDynamics Alert and Respond UI as follows:

    Template Field Value
    Request URL endpoint
    Method POST
    Name Alert Post
    Request URL
    https://<hostname>/events/appdynamics_<integration_name>

    The integration name is the name created in the previous section.

    URL-Encoding UTF 8
    Enable authentication
    Authentication Type BASIC
    User ID

    Username generated in the Moogsoft AIOps UI.

    Password

    Password generated in the Moogsoft AIOps UI.

    Custom request header
    Header Content-Type
    Value application/json
    Payload
    MIME Type application/json
    Payload Encoding UTF-8
    Payload text Add the contents of this file to the field
    Response Hangling Criteria
    Failure Status Codes 400, 401, 405, and 406
    Success Status Code 200
    Settings
    One Request Per Event True
    Connect timeout 5000
    Socket timeout 5000
  2. You can test the HTTP Template with the following options:
    • Set the Log Level to Debug.
    • Add an Event type of Health Rule Violation Started - Warning

  3. For each AppDynamics business application you want to report events to your system create an action in AppDynamics.
    Action Type: Make an HTTP Request

    Action Field Value
    Name Send Alerts
    Template Alert Post
  4. For each AppDynamics business application that should report events to your system, create a policy in AppDynamics that applies the "Send to AIOps" action to health rules.

    Policy Field Value
    Trigger Tab
    Name Send Events
    Enabled check box Yes
    Health Rule Violation Events Select all required
    Actions Tab
    Action Send Alerts

After you complete the AppDynamics configuration, AppDynamics reports event data to your system for the relevant health rule violations.