Re: snmpwalk not recognizing mibs?

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGZjD1z5bfLahCkCN5duDvZMDHeF8FYDWbUm3pqQTE5HaA@mail.gmail.com>
On 8 July 2011 19:28, Chris Bartram <[email protected]> wrote:
> Is there something I'm missing to get snmpwalk results to process the same
> mibs as snmptrapd does?

One thing to check is whether snmpwalk is reading MIB files from the
same location as snmptrapd.   If you re-instate the syntax error in the
MIB file (*without* restarting snmpd/snmptrapd) and run the snmpwalk
command again.  Do you get the same complaint from snmpwalk?

If not, then try explicitly loading the FOUNDRY-SN-ROOT-MIB within
the snmpwalk command:
    snmpwalk  -m +FOUNDRY-SN-ROOT-MIB ....

That _shouldn't_ be necessary if you're loading all of the mibs
using "mibs all",  but it's worth checking.


The only other thing that I can think of would be to tweak
the MIB to import enterprises from SNMPv2-SMI rather than
RFC1155-SMI.   That wouldn't strictly be valid, but the Net-SNMP
parsing library shouldn't worry about that.


Dave

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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.