On Thu, 2006-01-19 at 23:03 +0530, [EMAIL PROTECTED] wrote:
> HI All,
>    I implemented few MIB not standard MIBs i did ./configure
> --prefix=/home/user1 --with-out-mib-modules="mibII/system_mib
> mibII/client mibII/subaget"

Eh?
Those last two modules don't exist!

>  --with-mib-modules="module1 module2 module3"
> 
> After i start the agent only module1 and module3 are getting
> initialized other module is not getting initialized. If i am not wrong
> when ./configure is done it writed this data into mib_modules_inits.h
> file and it included the modules in this file.

That's certainly how things are meant to work.


>  In this case module2 is present in this file

What *exactly* is present in this file?


>  but still it is not getting initialized. What could be the problem.

Is the routine 'init_module2' getting called or not?
Try putting debugging statements in it, or run the agent
under a debugger and set a breakpoint in this routine.

If it does get called, then there's probably something wrong
with the contents.  If it doesn't, then try configuring a
"standard" agent (i.e. with all the normal MIB modules),
and *just* your module2.
   Start with as normal a setup as possible, get things
working with that - then gradually move towards your desired
configuration.

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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