The VoIP Notification Trap Adapter uses the <vendor>_trap_mgr.conf configuration file to translate incoming traps from the SNMP Trap Adapter configured as a trap exploder. You need to use sm_edit to edit <vendor>_trap_mgr.conf (found at VoIP Availability Manager BASEDIR/smarts/conf/voip/icoi) to define the rules that the VoIP Notification Trap Adapteruses to map incoming traps into the data fields of an VMware Smart Assurance notification. For situations requiring more advanced trap processing, an ASL script can be called for specific traps.
The <vendor>_trap_mgr.conf file contains several sections:
The beginning of the file includes comments regarding the syntax of the file.
The first line of code sets the BATCH_NOTIFY_INTERVAL applies to only the default_trap_mgr.conf file. For more information about this interval, refer to “SNMP Trap batching” on page 113.
The default section in the default_trap_mgr.conf file lists default values for the fields. If, for a given trap, no value is set for a field, the value from the default section is used. This section begins with BEGIN_DEFAULTS and ends with END_DEFAULTS.
Trap definition section(s), which define mappings of information for specific traps or groups of traps. There can be one or more trap definition sections. Each section begins with BEGIN_TRAP and specifies the trap mapping by OID, generic trap number, and specific trap number. Each trap definition ends with END_TRAP. For more information, refer to “Default trap parameter section” on page 103.