Hi Dave,

I couldn't spend much time to debug the scenario.

Now I would like to have some information regarding SNMPv3 traps.  
As you suggested earlier, I have experimented with sending SNMPv3 traps
manually using "snmptrap" and receive the same using 'snmptrapd'

I have referred the below link for the configuration of 'snmptrapd' to
receive SNMPv3 traps
Reference:
http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmptrap_SNMPv3

Steps done: 
1. Added the below entry in /var/net-snmp/snmptrapd.conf file
        createUser -e 0x0102030405 myuser MD5 mypassword DES
myotherpassword
2. Started 'snmptrapd -f -D'
3. Executed snmptrap -e 0x0102030405 -v 3 -u myuser -a MD5 -A mypassword
-l authNoPriv localhost 42 coldStart.0

It seems snmptrapd received the message. But there is some problem
regarding the authorization. 
The received message is not logged into the syslog file. And also the
message "snmptrapd:auth: result: not authorized" is getting in syslog
file. 

I am not sure whether my configuration is enough or not. 
Can you please support to configure the system to send and receive
SNMPv3 traps?

thank you,
renjith

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Wednesday, October 20, 2010 7:03 PM
To: Renjith R. V.
Cc: [email protected]
Subject: Re: how to identify variable 'type' and 'value' from pdu
structure

On 20 October 2010 14:06, Renjith R. V. <[email protected]>
wrote:
> Can you please tell me how we can identify the actual error happening
> in snmp_send()? Which API to be used for logging?

<Sigh>
Sorry - Ignore me, I'm rambling again.

I've now taken a proper look at the 'snmp_error' API,
and finally understand what you're doing here.

I'm afraid that I've no idea what might be going wrong here.
All I can suggest is that you try running the application under
a debugger, and step through it manually, to see what's
actually happening.

Other than that, I'm out of ideas.  Sorry.

Dave
***** Confidentiality Statement/Disclaimer *****

This message and any attachments is intended for the sole use of the intended 
recipient. It may contain confidential information. Any unauthorized use, 
dissemination or modification is strictly prohibited. If you are not the 
intended recipient, please notify the sender immediately then delete it from 
all your systems, and do not copy, use or print. Internet communications are 
not secure and it is the responsibility of the recipient to make sure that it 
is virus/malicious code exempt.
The company/sender cannot be responsible for any unauthorized alterations or 
modifications made to the contents. If you require any form of confirmation of 
the contents, please contact the company/sender. The company/sender is not 
liable for any errors or omissions in the content of this message.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to