Detailed descriptions of configuration parameters in the trapd.conf file presents detailed descriptions of the configuration parameters in the trapd.conf file. Any line in the trapd.conf file that is preceded with a pound sign is read as a comment. Remove the pound sign to uncomment the line.
Parameter |
Description |
---|---|
PORT |
UDP port number on which the built-in trap receiver or trap adapter listens for traps. Valid values are 162 or integers in the range 2049 to 65534 inclusive. The default port is 9000. |
WINDOW |
De-duplication window, in seconds. The maximum amount of time between the receiving of similar traps before the second trap is considered unique. Valid values are nonnegative integers, including 0. The default is 10. If not set or set to 0, the de-duplication feature is disabled, which means that all traps are considered unique. |
THREADS |
Number of trap-processing threads to spawn. This number determines how many traps can be processed concurrently. Valid values are integers in the range 1 to 25 inclusive. The default is 1. If not set, the number of trap-processing threads is 1. |
ASCII |
No longer used; should remain FALSE (default). |
SOURCE |
Determines whether the source address of the IP packet that contains the trap is printed or not printed. Printing the source address of the IP packet makes the source address available to customer-configurable .conf files and ASL scripts. Valid values are TRUE and FALSE. The default is FALSE.
|
TAG |
Enables the tagging of variable-binding (varbind) values. Valid values are TRUE and FALSE. The default is FALSE.
|
ENABLE_FWD |
Determines whether uncommented FORWARD parameters are enabled or disabled. Valid values are TRUE and FALSE. The default is TRUE.
|
MATCH |
Determines whether an incoming trap is tested against all matching criteria that are specified in an uncommented FORWARD parameter, or tested up to the first criterion that matches. Valid values are “all” or “first.” The default is “all.” If no uncommented FORWARD parameters are specified, the MATCH parameter is ignored. |
QUEUE_LIMIT_MEGS |
Limits the size of internal trap queue to the stated size, in megabytes. Valid values are nonnegative integers, including 0. The default is 0, which means that there is no limit on the size of the internal trap queue.
Note:
The limit is not exact: The queue can grow slightly larger than the specified value. When the limit is reached, some traps will be discarded. |
QUEUE_LIMIT_SECONDS |
Limits the time that a trap can spend in the internal trap queue, in seconds. Valid values are nonnegative integers, including 0. The default is 0, which means that there is no limit on the time that a trap can spend in the internal trap queue.
Note:
This limit is even less exact than the limit set for QUEUE_LIMIT_MEGS. In general, you should specify values for both QUEUE_LIMIT_MEGS and QUEUE_LIMIT_SECONDS. When the limit is reached, some traps will be discarded. |
TIMESTAMP_RCV |
Determines whether to send the actual received time of the incoming trap to ASL, or to send the timestamp in the incoming trap to ASL. Valid values are TRUE and FALSE. The default is FALSE.
|
FORWARD |
Specifies the matching criteria for incoming traps and the forwarding destinations for matched traps. Valid syntax is: <source device address> <OID> <generic type> <specific type> \ <destination host address>[:<port>|:<port>:<community>] \ [<destination host address>[:<port>|:<port>:<community>]] ... where:
|
FORWARD(continued) |
Wildcards (for globbing) are allowed for all fields except destination host address, port, and community. Wildcard syntax is discussed in Chapter 9, “Wildcard Patterns”, in the VMware Smart Assurance IP Manager Reference Guide. Examples: FORWARD: * .* * * 192.35.144.12:2004 All traps that are received from all IPv4 and IPv6 network devices will be sent to port 2004 on a host that is identified by IPv4 address 192.35.144.12. FORWARD: *:*:* .* * * [3FFE:80C0:22C:109:203:BAFF:FEE5:7BE1]:2002 All traps that are received from all IPv6 network devices will be sent to port 2002 on a host that is identified by IPv6 address 3FFE:80C0:22C:109:203:BAFF:FEE5:7BE1. FORWARD: *.*.*.* .* * * snake:v4:9099:public1 All traps that are received from all IPv4 network devices will be sent to port 9099 on an IPv4 host that is named “snake”; the community string “public1” will be assigned to the forwarded traps. Other trap forwarding examples are presented at the end of the trapd.conf file. |