Trap adapter configuration file: trapd.conf

The trapd.conf file, located in the BASEDIR/smarts/conf/trapd directory of all
VMware Smart Assurance
product installations, is a global configuration file. It is used to configure most
VMware Smart Assurance
built-in trap receivers and most trap adapters (sm_trapd). Only the PORT parameter in this file is applicable to built-in trap receivers because the built-in trap receivers are configured to receive and parse traps, but not to forward traps. The other parameters in the file are applicable for configuring trap adapters to forward traps.
The built-in trap receiver for
is not controlled by the trapd.conf file. The only user-configurable control for the built-in trap receiver is the
“TrapPort = 0” parameter line in the bgp.conf and ospf.conf files.
Configuration directory for a trap exploder shows the trap exploder™s configuration directory, in the
installation area, and the trap exploder™s trapd.conf file. A trapd.conf file in the local area takes precedence over the original trapd.conf file, which contains the installed defaults. A seedfile is required only if the trap exploder is to process SNMPv3 traps.
Configuration directory for a trap exploder
The following portions of the trapd.conf file are of interest to this discussion.
Table 10 on page 83
presents detailed descriptions of the configuration parameters in the trapd.conf file.
# trapd.conf - Configuration file for SNMP Trap Adapter . . . # Following is a list of parameters with a brief description. # More information is available at the end of this file. # # PORT UDP port number the trap adapter listens to. # # WINDOW De-duplication window, in seconds. # # ASCII Controls formatting of non-printable characters. # # TAG Enables tagging of varbind values. # # ENABLE_FWD Enables trap forwarding. # # MATCH Determines whether traps are tested against all forwarding # criteria or up to the first criterion that matches. # # FORWARD Specifies matching criteria for traps and the forwarding # destinations for matched traps. ########## # # Set the parameters here. PORT: 9000 #WINDOW: 10 #ASCII: FALSE #TAG: FALSE ENABLE_FWD: TRUE #MATCH: all #QUEUE_LIMIT_MEGS: 0 #QUEUE_LIMIT_SECONDS: 0 . . . # Traps required by InCharge IP Availability Manager (AM) # # Generic: coldStart, warmStart, LinkUp, LinkDown #FORWARD: * .* <0-3> * host:port . . . # Traps required by InCharge IP Performance Manager (PM) # # Cisco: EnvMon Voltage, Temperature, Fan, RedundantSupply #FORWARD: * .1.3.6.1.4.1.9.9.13.3 6 <2-5> host:port . . .