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.  
}  
}  It should, unless you configured with --enable-mini-agent, or explicitly
}  excluded some modules. Or your access control settings are excluding them.

I didn't add any configure options when I built netsnmp.
I haven't tried to exclude any modules.
No changes have been made to access controls.

It appears the MIBs are not beinging registered:

$ ./foo_agent -Dregister_mib -s master
register_mib: registering "" at .0
register_mib: registering "" at .0
register_mib: registering "" at .1
register_mib: registering "" at .2
register_mib: registering "" at .1
register_mib: registering "" at .2
register_mib: registering "probeID" at iso.3.6.1.4.1.19862.4.10.1.1.1.0
register_mib: registering "probeSpanConfigTable" at 
iso.3.6.1.4.1.19862.4.10.1.1.2
register_mib: registering "probeChanConfigTable" at 
iso.3.6.1.4.1.19862.4.10.1.1.3


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.

        -Vance



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to