Re: Sending SNMPV3 Trap from C code

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 26/07/07, Reza Salehi <[email protected]> wrote:
> I am using  send_v2trap(notification-var) for sending V2 trap inside my
> C code.
> I want to send Traps in V3 protocol.
>
> I would appreciate it if you could tell me what command I should use?

Use the same code, but configure an SNMPv3 destination using
"trapsess" in your snmpd.conf file.


> or If there any examples or documents in this matter.

See the 'snmpd.conf(5)' man page,
and the wiki page
   http://www.net-snmp.org/wiki/index.php/TUT:snmptrap_SNMPv3

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.