[SNMP4J] Re: Processing Traps
Frank Fock
fock at agentpp.com
Thu Jun 15 23:09:09 CEST 2006
Hello Stefan,
Traps are buffered by the UDP buffer, which is not very big
by default. You can use the MultiThreadedMessageDispatcher
to use parallel processing. A buffer could make sense too.
Best regards,
Frank
Stefan M wrote:
> Hello Frank,
>
> I have a second question about receiving traps: Given that I have a lot
> of snmp agents that are able to send traps, my program must be able to
> handle (NumberOfAgents * X) traps. On the other hand, the code to handle
> an incoming trap is quite long and takes time to execute.
>
> My question here is: Does it make sense to store the incoming traps in a
> queue or is this already done by snmp4j, a buffer of my network card or
> somewhere else? In other words: When the
> processPdu(CommandResponderEvent event) function is executed
> synchronously it can not react on other incomming PDUs right? If there
> is no such buffer, traps are lost.
>
> best regards,
>
> Stefan
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list