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



-------------------------------------------------------
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-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