It seems that I have to specify the engineID now. I replaced the line
with

Trapsess -e <engineID> -v3 -lauthNoPriv -uuser3 -aMD5 -Apassword3 <trap
dest>

where the engineID is extracted from /var/net-snmp/snmpd.conf. Now
everything works. I don't have to do this before.

Thanks,
Stephen

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Saturday, February 17, 2007 1:45 PM
To: Stephen Yu
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Net-snmp 5.3.1 trouble sending v3 trap

On 15/02/07, Stephen Yu <[EMAIL PROTECTED]> wrote:
> I am using net-snmp 5.3.1. The agent cannot send out v3 trap.
> Using '-Lf /tmp/snmp.out', it shows entries:
>
> Snmpd: send_trap: USM unknown security name (no such user exists)
>
> My snmpd.conf:
>
> trapsess -v3 -lauthNoPriv -uuser3 -aMD5 -Apassword3 <trap destination>

> rouser user3 auth
>
> I looked at /var/net-snmp/snmpd.conf. It seems that user is created
there.

The most likely cause is that the user "user3" isn't being created
correctly.
What is the relevant entry in the  /var/net-snmp/snmpd.conf file?

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to