John Marcolla | 15 May 2012 16:09

Re: problem sending V3 Traps/Informs so they can be receivedby snmptrapd

Is there any information available that I can use to debug this ?
Thanks
John

-----Original Message-----
From: snmp4j-bounces@...
[mailto:snmp4j-bounces@...] On
Behalf Of John Marcolla
Sent: Friday, May 04, 2012 4:40 PM
To: snmp4j@...
Cc: John Marcolla
Subject: [SNMP4J] problem sending V3 Traps/Informs so they can be
receivedby snmptrapd

I have been working on an application which requires messages to be sent
to NMS GUIs using SNMP Version 3 TRAP/INFORMs.  I have been having
problems getting the application to work the same as the existing
netsnmp command line tools.  I have gotten both authenticated and
non-authenticated messaging to work using the command line tools.  I am
not able to get either to work using snmp4J API.  I am sure there is
additional logic in either the tool or API which makes the results
differ.  I would greatly appreciate some expertise to quickly look over
what I have built - sure that the problem is obvious to an expert !  I
have included snippets of both solutions, the resulting exception stack
and dump of vital objects all included below.

Here is an authenticated  INFORM/TRAP working example using snmptrap (
to send), and snmptrapd ( to receive ) - INFORM excludes red text; TRAP
includes red text.  I believe that the only configuration being used is
in the file I have specified:
(Continue reading)


Gmane