> > trapcommunity public
> > trapsink <ip>
> > trap2sink <ip>
> 
> OK - so that explains why you are getting two copies of each trap.
... the <ip> Is supposed as target for SNMPv1 traps even SNMPv2
notifications. However I currently generate just one SNMPv2 notification
only.
> 
> Again, this is covered in the FAQ, as well as in the snmpd.conf(5)
> man page.   You typically only need *one* trap destination directive.
I know, I've read that ... but I generate 1 SNMPv2 notification (testTr)
and catch 4 traps ... 2 SNMPv1 (traps, mib-2 - see bellow) and 2 SNMPv2
(mib-2.88.2.0.1, testTr - see bellow) that was subject of the question

Trap (V2),      04-27-2009 12:21:38, 10.178.25.23, mib-2.88.2.0.1
                        Community String = public
                        Request = 272730186
                        sysUpTime.0 = 0-0:1:1.67
                        snmpModules.1.1.4.1.0 = mib-2.88.2.0.1
                        mib-2.88.2.1.1 =
7472616e736c6174696f6e4d6f6e69746f72
                        mib-2.88.2.1.2 = 
                        mib-2.88.2.1.3 = 
                        mib-2.88.2.1.4 = test.0
                        mib-2.88.2.1.5 = 1234
     Trap (V1),      04-27-2009 12:21:38, 10.178.25.23, traps
                        Community String = public
                        Enterprise = traps
                        Generic Trap = Enterprise Specific
                        Specific Trap = 1
                        TimeStamp = 0-0:1:1.67
                        test.0 = 1234
     Trap (V2),      04-27-2009 12:21:38, 10.178.25.23, testTr
                        Community String = public
                        Request = 272730188
                        sysUpTime.0 = 0-0:1:1.67
                        snmpModules.1.1.4.1.0 = testTr
                        test.0 = 1234
     Trap (V1),      04-27-2009 12:21:38, 10.178.25.23, mib-2
                        Community String = public
                        Enterprise = mib-2.88.2
                        Generic Trap = Enterprise Specific
                        Specific Trap = 1
                        TimeStamp = 0-0:1:1.67
                        mib-2.88.2.1.1 =
7472616e736c6174696f6e4d6f6e69746f72
                        mib-2.88.2.1.2 = 
                        mib-2.88.2.1.3 = 
                        mib-2.88.2.1.4 = test.0
                        mib-2.88.2.1.5 = 1234

Michal

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
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

Reply via email to