Moogsoft Docs

AppDynamics Integration Reference

The AppDynamics LAM enables Moogsoft AIOps to ingest incident data from AppDynamics.

See AppDynamics for UI configuration instructions.

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

Note

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

Requirements

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

Capabilities

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

AppDynamics and Moogsoft AIOps integration creates one Event in Moogsoft 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 Moogsoft AIOps .

AIOps configuration

Files installed by default Descripton
$MOOGSOFT_HOME/config/appdynamics_lam.conf AppDynamics LAM configuration file
$MOOGSOFT_HOME/bots/lambots/AppDynamicsLam.js LAMBot file; performs the main processing on the Events received
$MOOGSOFT_HOME/bots/moobots/AlertBuilder.js Standard AlertBuilder Moobot file
$MOOGSOFT_HOME/etc/integrations/appdynamics/appdynamics-payload-script.json JSON script required to configure AppDynamics


AppDynamics LAM and LAMBot configuration

  1. Check appdynamics_lam.conf fields are set correctly:

    Field Description Example
    port The port number where the LAM receives data from AppDynamics 8890
    address This 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

Note

To check the AppDynamics LAM status:

service appdynamicslamd status

To stop the AppDynamics LAM:

service appdynamicslamd stop