Re: Can't send SNMPv3 Traps from C Program

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <15089.212.162.211.211.1186504034.QFIUQm5cTkF4Qh0R.squirrel@212.162.211.211>
David,

Thank you for confirming that I have been using the correct library
function calls, your help is very much appreciated.  Now that I know I am
using the correct functions I have managed to work out how to turn on some
of the debugging and located an area of code that is causing problems.

An error is being logged > ‘snmpd: send_trap: USM unknown security name
(no such user exists)’, this is raised because net-snmp calls a function
called usm_get_user and there are no users listed in the puserList 
variable used in snmpusm.c

Where should users be configured, I thought that when sending traps, 
users only need to be configured on the trap sink so why does the net-snmp
library try to look up the user in this list?

Darryl




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