sleinen / samplicator

Send copies of (UDP) datagrams to multiple receivers, with optional sampling and spoofing
GNU General Public License v2.0
391 stars 133 forks source link

Duplicating lots of snmp traps : some get lost on second destination? #26

Open sleinen opened 9 years ago

sleinen commented 9 years ago

From stefan.b...@googlemail.com on January 08, 2013 09:06:12

What steps will reproduce the problem? Command which is running on the server to forward all snmp traps to two other servers : /usr/local/bin/samplicate -fS -p 162 192.168.0.197/162 192.168.3.181/162

The first server (197) seems to get all traps fine, but the second looses lots of traps. Those are 2 different monitoring machines working with the same configuration, code, and store the traps in the database. But the 2nd server (3.181) does not get all the traps.

This is now ongoing for about 4 weeks and because it is an internal network I can't think of loosing those packets on the cable internally. But it is of course really lots of traps that get duplicated, around 30 - 40k per day. I can also always see a time difference when the traps are entered in the database. The first server always stores the traps around 20 minutes before the second server receives the trap and stores it. What is the expected output? What do you see instead? I am expecting that both machines would receive the traps around the same time and also receiving the same amount of traps. What version of the product are you using? On what operating system? OpenSuse 12.2 x64

If you need further details I will provide.

Original issue: http://code.google.com/p/samplicator/issues/detail?id=27