> I working on Montavista based ucd-snmp 4.2.6 on mips 5 processor > (embedded system)
It's probably worth mentioning that the UCD line is no longer under active development - all future work will concentrate on the Net-SNMP v5 line. That doesn't mean you can't continue to use it, of course - but any significant flaws are unlikely to be addressed unless you can identify similar problems in the v5 line. > I failed to run 'mib2c atmMIB' ... > [but] was able to run snmptranslate -Tp -IR atmMIB How are you instructing the suite to load this MIB? There are at least four methods for doing this: - the MIBS environment variable - the '-m' command line option (snmptranslate only) - the 'mibs' configuration directive (which belongs in 'snmp.conf', *not* 'snmpd.conf') - referring to the object as ATM-MIB::atmMIB The -m option isn't supported by mib2c, but it's probably worth trying each of others in turn. > I prepared shared object and load it successfully using dlmod node > (I open debug level and saw the load was successful) In general, I'd tend to suggest compiling modules directly into the agent during development, rather than using dynamic loading (or subagents). It takes one level of complications out of the equation. But if you're confident that the module has been loaded successfully, then it's probably OK to work that way. > When I tried to make > > Snmpget -v 2c/1 -c public localhost <scalar val> > I get no such name error. > > When I try the walk command I get: > > atmMIB.1.8.0 = 1 > atmMIB.1.13.0 = 1 (Instead of getting the full strings) That feels like two different issues. Displaying 'atmMIB.1' is related to which MIB modules are loaded by the snmpwalk command - try running it as "snmpwalk -m +ATM-MIB ..." But that won't affect what objects are implemented by the agent, or why snmpget is failing. What's the exact command that you're running, and the precise error that's displayed? Unless it's that 'snmpget' is getting confused, and isn't actually sending the request in the first place. What happens if you try the same request with the equivalent numeric OID? Or supplying the '-d' option - do you see anything being sent? Dave ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders