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

Re: Memory leak in agent code using mfd

2007-07-04 Thread Robert Story
On Mon, 2 Jul 2007 17:37:27 +0100 Graeme wrote: GW> Ok, as per my previous email, I've been looking at a table which uses GW> row-creation, and this is causing a couple of problems - although this GW> could be related to my implementation because I'm a little unsure about GW> a couple of things. M

RE: Memory leak in agent code using mfd

2007-07-02 Thread Graeme Wilson
007 11:13 > To: Robert Story > Cc: [email protected] > Subject: RE: Memory leak in agent code using mfd > > > RS> Ugh. The iterator style mfd code is the least tested aspect of > > RS> this code. > > Oh well, I guess someone has to be the g

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: [email protected] > 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-06-28 Thread Robert Story
On Thu, 28 Jun 2007 16:46:09 +0100 Graeme wrote: GW> ==12187==by 0x8049EF0: _loop_get_first GW> (_data_access.c:213) GW> ==12187==by 0x804C222: __loop_get_first_wrapper GW> (_interface.c:753) Ugh. The iterator style mfd code is the least tested aspect of this code. I've just run through i

Memory leak in agent code using mfd

2007-06-28 Thread Graeme Wilson
Hi, I'm having some problems with a memory leak in my agent code - the template for which generated using the mfd config. I would appreciate any help to solve this problem since its now becoming a serious issue for me. I have run the code through valgrind and observe the following dur

Re: Agent Code

2005-03-16 Thread Robert Story
On 7 Mar 2005 15:56:09 - Jude wrote: JAAP> First i configured using JAAP> JAAP> --with-mib-modules="examples/notification" JAAP> JAAP> so i get the notification trap being sent every 30 seconds. Now i JAAP> am trying to configure with JAAP> JAAP> --with-mib-modules=myProjFile JAAP> JAAP> T

Re: Re: Agent Code

2005-03-08 Thread Jude Amal Anand P
thanx for your help. Now i've got another problem. First i configured using --with-mib-modules="examples/notification" so i get the notification trap being sent every 30 seconds. Now i am trying to configure with --with-mib-modules=myProjFile This myProjFile also sends traps once the agent is Sta

Re: Agent Code

2005-02-25 Thread Robert Story
On 24 Feb 2005 09:31:50 - Jude wrote: JAAP> 1. How do i start it.? What is the command to start my Agent JAAP> alone. How do i stop the other agent processes. The procedure for stopping the agent varies by platform. For example, on some Linux systems it is 'service snmpd stop'. But on any sys

Agent Code

2005-02-25 Thread Jude Amal Anand P
Hi all, I have Created a MIB to send notification to the manager. I have also created the AGENT code (.c and .h) files. I have placed them in the "Agent /Mibgroup " directory and configured using the "-with-mib-modules" giving the name of the file as input. Now i need t