Adding the "-m +FOUNDRY-SN-ROOT-MIB" to the snmpwalk command line worked... But
there are several non-loaded MIBS and having to add all of them on the command
line each time would be a problem...
The command line also verified the path it's looking in for MIB files on the
system - and the MIBs I'm looking for are in one of the two directories
listed...
Any ideas for a more permanent/global solution?
Thanks!
-Chris Bartram
"The purpose of life is not to be happy. It is to be useful, to be honorable,
to be compassionate, to have it make some difference that you have lived and
lived well". (Ralph Waldo Emerson)
>________________________________
>From: Dave Shield <[email protected]>
>To: Chris Bartram <[email protected]>
>Cc: "[email protected]"
><[email protected]>
>Sent: Friday, July 8, 2011 3:12 PM
>Subject: Re: snmpwalk not recognizing mibs?
>
>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