Moogsoft Docs

Trapd LAM Reference

This is a reference for the Trapd LAM . The Trapd LAM configuration file is located here: $MOOGSOFT_HOME/config/trapd_lam.conf .

It contains the following sections and properties:

Monitor

name : Name of the Trapd LAM.

Type : String
Required : Yes
Default : "Trap Monitor" . Do not change.

class : Class of the Trapd LAM.

Type : String
Required : Yes
Default : "CTrapMonitor" . Do not change.

trap_port : Port the Trapd LAM uses to receive traps. SNMP agents typically send traps to port 162 via User Datagram Protocol (UDP).

Type : Integer
Required : Yes
Default : 162

concurrency : Maximum number of threads the Trapd LAM can use for receiving and processing traps.

Type : Integer
Required : Yes
Default : 5

name_resolution : Provides hostname of IP address the trap came from.

Type : Boolean
Required : Yes
Default : "true,"

event_ack_mode : Determines when Moogsoft AIOps acknowledges an event from the Trapd LAM during processing. Acknowledge events when Moogsoft AIOps adds them to the Moolet queue. This is the with queued_for processing. Acknowledge events when a Moolet processes them with event_processed .

Type : String
Required : Yes
One of : queued_for_processing , event_processed
Default : "queued_for_processing,"

mib_db_file : Defines the location where the Mibparser utility exports and parses its MIBs. If you do not provide a file, the Trapd LAM parses the MIBs in $MOOGSOFT_HOME/etc/mibs/ at startup.

You can use absolute or relative pathing. If you do not use either then Moogsoft AIOps prepends $MOOGSOFT_HOME to the path you provide. For example " etc/precompiledMibs.json" becomes "$MOOGSOFT_HOME/etc/precompiledMibs.json".

Type : String
Required : No
Default : "etc/precompiledMibs.json"

usm_file : Path to your User-based Security Model (USM) file, the mechanism that allows you to authenticate and encrypt messages for SNMPv3.

Type : String
Required : No
Default : "$MOOGSOFT_HOME/config/trapd_usm.conf"

local_engine_id : Engine ID of the SNMP monitor that sends Inform messages to your Trap LAM. This must be in hexadecimal string format.

Type : String (Hexadecimal)
Required : No
Default : "6D6F6F67736F6674"

Agent

name : Name of the SNMP agent that is the source of the trap messages.

Type : String
Required : Yes
Default : "DATA_SOURCE" . Do not change.

log : Location of the Trapd LAM log file.

Type : String
Required : No
Default : "$MOOGSOFT_HOME/log/data-capture/trapd_lam.log"