net-snmp on VxWorks

2006-01-23 Thread Graeme Wilson
information on this would be much appreciated. Many Thanks Graeme Wilson --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as

net-snmp on SUSE/RedHat

2006-01-31 Thread Graeme Wilson
rnels 2.6 to 1.3) ... ". Can anyone report if it works in full on these OS's or what parts do not work fully.   Many Thanks Graeme Wilson

RE: net-snmp on SUSE/RedHat

2006-01-31 Thread Graeme Wilson
That's good enough for me. Many thanks for that. Graeme. > -Original Message- > From: Thomas Anders [mailto:[EMAIL PROTECTED] > Sent: 31 January 2006 16:40 > To: Graeme Wilson > Cc: net-snmp-coders@lists.sourceforge.net > Subject: Re: net-snmp on SUSE/RedHat &

mib2c mfd tutorial

2006-03-27 Thread Graeme Wilson
Hi, I am using net-snmp 5.3.0.1 (on Suse 8.2) and I need to write a sub-agent to implement a table.  I'm new to snmp so as a starting point I tried following the tutorial on the web for the mib2c mfd (for the ifTable). However when I generated the code using mib2c (mib2c -c mib2c.mfd.conf if

add multiple rows with 1 set - crash

2006-07-13 Thread Graeme Wilson
Hi, I have implemented a table in a MIB which works fine if I insert 1 row but crashes my sub-agent if I try to insert 2 rows at once. I guess this could be either:   a) a bug   b) my fault - maybe I need to do something in my code to handle multiple row insertion   c) not a bug, but is a

RE: add multiple rows with 1 set - crash

