snmptrapd catch and forward?

Lee Standen <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <9655826F34C1A249A3AFFA8576351743AB2042F65C@isp-per-exc01.win2k.iinet.net.au>
Hi All,

I've got a pair of servers behind a load balancer which I'm using to process a very large volume of traps... in the order of 1.5 million per day.

I want to also forward a subset of these back to a third party vendor black box, which does some additional processing, but it seems that my configuration in snmptrapd isn't working for this.

My configuration looks like this... note the line commented out - this is what I don't want to go to the black box.

traphandle 1.3.6.1.4.1.193.72.* /some/custom/script
traphandle 1.3.6.1.4.1.193.109.* /some/custom/script

forward 1.3.6.1.4.1.193.72.300.1.* vendor-black-box
forward 1.3.6.1.4.1.193.72.300.10.2.1.* vendor-black-box
forward 1.3.6.1.4.1.193.72.300.10.2.2.* vendor-black-box
forward 1.3.6.1.4.1.193.72.300.10.2.3.* vendor-black-box
forward 1.3.6.1.4.1.193.72.300.20.* vendor-black-box
forward 1.3.6.1.4.1.193.72.300.35.* vendor-black-box
#forward 1.3.6.1.4.1.193.72.300.50.* vendor-black-box
forward 1.3.6.1.4.1.193.72.400.* vendor-black-box
forward 1.3.6.1.4.1.193.72.600.* vendor-black-box
forward 1.3.6.1.4.1.193.72.602.* vendor-black-box
forward 1.3.6.1.4.1.193.72.700.* vendor-black-box
forward 1.3.6.1.4.1.193.72.800.* vendor-black-box
forward 1.3.6.1.4.1.193.72.850.* vendor-black-box
forward 1.3.6.1.4.1.193.72.900.* vendor-black-box
forward 1.3.6.1.4.1.193.72.1000.* vendor-black-box
forward 1.3.6.1.4.1.193.72.1200.* vendor-black-box
forward 1.3.6.1.4.1.193.72.1400.* vendor-black-box
forward 1.3.6.1.4.1.193.109.* vendor-black-box

Are there any options in snmptrapd that will allow the above traps to forward correctly?

Additionally, if there was some way to specify everything *but* the OID commented above is to be forwarded, that would help significantly.

Thanks

------------------------------------------------------------------------------
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 asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.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
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.