This is a discussion on duplicate traps (probably due to some bug in netsnmp?) within the SNMP Users forums, part of the Networking and Network Related category; Hello, I have the following problem: when I send a trap using send_v2trap the trap is sent twice. The Notification-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I have the following problem: when I send a trap using send_v2trap the trap is sent twice. The Notification-PDU is sent twice from the net-snmp library but I make only one call to the function send_v2trap(...). The problem is random but occurs more frequently if snmpd is heavyloaded. I searched on the net and I saw some threads on this issue and that was fixed by increasing the timeout so I did: netsnmp_ds_set_int(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_AGENTX_TIMEOUT, 10000000l); Which should set the timeout to 10s. I still have the problem. Am I doing something wrong? Is this a known issue? Do you have any other ideas? Thanks in advance, ovidiu |