On Thu, 17 Feb 2005 17:45:35 +0800 Paul wrote:
PC> I have two MIBs. And I want to send the traps of the first MIB to A, and
PC> traps of the second MIB to B. 

>From what process? snmpd, or your own process?

It is not currently possible via snmpd, as all traps are sent to all
destinations. This will be the case until we get around to fully implementing
the notification MIBs.

For sending traps from your own process, you have two options: spawn off a
process to call the command line snmptrap, or build the traps manually and send
them (see the source for snmptrap for how to do that).

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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