Moogsoft Docs

SNMP Trapd LAM Reference

This is a reference for the SNMP Trapd LAM. The SNMP 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 LAM.

Type: String

Required: Yes

Default: "Trap Monitor". Do not change.

class: Class of the 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.

capture_log: Location of the Trapd LAM's capture log file. The capture log contains the raw data the LAM receives. See Configure Logging for more information.

Type: String

Required: No

Default: N/A

Log Config

configuration_file: File that specifies the configuration of the TrapD LAM's process log. The process log records the activities of the LAM as it ingests raw data. See Configure Logging for more information.

Type: String

Required: No

Default: "$MOOGSOFT_HOME/config/logging/integrations.log.json"