Many duplicates notifications received on managers.

Jose Roberto Fernandez Anahia <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello NET-SNMP Fellows.

I’m developing a agentx subagent specifically to my Company MIB.
Everything is OK, except when I send v2 notifications.
One simple notification sent from my agent thru send_v2trap( var_list ) function,
results in sometimes 128 notifications received in the  trap receiver of my network
management station, no matter what trap receiver I use. (PRTG MONITOR SNMP
from Paessler, AdventNet MIB Browser, etc.).
All received notifications are the same.

Facts occurring:
- I noted that depending of the routine where the notification are sending inside my
code the number of duplicates received in the management station varies.
- Using localhost snmptrapd I noted that only one trap was registered in the syslog.
- The problem also occur when I send traps using sendtrap outside my code (directly
from the console).
I did not tracked network packages using wireshark to see how this duplicates are
been generate.

Environment:
Linux 16.04.1-Ubuntu 32bits in a VM machine.
net-snmp 5.7.3
gcc version 5.4.0
Netbeans c/c++ 8.2

What well I’m doing wrong or perhaps what parameter I need to adjust in my
subagent or in the master agent (NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_APPLICATION_ID,
etc) ???

I read some posts about possible timemout (???)  but very confusing since
I’m sending those notifications under UDP that did not requires any verification like informs …
But due the fact that the number of duplicates received vary as I said before, perhaps
something in this context can really be wrong.

Any help will be very very appreciated!
Thank you!

Merry Christmas for all!

  



 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.