On 26/07/07, Reza Salehi <[EMAIL PROTECTED]> wrote:
> I am using send_v2trap() func. is there any example or sample code or
> document to how send a Trap using V3 protocol?
If you are using 'send_v2trap', then presumably this is sending a trap
from within the agent?
You do not need to change the code at all, in order to generate SNMPv3
notifications. Remember that the version, destination and administrative
settings of outgoing traps are *totally* controlled by the snmpd.conf file.
It doesn't matter whether you use 'send_v2trap' or 'send_easy_trap' - the
results are the same.
Please see the FAQ entry
How can I get the agent to send an SNMPv3 trap (or inform)?
http://www.net-snmp.org/wiki/index.php/FAQ:Coding_19
Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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