Trap Viewing and Logging
The contents of trap message are logged in the event log file when the trap is received. There are two forms: Short and Verbose. (The format is controlled by the Verbose Trap Logging check box in the Server Settings > SNMP preference pane.)
Short Trap Format
06/08 20:50:29 TRAP TestMap:192.168.2.1 1.3.6.1.4.1.6306 (333)
{ "321", "456" } (via 192.168.1.233)<p>
Verbose Trap Format
06/08 20:50:05 TRAP TestMap:192.168.2.1 1.3.6.1.4.1.6306 (333)
{ 1.3.6.1.4.1.6306.99.1 : "321", 1.3.6.1.4.1.6306.99.2 : "456" } (via 192.168.1.233)<p>
The fields of the trap entry in the log file are defined below, with examples in "[ ... ]":
- Date and Time - [ 06/08 20:50:05
TRAP ]
The date and time followed by the word TRAP. - Map Name and Device ID - [
TestMap:192.168.2.1 ]
The map name and device ID, separated by a colon (:). - Enterprise OID and Trap Field - [ 1.3.6.1.4.1.6306 (333) ]
The Enterprise OID, followed by the specific trap field in parenthesis. - VarBind List - The contents of the VarBind List, enclosed in curly braces and
separated by commas (,).
Short format: { "321", "456" } shows only the values sent for each VarBind in quotation marks.
or
Verbose format: { 1.3.6.1.4.1.6306.99.1 : "321", 1.3.6.1.4.1.6306.99.2 : "456" }
shows the OID, a colon (:), and the OIDs value in quotation marks. - Address - [ (via 192.168.1.233) ] The address of the relaying system, if present.
The verbose format shows all information sent with the trap.