Re: unregister_mib fails
Pal Saint <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAJX137pLOJx+HjWnSH53z_k16oF02cBcCzrgQXg17Yf6j4s_gg@mail.gmail.com> |
>I'd say the easiest way forward is to convert to a handler-based table. Thanks Magnus. Could you explain a little bit more on how to do this? Perhaps with an example. Thanks. On Tue, Mar 19, 2013 at 2:09 PM, Magnus Fromreide <[email protected]>wrote: > On Tue, 2013-03-19 at 10:20 -0700, Pal Saint wrote: > > The problem I mentioned was noticed even with UCD-DLMOD registration > > and unregistration code (agent/mibgroup/ucd-snmp/dlmod.c). > > > > > > Here is the example code I compiled and was able to reproduce on my > > Linux 2.6.32 (64bit). > > I am using net-snmp-5.7.2. > > > Thanks. This made me understand the problem. In effect it seems old_api > can't be unregistered, and since it can't be unregistered it cant be > unloaded from dlmod since unloading it would result in the master > crashing when it tries to access the code that should be there but > isn't. > > I'd say the easiest way forward is to convert to a handler-based table. > > It should be possible to write an unregister-old function that takes the > same array as REGISTER_MIB, iterates over it and builds the same oid's > and then unregisters them but it seems nobody have done that yet. > > /MF > > > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ 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