Hi Dave, I am giving the agent's engineID and this will be discovered by Mib Browser. This should not be problem.
Now in snmptrapd.conf I am seeing usmUser entry being replaced. I tried to send the trap still it is not reaching the mib browser, with tcpdump I am able to see the trap has been sent successfully and received. Regards, Som -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, April 18, 2007 2:57 PM To: M, Somashekhar (Somashekhar) Cc: [email protected] Subject: Re: Net-snmp-users Digest, Vol 11, Issue 25 On 18/04/07, M, Somashekhar (Somashekhar) <[EMAIL PROTECTED]> wrote: > /root/net-snmp/bin/snmptrap -e <engineId> -u MyUser -A MyPassword -a > MD5 -x DES -X NewPassword -l authpriv <Desktop-ip(where mib browser is > running>:162 '' <varbinds> > > This is the command being used. No - what is the *exact* command? In particular, what are you using for 'engineId' ? > Snmptrapd.conf is as follows: > > # > # net-snmp (or ucd-snmp) persistent data file. This is the file /var/net-snmp/snmptrapd.conf - yes? > # Only "createUser" tokens should be placed here by snmptrapd administrators. > engineBoots 3 > oldEngineID 0x80001f880187fefd5b If this is the only config that you've got, then no - SNMPv3 traps won't work. You need to tell it about the SNMPv3 user(s). > I also tried to add the user using createUser as mentioned as a > comment in the file. That's right. See the tutorial at http://www.net-snmp.org/wiki/index.php/TUT:snmptrap_SNMPv3 for details. > When we add a v 3 user using createUser and restart the snmptrapd the > line automatically gets deleted. The line should be deleted, and replaced by an equivalent 'usmUser' line. How exactly are you restarting the trap daemon? In particular, what is the command used to stop it? Dave ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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
