On 22 April 2011 01:14, sunaina mangla <sunaina.man...@gmail.com> 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to