Re: snmpwalk problem: something wrong with a MIB?
Alexander Shikoff <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jul 20, 2012 at 08:15:11PM +0100, Dave Shield wrote: > On 19 July 2012 23:56, Alexander Shikoff <[email protected]> wrote: > > I have a strange problem with snmpwalk: > > > > # snmpwalk -v2c -c public -M/data/noc/mrtg/MIBs/DLink .... > > Try using -M+/data/noc/mrtg/MIBs/DLink to *add* this directory > to the list of locations containing MIB files. > The invocation above will *replace* the normal search list with > the specified directory - hence the library won't look for MIB files > anywhere else. That's OK if your /data/noc/... tree includes > copies of the other necessary MIB files, but will break if this > directory only contains the additional files. Thanks to all who replied. The problem was not with paths etc. DLink MIB file is broken and has a lot of syntax errors. I don't know why snmpwalk didn't report about errors. I tried to load MIB file with tkmib, and it reported all errors. -- MINO-RIPE ------------------------------------------------------------------------------ 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