2006-07-17 Thread Graeme Wilson
. > -Original Message- > From: Wes Hardaker [mailto:[EMAIL PROTECTED] > Sent: 13 July 2006 18:11 > To: Graeme Wilson > Cc: net-snmp-coders@lists.sourceforge.net > Subject: Re: add multiple rows with 1 set - crash > > >>>>> On Thu, 13 Jul 2006 14:07:14 +0100, &quo

RE: add multiple rows with 1 set - crash

2006-08-01 Thread Graeme Wilson
ilto:[EMAIL PROTECTED] > Sent: 27 July 2006 17:23 > To: Robert Story > Cc: net-snmp-coders@lists.sourceforge.net; Graeme Wilson > Subject: Re: add multiple rows with 1 set - crash > > On Thu, 27 Jul 2006 11:57:00 -0400 Robert wrote: > RS> The trace you sent was indeed helpful.

RE: add multiple rows with 1 set - crash

2006-08-04 Thread Graeme Wilson
n I execute the snmpset commands above. Thanks for your help Regards Graeme. > -----Original Message- > From: Robert Story [mailto:[EMAIL PROTECTED] > Sent: 02 August 2006 12:57 > To: Graeme Wilson > Cc: net-snmp-coders@lists.sourceforge.net > Subject: Re: add multiple

RE: add multiple rows with 1 set - crash

2006-08-24 Thread Graeme Wilson
Hi Robert, I just wondered if you were any closer to a solution for this problem - or maybe you need more debug from me to help you out. Many thanks Graeme. > -Original Message- > From: Robert Story [mailto:[EMAIL PROTECTED] > Sent: 04 August 2006 20:32 > To: Graeme Wils

RE: add multiple rows with 1 set - crash

2006-09-07 Thread Graeme Wilson
ber 2006 17:42 > To: Graeme Wilson > Cc: net-snmp-coders@lists.sourceforge.net > Subject: Re: add multiple rows with 1 set - crash > > On Thu, 24 Aug 2006 11:34:44 +0100 Graeme wrote: > GW> I just wondered if you were any closer to a solution for this > GW> problem - or may

Table iterator - data protection

2006-09-20 Thread Graeme Wilson
Hi, I've used 'mib2c -c mib2c.iterate.conf' to generate some template code for my table. My data is not held by the agent its self - which was my reasoning for using the iterate config.   The code all works fine, however, I need to protect the data to prevent the agent performing reads on

RE: Table iterator - data protection

2006-09-20 Thread Graeme Wilson
7;xxx_get_next' and the start of 'xxx_table_handler') - or have I missunderstood something? Thanks Graeme. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Robert Story > Sent: 20 September 2006 15:05 > To: Graem

RE: Table iterator - data protection

2006-09-22 Thread Graeme Wilson
1 September 2006 14:19 > To: Dave Shield > Cc: net-snmp-coders@lists.sourceforge.net; Graeme Wilson > Subject: Re: Table iterator - data protection > > On Thu, 21 Sep 2006 09:43:24 +0100 Dave wrote: > DS> What the handler needs is "some way" of retrieving the data f

RE: add multiple rows with 1 set - crash

2006-10-09 Thread Graeme Wilson
raeme. > > > > -Original Message- > > From: Robert Story [mailto:[EMAIL PROTECTED] > > Sent: 04 August 2006 20:32 > > To: Graeme Wilson > > Cc: net-snmp-coders@lists.sourceforge.net > > Subject: Re: add multiple rows with 1 set - crash > > > &

RE: add multiple rows with 1 set - crash

2006-10-11 Thread Graeme Wilson
>prev == saved_requests[i-1]); + saved_requests[i]->prev = NULL; +} } saved_requests[i] = NULL; > -Original Message- > From: Robert Story [mailto:[EMAIL PROTECTED] > Sent: 10 October 2006 17:58 > Cc: net-snmp-coders@lists.sourceforge.net; Graeme W

RE: Question regarding the Iterator method

2006-12-20 Thread Graeme Wilson
> I plan to use a simple mutex to avoid the linked list to be > read/written > at the same time. The application won't be under a heavy load so this > isn't a critical point imo. > > Olivier B. > Oliver, Where do you plan on locking/unlocking the mutex in the subagent code? The obvious place

RE: Question regarding the Iterator method

2006-12-20 Thread Graeme Wilson
to take a new copy or not. Cheers Graeme. > -Original Message- > From: Olivier Beytrison [mailto:[EMAIL PROTECTED] > Sent: 20 December 2006 10:17 > To: Graeme Wilson > Cc: net-snmp-coders@lists.sourceforge.net > Subject: Re: Question regarding the Iterator method >

Table iterator implementation problems

2007-04-19 Thread Graeme Wilson
ion to free my data allocated during the get_first/get_next iterators. However, if I perform a get for 2 oids in a single get (snmpget -v2c . ) then the free function seems to get called twice for each of the oids I am querying. I suspect this is a bug? I am currently using Net-SNMP

Memory leak in agent code using mfd

2007-06-28 Thread Graeme Wilson
help do any debugging, provide code extracts etc. to try and find the cause of the problem. I've tried several versions of Net-SNMP and found the same problem in each one - including the 5.4.1-pre3. Cheers Graeme Wilson ---

RE: Memory leak in agent code using mfd

2007-07-02 Thread Graeme Wilson
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Robert Story > Sent: 28 June 2007 18:34 > To: Graeme Wilson > Cc: net-snmp-coders@lists.sourceforge.net > Subject: Re: Memory leak in agent code using mfd > > On Thu, 28 Jun 2007 16:46:09 +0100 Grae

RE: Memory leak in agent code using mfd

2007-07-02 Thread Graeme Wilson
er than return an error. Do I need to implement this check somewhere - or should the net-snmp code handle this and return the error? Cheers Graeme > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Graeme Wilson > Sent: 02 July 2

RE: Memory leak in agent code using mfd

2007-07-05 Thread Graeme Wilson
> GW> In the iterator irreversible_commit > "CONTAINER_REMOVE" call > GW> am I responsible for the container - > "_if_ctx.container" or > GW> is this an internal thing to Net-SNMP? > > RS> That container is the 'iterator container' that is used to > RS> iterate over your data. > > RS> So, un