Re: [Hampshire] Deciding SNMP MIB files in Linux

Top Page

Reply to this message
Author: James Courtier-Dutton
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Deciding SNMP MIB files in Linux
On Sep 12, 2012 8:33 PM, "Paul Stimpson" <paul@???> wrote:
>
> Hi,
>
> I'm trying to write some software to remote control some SNMP-driven
> gear at work. The manufacturer has sent me the MIBs for the gear
> concerned but instead of one file, there is a whole folder of
> interdependent MIBs.
>
> I want to make a list of every OID in the device so I can write a
> driver. I found the following example command which I thought would list
> the OIDs
>
> snmptranslate -M . -m ALL -Of -Tl
>
> This produces a stream of correct-looking OIDs but they only seem to
> belong to the first file in the folder.
>
> Is there anyone that can help me work out how to get a complete listing
> of every OID described in the folder please?
>

I think it would be easier if you posted a tar file of all the mib files
somewhere.
Mibs are hierarchical so all the files should link to the first one. Think
of them as leaves on a tree.
--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------