OpManager Trap Processor Config

OpManager Trap Processor Config

OpManager Trap Processor Config

Trap processor can be edited to display a number of labels and information based on the markup language and variables (VarBinds)

https://pitstop.manageengine.com/portal/kb/articles/how-to-configure-trap-message

Changes to the MIB files

Sometimes there is a change in the MIB file with new Firmware upgrades, The file on the OpManager Remotes will need to be updated
Using SSH to access the Server, delete the old MIB and uploaded it using the MIB Browser tool 'Setting>Tools>MIB Browser'. An option is top add and remove the file at CLI, assuming a copy on the server already, rather than using the GUI to upload.

In Addition, if there is a change in description within the MIB file, OpManager may need the old Trap entries removed before adding all traps. It is not necessary to restart the server so it should be possible to add new Traps straight away.

Editing trap processor

While logged into OpManager navigate to "Setting>Monitors>SNMP Trap Processors", select a trap you wish to edit the output of and edit Message field or the Description field. There is a search option near the top right of the page which can be used to search keywords such as 'mimo' or 'fail'

Other criteria can be edited at this time as well, such as Severity and Match

Example Message format from a MMX radio

"mwlLoginFailedTrap is received from $Source with the following related information : $* "

The resulting message will look like this;

mwlLoginFailedTrap is received from 172.26.19.120 with the following related information : sysUpTime.0: 5 hours, 23 minutes, 30 seconds. , snmpTrapOID.0: .1.3.6.1.4.1.31730.7.0.5 ,



$Source = IP Address of device

$SourceMO(displayName) = Device Name

$*, includes all of the OID information in the Trap

$N, selects specific OID data where N starts at Zero


Using the VarBinds that Manage Engine have supplied (See link), we can display specific variables from a trap '$N ' Where N = Variable. N starts at zero. 

If we use '$* ' OpManager displays all of the details from the OID;

"The trap is received from $SourceMO(displayName). The trap details are as follows, mwlGPIO1Digital=$* "

The trap is received from RRU-1-VHF. The trap details are as follows, mwlGPIO1Digital=sysUpTime.0: 113 days, 12 hours, 40 minutes, 49 seconds. , snmpTrapOID.0: .1.3.6.1.4.1.31730.7.0.12 , mwlGPIO1Digital.0: 0 ,

Critical

15 May 2018 02:30:57 AM UTC

The next example shows the I and O state when the GPIO trap is received. '$2 ' represents the third OID in the trap;

 "The trap is received from $SourceMO(displayName). The trap details are as follows, mwlGPIO1Digital=$2 "

The trap is received from RRU-1-VHF. The trap details are as follows, mwlGPIO1Digital=0

Critical

15 May 2018 02:05:11 AM UTC

The trap is received from RRU-1-VHF. The trap details are as follows, mwlGPIO1Digital=1

Critical

15 May 2018 02:05:01 AM UTC



 List of MIB files used by OpManager and SNMP Servers 



    • Related Articles

    • Accessing OpManager PGSQL Database

      INTRODUCTION OpManager tool relies on PostgreSQL (PGSQL) database for data storage. This document describes how to access the database to run customized reports METHODS OF ACCESS The PGSQL database can be accessed locally (or by using SSH session) ...
    • How to apply OpManager PPM Update and com.zip Patches

        Table of Contents Overview.. 2 Prep and file transfer. 2 Release Notes. 2 UpDate Manager for PPM... 2 Central Server upgrade. 4 Update files. 5 Discover Properties. 5 Edit list of Traps for auto-discovery. 7 Hardware Info in inventory. 7 To Enable ...
    • SQL Database query for OpManager

      SQL Database query for OpManager  OpManager allows searches for database information, while logged into the server there is a link at the top right to various links for help and searches. The image that looks like headphones is the link to support ...
    • Configuring configlets in OpManager NCM

      Manage Engine has written instruction on using and creating configlets. The link in this KB may be changed if Manage Engine update it, but for now it is a source for other NCM info as well ...
    • How to poll OpManager for active alarms using API and API Key

      OpManager uses an API function to allow third party applications to extract data from it. https://[Server IP Address]/api/json/alarm/getAlarmList?apiKey=[Server API Key] Using the link provided by and modified it for the lab server so that The custom ...