> > OIDs. But the 'unregister_mib' function returns
> with :
> > MIB_NO_SUCH_REGISTRATION
>
> The register and unregister calls must match
> *exactly*
> (including the root OID, priority, context, etc)
Yes. I found out that the priority was different!
thanks!
My sub agents are a mix of 4.x code
On Tue, 2005-07-05 at 04:47 -0700, Ajit Bhat wrote:
> Now when I try to unload the lib, I call a shutdown
> function which has 'unregister_mib' for all the above
> OIDs. But the 'unregister_mib' function returns with :
> MIB_NO_SUCH_REGISTRATION
The register and unregister calls must match *exactl
thanks for the help.
I have one more problem. I'm loading the lib and the
init function does register for lot of tables/scalars.
At this point I can snmpget/walk the MIB.
Now when I try to unload the lib, I call a shutdown
function which has 'unregister_mib' for all the above
OIDs. But the 'unre
On Tue, 7 Jun 2005 00:28:27 -0700 (PDT) Ajit wrote:
AB> How can I do this? The ucd_snmp/dlopen is a way. But I
AB> don't want to dlopen each table/scalar group in that
AB> way.
Group them together and have one init that calls the other inits.
--
NOTE: messages sent directly to me, instead of the
Hi all,
I have a MIB implemented which have many tables and
scalar groups. I don't want this to be part of
libnetsnmpmibs. But have a separate library. And load
this library when a request comes in for this MIB.
How can I do this? The ucd_snmp/dlopen is a way. But I
don't want to dlopen each tabl