Solved! A reference to the head of my linked list was missing in my
*_get_first_data_point function.
Thanks for the help,
Alejandro
On Thu, Apr 17, 2008 at 2:16 PM, Alejandro Islas <[EMAIL PROTECTED]>
wrote:
> Ok...using gdb I found where my code crashes. In the handler function that
> foll
Ok...using gdb I found where my code crashes. In the handler function that
follows
MonThreadsTable_handler(
netsnmp_mib_handler *handler,
netsnmp_handler_registration *reginfo,
netsnmp_agent_request_info*reqinfo,
netsnmp_request_info *request
On Thu, Apr 17, 2008 at 3:47 AM, Dave Shield <[EMAIL PROTECTED]>
wrote:
> On 17/04/2008, Alejandro Islas <[EMAIL PROTECTED]> wrote:
> > I tried to use mib2c.container.conf file but mib2c
> > wasn't able to found it
>
> Hmmm... what version of the toolkit are you using?
> mib2c.container.conf has b
On 17/04/2008, Alejandro Islas <[EMAIL PROTECTED]> wrote:
> I tried to use mib2c.container.conf file but mib2c
> wasn't able to found it
Hmmm... what version of the toolkit are you using?
mib2c.container.conf has been around since the 5.2 release
(although the internals have changed significantly
Hi Dave, sorry for answering so late, I'd to do something else. I'm still
having the same problem.I tried to use mib2c.container.conf file but mib2c
wasn't able to found it,so I continue using interate.conf. I have some
questions.
1)After using mib2c my .c file only contains create/remove entries
f
On 16/04/2008, Alejandro Islas <[EMAIL PROTECTED]> wrote:
> I'm kind of new to linux programming so could you please recommend
> me a debugger
See http://www.net-snmp.org/wiki/index.php?title=Debugger
> I used the mib2c.iterate.conf mib2c file to generate the code.
> Is this the best configurati
Thanks for the info Dave, I did the GET requests with the same results. I'm
kind of new to linux programming so could you please recommend me a
debugger, could Eclipse help me??? Another question, I used the
mib2c.iterate.conf mib2c file to generate the code. Is this the best
configuration file to
On 16/04/2008, Alejandro Islas <[EMAIL PROTECTED]> wrote:
> But when I try to read a table..the snmpd deamon crashes.
> Could anyone give me an idea of where to
> start to lookaround???
One thing would be to identify exactly what triggers the crash.
Does it fail on a GETNEXT of the first entry?
On