Re: snmpwalk problem: something wrong with a MIB?

Bill Fenner <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAF4SogYongtfp37qMpL_qFnvuVuxgzFx-WgUgBBGTEDQsKGjFQ@mail.gmail.com>
On Thu, Jul 19, 2012 at 6:56 PM, Alexander Shikoff
<[email protected]> wrote:
> Hello!
>
> I have a strange problem with snmpwalk:
>
> # snmpwalk -v2c -c public -M/data/noc/mrtg/MIBs/DLink -mDES-1210-28P_Ax 10.255.0.32 enterprises.171.10.75.6.22.1.1.10.1.17
> MIB search path: /data/noc/mrtg/MIBs/DLink
> Cannot find module (DES-1210-28P_Ax): At line 0 in (none)
> enterprises.171.10.75.6.22.1.1.10.1.17: Unknown Object Identifier (Sub-id not found: (top) -> enterprises)
>
> But the module is present, file is readable:
>
> # ls -l /data/noc/mrtg/MIBs/DLink
> total 272
> -rw-r--r--  1 root  wheel  260009 11 фев  2011 DES-1210-28P_A1_v2.00.001.mib
>
> # grep DES-1210-28P_Ax /data/noc/mrtg/MIBs/DLink/DES-1210-28P_A1_v2.00.001.mib
>         DES-1210-28P_Ax DEFINITIONS ::= BEGIN
>
> What may be wrong?
> Any help is kindly appreciated! Thanks in advance.

Try using "-IR" to allow net-snmp to search the whole mib tree for
"enterprises".

  Bill

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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.