On Wed, 2005-06-22 at 10:00 -0400, Vance Shipley wrote:
> On Tue, Jun 21, 2005 at 06:06:30PM -0400, Robert Story wrote:
> }  On Tue, 21 Jun 2005 17:53:46 -0400 Vance wrote:
> }  VS> I've built an agent which seesm to work fine for my MIBs
> }  VS> however it doesn't respond to system group requests.  


> My initialization calls:
> 
>       init_agent(SNMP_AGENT_NAME)
>       init_probe_mib_code()             /*  my mibs  */
>       init_snmp(SNMP_AGENT_NAME)
>       init_master_agent()
> 
> I must be missing a step which initializes the system MIBs.

Spot on.
You've omitted the call to 'init_mib_modules();'
which initialises the main bulk of the MIB modules.

Or you can call selected MIB module initialisation functions
yourself (rather than the whole lot).  But if you don't
call the initialisation routines, then the corresponding
MIB modules won't be reported.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to