2009/6/12 Joan Landry <[email protected]>:
> When I run the master agent internally via init_master_agent(); I get
> nothing for the default mibs - the master agent in this case does not
> respond with any data for the objects in these tables. As if there are
> no handlers being invoked.
Are these modules actually being registered?
Try turning on debugging, and see if the per-module initialisation
code is being called.
> I have tried numerous things such as calling mib_init() and nothing
> works.
I'm sorry, but that's not really a lot of help.
"tried various things" is so vague as to be useless.
We'd need to know the *exact* initialisation code that you're using.
I'd suggest you start with the core of the snmpd.c main() routine,
namely:
init_agent()
init_mib_modules()
init_snmp()
init_master_agent()
and work from there.
Dave
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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