To configure an SNMP Trap Adapter as a trap receiver to process non-VoIP informational traps received from the SNMP Trap Adapter configured as a trap exploder, you edit the Service Assurance BASEDIR/smarts/conf/icoi/trap_mgr.conf file to define how the trap receiver processes traps into notifications. Each trap to be transformed into a notification requires a trap definition entry in the trap_mgr.conf file.
The trap_mgr.conf file contains rules that the trap receiver uses to map incoming traps into the data fields of an VMware Smart Assurance notification. The Adapter Platform, in turn, creates the VMware Smart Assurance notification object from the data fields and exports the notification to the Global Manager.
If the --port=<port number> option is not specified in the trap receiver’s startup command, the trap receiver listens for traps on the port specified by the PORT parameter in the Service Assurance BASEDIR/smarts/conf/icoi/trapd.conf file (port 9000 by default), or port 162 if no PORT value is specified in the trapd.conf file. The trap exploder startup options are described in the VMware Smart Assurance Service Assurance Manager Adapter Platform User Guide and the VMware Smart Assurance Installation Guide for SAM, IP, ESM, MPLS, and NPM Managers.
To configure the trap_mgr.conf file for the trap receiver:
Go to the BASEDIR/smarts/bin directory in the Service Assurance Manager installation area and type the following command to open the trap_mgr.conf file:
Define a trap definition for each received trap.
For each SNMP trap, you must specify how the information in the trap maps to objects in the Global Manager repository and how the notification should appear at the Global Console.
Save the file. The modified version of the trap_mgr.conf file is saved to the BASEDIR/smarts/local/conf/icoi directory in the Service Assurance Manager installation area.