[SNMP4J] Sending multiple Informs to the same target?

Frank Fock fock at agentpp.com
Fri Aug 3 22:34:26 CEST 2007


Hi Ajeet,

Are you reusing the Pdu object within the
two threads? That would be a problem,
because of the request ID.

Best regards,
Frank

Parhar, Ajeet S wrote:
> Hi,
>
> I'm sending V2c Informs to a single sink address and port using SNMP4j.
>
> When I use 2 Snmp objects to do the sending, with each send() invoked by
> a different thread, I notice that the 2nd send() always times out (even
> with a 10000ms timeout period).
>
> If I use 2 separate processes (each with one Snmp object and invoked by
> one thread) to send to same sink, all of the messages get through OK.
>
> Is the timeout an issue with SNMP4j or the way I'm using it?
>
> I found this article which makes me think that SNMP4J doesn't support
> this type of use, but its not precisely addressing my situation.
>
> http://lists.agentpp.org/pipermail/snmp4j/2007-March/001950.html 
>
> Any pointers appreciated.
>
> 	- Ajeet.
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
>   





More information about the SNMP4J mailing list