On Tue, 21 Sep 2004 13:02:56 +0800 ___ wrote: > I have config all the table ,and I think all the operate > is right .but it can't work. > > I hack the code again. but I found when the trap send from the > agent it will go through the var *sinks*,but the notifiytable store all > the notifies in var *snmpNotifyTableStorage*.
What version are you using? In 5.1.2, it uses both. > I know when I use *snmpset* creat a new notify\target..It will add > some thing in the /var/net-snmp/snmpd.conf this is in my snmpd.conf > > snmpNotifyTable "himenme" "himenme" 1 3 1 > targetAddr himenme .1.3.6.1.6.1.1 "C0 A8 01 DD 00 A2" 1500 3 "" himenme 3 1 > targetParams himenme 0 1 public 1 3 1 There is a bug in the notify code for new entries via snmpset. It has been fixed in cvs. You can try applying this change to your code base: http://cvs.sourceforge.net/viewcvs.py/net-snmp/net-snmp/agent/mibgroup/notification/snmpNotifyTable.c?r1=5.3&r2=5.4 -- Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
