Re: [SNMP4J] thread lock in org.snmp4j.mp.MPv3.prepareResponseMessage

2011-10-26 Thread shangtang wei
hi,Frank, we have 4 snmp instance, these share one mpv3 instance. the trap receiver thread pool have 50 threads, but only one thread works, others blocked. we configured 5k devices, when the snmp thread is blocked, some devices are in communication loss state. do you understand my question?

[SNMP4J] Need help with a class

2011-10-26 Thread Jorge Marcos Díaz
I think my doubt will be “stupid” but i can not convert an OID like “sysDescr” to another representaton like “1.6.x.x.x.x.x” or to an int []{1,3,6,x,x,x,x} Is there a method to make it automatically? Thank you to everybody just for reading. ___

Re: [SNMP4J] Need help with a class

2011-10-26 Thread Frank Fock
Hi, You need a SMI parser to convert object names to an OID and vice versa. Normally this is nothing one should do at runtime. You really want to do it, you can use JASMI (http://www.mibdesigner.com) for that. At compile time, AgenPro will be able to help you. Best regards, Frank On 26.10.2011