Hi,

I am able to receive SNMPv3 traps after setting the
trapsess parameters correctly(particularly the port
number 162) by seeing an earlier answered query for
another developer.

Now I have another concern. When the passphrase is
wrongly entered in the snmpd.conf (not the same as
configured in snmptrapd.conf), the agent sends the 
trap and the snmptrapd complains of authentication
failure but still receives the trap.

The following is displayed in snmptrapd console and
the trap is also getting displayed below this:

usm: USM processing begun...
usm: Verification failed.
Authentication failed for myuser

I doubt if it is the correct way. Can you pl. tell me
if I am missing out anything here ??
When the user itself is wrong in snmpd.conf (other
than the one in the snmptrapd.conf), the agent doesn't
send the trap atall.

Thanks,
Malliga


--- Dave Shield <[EMAIL PROTECTED]> wrote:

> MM> I am now looking forward to generate SNMPv3 trap
> from
> MM> the agent code
> 
> RS> If you configured a 'trapsess',
> RS> I'd expect that send_v2trap() would suffice.
> 
> That's correct.
> The 'v2trap' refers to the structure of the request
> as it's passed to
> the agent (i.e. an SNMPv2 inform-type PDU).   This
> does *not* affect
> the SNMP version used to actually send it.  That's
> purely controlled
> by the "trapsink" or similar directives.
> 
> So if you've got a "trapsess" entry set up to use
> SNMPv3, then
> *all* traps sent by the agent will be SNMPv3 traps -
> regardless
> of the call that triggers sending it.
> 
> Dave
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.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

Reply via email to