Hello all,
  I'm trying to use the SnmpRequest object in the org.snmp4j.tools.console 
package to listen for TRAPs, to verify a strange behaviour I'm facing with.

While Wireshark detects the TRAPs, SNMP4J does not receive it or anyway does 
not forward the TRAP to my application.
  Since it happens with very few specific TRAPs, I thought to use the 
SnmpRequest to debug the internal behaviour.

I'm using this command line:

java -classpath ./;./snmp4j-1.11.1.jar org.snmp4j.tools.console.SnmpRequest -p 
TRAP -c private -v 2c -d DEBUG -Ol udp:151.98.92.112/161

being 151.98.92.112 my PC address, but I do not see any TRAP, not even the 
"normal" ones when I'm using my application and changing values on the network 
element to generate TRAPs.

Any suggestion?

Thanks,

Dott. Ing. Marco Bresciani
Alcatel-Lucent Italia SpA
Sw Craft Terminal & N.M. Sys. Specialist
OPTD - Wireless transmission WT
Research and Development
via Trento 30, Vimercate, Italy, 20059
EMail: [email protected]
Phone: +39 039 686 6279
Fax: +39 039 686 5600


_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to