RE: Problem with dynamic row creation and free inside the table.

2007-08-24 Thread Graeme Wilson
Hi, Not sure if you ever found a solution/workaround to this, but I had a similar problem a while ago (with the free functions not getting called correctly, or getting called too many times) - and posted a email or 2 on the list as well - I suspect there is a bug. In the end I moved to using the

RE: Newbie question: writing a simple agent

2007-08-10 Thread Graeme Wilson
Debug tokens -Dagent,handler. G -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 09 August 2007 18:35 To: Graeme Wilson Cc: net-snmp-users@lists.sourceforge.net Subject: RE: Newbie question: writing a simple agent Hello, I tried even a specific OID

RE: Newbie question: writing a simple agent

2007-08-09 Thread Graeme Wilson
To: Graeme Wilson Cc: net-snmp-users@lists.sourceforge.net Subject: RE: Newbie question: writing a simple agent Hello Graeme, sorry for bothering you again. I have tried to merge your code with MFD code. I am obviously doing something wrong. When I run snmpwalk on the agent I can see

RE: Newbie question: writing a simple agent

2007-08-09 Thread Graeme Wilson
you turning the Debug on for more trace messages. I'll keep thinking and get back to you with any other suggestions. Cheers G -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 09 August 2007 16:09 To: Graeme Wilson Cc: net-snmp-users@lists.sourceforge.net

RE: Newbie question: writing a simple agent

2007-08-08 Thread Graeme Wilson
Hi, I have done something similar recently (I provide some sample code below - but note that ultimately everything is still done within the agent). My Agent simply registers the root OID of the MIB it will handle and some other function knows all about the data and the specific OIDs that the

RE: Newbie question: writing a simple agent

2007-08-08 Thread Graeme Wilson
etc Cheers Graeme -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 08 August 2007 14:47 To: Graeme Wilson Cc: net-snmp-users@lists.sourceforge.net Subject: RE: Newbie question: writing a simple agent Hello Graeme, I went through your code

Table Iterator Helper

2007-06-21 Thread Graeme Wilson
during the get_first/get_next iterators. However if a get for 2 OIDs is made in a single snmpget request (e.g. snmpget oid1 oid2) then the free function seems to get called twice for each oid being queried - this generally causes a crash. Could this be a bug in the helper? Many Thanks Graeme