[SNMP4J] SNMP v1 traps and community string

Dan Irwin ml at mutox.org
Fri Mar 21 09:54:25 CET 2008


Hi all,

I want to extract the community name from an snmp v1 trap. Is this possible?

Wireshark tells me the community name is not part of the trap data 
itself, so I assume snmp4j is stripping off this information before 
passing the PDU to the CommandResponder I have written.

Is there another way to accomplish this, for example, by specifying 
acceptable community names and passing these to an instance of the Snmp 
object?

Regards,

Dan




More information about the SNMP4J mailing list