Re: net-snmp error

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 04/12/06, Lakshmi <[email protected]> wrote:
> snmpget cannot find the mibs and i am getting warning messages as follows.
> Kindly let me know how to overcome this issue.
>
> testbed.com$ ./snmpget -t 0 -v 3 -u user1 -l authNoPriv -a MD5 8.8.8.1
> 1.3.6.1.2.1.1.3.0
> Cannot find module (IP-MIB): At line 0 in (none)
>  Cannot find module (IF-MIB): At line 0 in (none)
   [snip]

Please see the FAQ entry:

What does "Cannot find module (XXX-MIB)" mean?
---------------------------------------------

    If this error is only generated for one or two modules, then it's
  likely that the named modules are not being found - perhaps they're
  not installed in the correct location, are not readable, or the
  name being used is incorrect.  Note that the name reported is the
  name of the MIB module, which is not necessarily the same as the
  name of the file. See the question 'How do I add a MIB to the tools?'
  for more details on this.

    If there are a large number of such errors, then it's more likely
  that either the MIB files haven't been installed at all, or the
  library is looking in the wrong place for them.
    Try running "snmptranslate -Dparse-mibs" to see where the MIB files
  are expected to be found.




> Also if i give sysUpTime.0 instead of its OID it is giving me the following
> error
>
> sysUpTime.0: Unknown Object Identifier (Sub-id not found: (top) ->
> sysUpTime)

If the command is not able to load the MIB files, then it won't be able
to understand MIB object names.  That's the primary purpose of the
MIB files.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.