Page tree
Skip to end of metadata
Go to start of metadata

Introduction

The AppDynamics® LAM enables AIOps to ingest incident data from AppDynamics. For more information about AppDynamics, go to appdynamics.com.

The following information explains how to configure AIOps for AppDynamics data ingestion.

Configuration of the AppDynamics system is also required, as explained in Configuring AppDynamics® for Moogsoft AIOps

Requirements

  • An AppDynamics LAM configured for inbound communication from AppDynamics
  • An active AppDynamics Controller (v4.1 or later) 

Capabilities

AIOps performance depends on the number of Events received per second and the specifications of the AIOps system on which the AppDynamics LAM is running. 

 AppDynamics and AIOps integration creates one Event in AIOps for every event or violation received from AppDynamics. If, for example, an event is received containing multiple affected entities, then one entity (from those affected) is selected, and forms the basis of the Event created in AIOps.

AIOps configuration

Files installed by defaultDescripton
$MOOGSOFT_HOME/config/appdynamics_lam.confAppDynamics LAM configuration file
$MOOGSOFT_HOME/bots/lambots/AppDynamicsLam.jsLAMBot file; performs the main processing on the Events received
$MOOGSOFT_HOME/bots/moobots/AlertBuilder.jsStandard AlertBuilder Moobot file
$MOOGSOFT_HOME/etc/integrations/appdynamics/appdynamics-payload-script.jsonJSON script required to configure AppDynamics


AppDynamics LAM and LAMBot configuration

  1. Check appdynamics_lam.conf fields are set correctly:

    FieldDescriptionExample
    portThe port number where the LAM receives data from AppDynamics8890
    addressThis should be the hostname/IP Address of the system running AIOps
     
    If AIOps is running on premise the default address is : 0.0.0.0
    If AIOps is running on e.g. Amazon web services, it may be similar to ew2.234.234.compute.amazonaws.com


  2. Check AppDynamicsLam.js configuration settings related to Account, Policy and Action information: 

    var includeAccountInfo=true;
    var includePolicyInfo=true;
    var includeActionInfo=true;

    By default these are all set to true so every Event created in AIOps includes the Account, Policy and Action information received from AppDynamics.
    Setting each of these to false results in the corresponding Account, Policy or Action information not being included in Events.


  3. Enable the AppDynamics LAM, in the moog_farmd configuration file ($MOOGSOFT_HOME/config/moog_farmd.conf) in the moolets section, by setting the run_on_startup value to true for AppDynamics, as shown below:

    name                : "AlertBuilderAppDynamics",
    classname           : "CAlertBuilder",
    run_on_startup      : true,
    moobot              : "AlertBuilder.js",
    metric_path_moolet  : true,
    
    event_streams       : [ "AppDynamics" ],
    threads             : 4,

Final steps

Start the AppDynamics Moolet and the AppDynamics LAM to begin listening and receiving data from AppDynamics on the defined socket.

To do this:

$MOOGSOFT_HOME/bin/farmd_cntl --start --moolet "AlertBuilderAppDynamics"
service appdynamicslamd start

 

To check the AppDynamics LAM status:

service appdynamicslamd status

To stop the AppDynamics LAM:

service appdynamicslamd stop
  • No labels