Thanks Dave, I can see I have shutdown_xxx name is different that of init_xxx name. I guess that would be culprit.
I will change it and let you know if it works. I am quite hopefull it will work. Thanks a lot. Regards, Sunaina On Mon, Apr 25, 2011 at 10:54 AM, Dave Shield <[email protected]> wrote: > On 22 April 2011 01:14, sunaina mangla <[email protected]> wrote: >> .... Do I >> need to handle the SIGINT ? or net-snmp automaticlly handles it > > The agent handles this signal, and will automatically shut down. > Any MIB modules with a 'shutdown_xxx' routine will invoke this > as part of the closedown. > Otherwise, all memory will be released anyway when the agent > process exits. > > >> why my "shutdown_xxxTable" function is not getting called ? > > I can't comment on MfD-based code, but how are you loading the > module? Via the config file, or via SET requests? > What is the exact command/config line that you are using? > > The 'shutdown_xxx' name would need to match the name that > you are using for loading the module. A mismatch there is > the most likely reason that the shutdown routine isn't being invoked. > > Dave > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
