Re: snmp API: read_objid should not return an error in the case

"Richard Horton" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/7/18 Alexander Bubnov <[email protected]>:
> I am learning snmp API by tutorials
> (http://net-snmp.sourceforge.net/wiki/index.php/Tutorials). One of
> them prints an error in place where is no one as I suppose,
> http://net-snmp.sourceforge.net/wiki/index.php/TUT:Simple_Async_Application
>

Might be stating the obvious but ensure that the MIBS and MIBDIR
environment variables are setup, for testing use MIBS=ALL - makes life
simpler than wondering what's loaded and what isn't...

Have a look at the snmptranslate documentation and use it to check
what mibs are loaded (hint: call snmptranslate with the flags to
translate names to OID and pass it the name of the object you are
trying to get.).




-- 
Richard Horton
Users are like a virus: Each causing a thousand tiny crises until the
host finally dies.
http://www.solstans.co.uk - Solstans Japanese Bobtails and Norwegian Forest Cats
http://www.pbase.com/arimus - My online photogallery

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.