hello everyone
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*.
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
if there is something wrong ,tell me 3X
lisugar<http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>From: Robert Story (Coders) <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: ___ ______ <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: how to use SNMP-TARGET-MIB Date: Mon, 20 Sep 2004 07:58:44 -0400
On Mon, 20 Sep 2004 15:02:12 +0800 ___ wrote: > I want to know how to use this MIB,I have added a new row in it > and when i use snmptable I can see the new row has been added.but when > I send trap from the agent ,I can't get any thing,I don't know why > I seems the agent only send trap to the dst defined in the snmpd.conf
Do you have all the tables configured correctly? You need rows in the snmpNotifyTable, snmpTargetAddrTable and snmpTargetParamsTable.
--
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive:
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
