notification filtering

Mark Ellison <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Ellison Software Consulting, Inc.
Message-ID <[email protected]>
Hi,

I am looking at the net-snmp-5.2.1.2 distribution to figure out if I can 
populate the SNMP notification filtering tables and then use these 
tables to filter outgoing notifications based upon the value of the 
snmpTrapOID.0 varbind in the outgoing pdu.

I see calls to the snmpd_register_config_handler() routine for the 
snmpNotify*Table configuration token handlers, but I do not see any code 
on the way out (diving down send_v2trap()) that might make the 
appropriate comparisons for filtering.  It appears that each registered 
trap2sink receives all notifications or none.

If someone could point me in the right direction with respect to 
filtering of notifications originated at the agent, I'd appreciate it.

Regards,

Mark

-- 
Mark Ellison                        Ellison Software Consulting, Inc.
tel: +1 (603) 362-9270              38 Salem Road
fax: +1 (603) 362-9271              Atkinson, NH  03811, USA
<http://www.scguild.com/Resume/1321R.html>




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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.