[SNMP4J] PDU - extract all fields

Lauryca Puyulik lavrenty_ro at yahoo.com
Mon Jan 29 14:04:45 CET 2007


I received some traps like this:

13:05:28,390 INFO  [STDOUT] V1TRAP[reqestID=0,timestamp=0:00:00.16,
enterprise=1.3.6.1.6.3.1.1.5,genericTrap=0,specificTrap=0, VBS[]]
14:52:21,937 INFO  [STDOUT]; 

V1TRAP[reqestID=0,timestamp=4:23:38.07,enterprise=1.
3.6.1.4.1.562.37.3.1,genericTrap=6,specificTrap=1, VBS[...]] 

How can I extract from the pdu the enterprise, genericTrap/specificTrap fields.

Thanks!

 
---------------------------------
Any questions?  Get answers on any topic at Yahoo! Answers. Try it now.


More information about the SNMP4J mailing list