Snmp Manager and asynchronous traps.
Jochen Katz
katz____agentpp.com
Mon Jul 16 20:20:23 CEST 2001
Hi,
> I'm trying to build a manager that listens for incoming traps from an agent
> written using agent++.
> I registered a callback function using notify_register;
> In the main thread I have a timer function that each time it is invoked
> calls SNMPProcessPendingEvents.
> The problem is that when the agent sends a burst of traps (~20-24 traps in a
> second) The manager seems to loose some of the last traps.
I tested with the receive_trap example and a modified (for-loop around
snmp.trap(...)) snmpTraps example and could send 700 Traps in ~ 8
seconds. All of them where received. But when I tried to send 1000 Traps
in a burst some of the traps were dropped by the kernel (The kernel
receive queue for UDP seems to be 64KB on Linux). Maybe you're seeing
the same "problem".
Best regards,
Jochen
More information about the AGENTPP
mailing list