On 11/01/2008, Alejandro Islas <[EMAIL PROTECTED]> wrote:
> Hi, I have a problem trying to dinamically load a private mib into
>  NET-SNMP version 5.2.1.2.

>  -I used the dlmod token to include both my modules name and the full
>  pathname.
>  However, after re launching the agent, if I used the snmpwalk command I
>  noticed that my mib wasn't loaded and of course if I specifically ask
>  for one of my mib variables,I receive an END OF MIB response.

I'd suggest that you start by compiling your module into the agent directly
(i.e. not using dlmod), and make sure that it works correctly that way first.
Once you've confirmed that the module is working, *then* try via dlmod.
The same module code should work unchanged, regardless of the
way the module is loaded.

It's always worth simplifying the framework as much as possible
when debugging a problem.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to