SNMPv3 support in SNMP trap daemon software

2010-07-19 Thread Gaurav Chaturvedi
Hi, I am developing a SNMP trap daemon (snmptd) using net-snmp library. I have successfully developed the software for SNMP v1 and v2, but I am unable to code it correctly for v3 traps. snmptd is able to receive the traps from agent, but the callback is not called after receiving the trap. Someon

RE: EXTERNAL:Re: Subagent example code timeout on Win32

2010-07-19 Thread Van Dyke, Evan (ES)
Bingo. It looks like the call to f_send in _snmp_async_send() in snmp_api.c is failing. I added a debug message in the if(result < 0) check (see below), and f_send is returning -1. The callback looks like it is only queued for processing if the f_send succeeds. For some reason, our Firewa

RE: EXTERNAL:Re: Subagent example code timeout on Win32

2010-07-19 Thread Van Dyke, Evan (ES)
I do, indeed, have those in my snmpd.conf. If you take a look at the logs, you'll see that the request does seem to be getting to the sub-agent, according to its output. I copied the delayed_instance handler out of the tutorials and set a breakpoint in it: it isn't getting called. I'm not sure

Re: Subagent example code timeout on Win32

2010-07-19 Thread Bart Van Assche
On Mon, Jul 19, 2010 at 5:16 PM, Van Dyke, Evan (ES) wrote: > My apologies if this has been discussed before, but I couldn’t find it in > a quick search of the archives. > > I am trying to build the sub-agent example on the NetSNMP Wiki on a Win32 > system. I am currently using the NetSNMP v5.5

Re: Subagent example code timeout on Win32

2010-07-19 Thread Bart Van Assche
On Mon, Jul 19, 2010 at 5:16 PM, Van Dyke, Evan (ES) wrote: > My apologies if this has been discussed before, but I couldn’t find it in > a quick search of the archives. > > I am trying to build the sub-agent example on the NetSNMP Wiki on a Win32 > system. I am currently using the NetSNMP v5.5

Subagent example code timeout on Win32

2010-07-19 Thread Van Dyke, Evan (ES)
My apologies if this has been discussed before, but I couldn't find it in a quick search of the archives. I am trying to build the sub-agent example on the NetSNMP Wiki on a Win32 system. I am currently using the NetSNMP v5.5 binary distribution for Win32. After some judicious searching and d

Re: mfd - problems with container_load

2010-07-19 Thread Martin Townsend
On 19/07/2010 15:19, Martin Townsend wrote: > Hi, > > I'm currently creating a test agent using my own mib. I have > implemented all the scalar values using mib2c and then int-watch > configuration file. The problem I have is with a table. > mib2c.mfd.conf was used to create the files. I hav

mfd - problems with container_load

2010-07-19 Thread Martin Townsend
Hi, I'm currently creating a test agent using my own mib. I have implemented all the scalar values using mib2c and then int-watch configuration file. The problem I have is with a table. mib2c.mfd.conf was used to create the files. I have implemented the data access routines but I can't see

RE: Using -Z option with snmpget command

2010-07-19 Thread Lewis Adam-VNQM87
I tried both the -e and -E options (in addition to the -Z option) and the result is the same: A noAuthNoPriv request will cause just the reply to the request to be generated. A authNoPriv/authPriv request will cause an additional exchange where the agent (correctly) first sends usmStatsNotInTim

Re: Help required wrt configuring serverRecvBuf parameter

2010-07-19 Thread Trupti V.Kulkarni
Hi Wes, Thank you for your reply. Is there any way I can find the current value of 'serverRecvBuf' variable? Also, I guess I can set the value based on the machine's RAM? In that case, I'd like to know how can I find its current value. Thanks, Trupti On 15 July 2010 19:50, Wes Hardaker wrote: