To configure the trap receiver to process informational traps received from the 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 no --port=<port number> option is 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 Network Protocol Management Suite Installation Guide.

To configure the trap_mgr.conf file for the trap receiver:

  1. 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:

                   sm_edit conf/icoi/trap_mgr.conf
                
  2. 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.

  3. 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.