Any way to have trapsink or trap2sink send traps to a given destination ONLY if the OID matches a configured OID prefix?

Max <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Our use case is this:
* All traps go to one NMS
* All traps of a specific vendor type should additionally go to a second NMS.

I have read the snmpd.conf man page, investigated trapsess, even
looked at the source code agent/agent_trap.c and I do not see a
mechanism that would let me do this within the Net-SNMP daemon via
configuration directives.

I do see how to do this by starting up snmptrapd locally, having snmpd
send a copy of all traps to snmptrapd and then filtering forwarding in
snmptrapd, but would be really nice to do this all in snmpd.conf

Can this filtered sending be done purely from the agent itself?  or is
the snmpd -> snmptrapd method the only way to currently do this?

Running 5.4.2.1.

Thanks in advance for any suggestions you might have,
Max

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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.