Duplicate Traps
Vahid K <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi All, Hope some one can help. I have a subagent which uses send_v2trap() to send what else snmp traps. I have a setup which requires to send 120 Snmp traps in very short period of time. It basically sends them one after another. I'm using 120 threads to call send_v2trap() but I use pthread_mutex_lock/unlcok() to control when it gets called. So ONLY one thread at a time will be calling send_v2trap(). I have noticed that snmpd sometimes repeats some of the traps. So instead of getting 120 snmp traps I get 120+. It is not consistent how many I get. # more snmpd.conf syslocation "location_string" syscontact "contact administrator" rocommunity public rwcommunity private [snmp] logTimestamp true trap2sink 172.23.168.117 162 trapcommunity public authtrapenable 2 agentaddress 162 master agentx agentXSocket udp:localhost:705 #snmpd -f -d -C -c /root/snmpd.conf Has anyone else seen this problem? Thanks in advance for your help. _________________________________________________________________ Get more out of the Web. Learn 10 hidden secrets of Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users