What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Has anybody had any luck importing a MIB from Extreme Networks

Votes:

0

I have sucessfully used the Paessler MIB Imported to import/convert MIBS for PRTG Net Monitor with other manufactures but unable to import the MIBs from Extreme Networks. The log indicates "Sucessfully included Files" but 0 OIDs. We use Extreme BD8800, Summit 450/250 layer 3 switches.

extreme importebscerig-100- mib

Created on Jan 26, 2011 8:43:42 PM



Best Answer

Accepted Answer

Votes:

0

Importing MIB Files from vendor Extreme Networks

In our experience, the MIB Files from Extreme Networks actually contain several MIB files in one single file:

-- This file contains multiple ASN.1 Module definitions

In order for the MIB Importer to read the contained information, you have to split the file into single MIB files, each of them containing one section only.

Each section begins with a line containing the string DEFINITIONS ::= BEGIN and ends with a line containing the word END. For example, such a section could look like this:

EXTREME-SYSTEM-MIB DEFINITIONS ::= BEGIN

[...]

END

The filename of the *.mib file should match the string before DEFINITIONS ::= BEGIN, in the example above this would result in a file named EXTREME-SYSTEM-MIB.mib

Please copy each section in a single text file and save it. Afterwards, you can import these single files using the Paessler MIB Importer.

Using a File Splitter

The procedure described above might involve a lot of manual work. Using a file splitter you can automatically split such a combined MIB file into its single sections. However, in the example below the file names aren't set correctly, so you might need to correct them in case the single resulting MIB files contain dependencies between each other.

'Hack' Solution Using Csplit

This is an example of how you could split an MIB file. However, file names won't be set correctly, but this will result in consecutively numbered files only.

  1. Download and install the CoreUtils from Sourceforge.
  2. Use a command in the following format to split into files with the filename pattern mib00, mib01, mib02, etc. The input file my_mib_file.mib will be split before each line ending with the word BEGIN: csplit -ks -f .\mib my_mib_file.mib /BEGIN$/ {*}
  3. Try importing the MIB files using MIB Importer. Note: The first file (mib00) will most likely contain comments only, so you can delete it.
  4. If the importer tool shows errors regarding dependencies, manually correct the file names and try the import again.

See Also

Usually, you won't need the entire information contained in the MIB file. For information on how to only select the required counters for your OIDLIB file, please see MIB problems: PRTG hangs when adding SNMP library sensor

Created on Apr 19, 2011 11:28:25 AM by  Daniel Zobel [Product Manager]

Last change on Apr 19, 2011 11:41:30 AM by  Daniel Zobel [Product Manager]



4 Replies

Votes:

0

Hello,

this might mean, that either the MIB only contains counter which currently the MIB Importer & PRTG can't work with (String-Counters, Traps, or double-indexed counters), or that maybe that the MIB-File actually contains more than one MIB, which "confuses" the MIB Importer sometimes. In case of the latter, you could simply forward us the MIB in question to [email protected] for a quick check.

Best Regards.

Created on Jan 27, 2011 2:23:37 PM by  Torsten Lindner [Paessler Support]



Accepted Answer

Votes:

0

Importing MIB Files from vendor Extreme Networks

In our experience, the MIB Files from Extreme Networks actually contain several MIB files in one single file:

-- This file contains multiple ASN.1 Module definitions

In order for the MIB Importer to read the contained information, you have to split the file into single MIB files, each of them containing one section only.

Each section begins with a line containing the string DEFINITIONS ::= BEGIN and ends with a line containing the word END. For example, such a section could look like this:

EXTREME-SYSTEM-MIB DEFINITIONS ::= BEGIN

[...]

END

The filename of the *.mib file should match the string before DEFINITIONS ::= BEGIN, in the example above this would result in a file named EXTREME-SYSTEM-MIB.mib

Please copy each section in a single text file and save it. Afterwards, you can import these single files using the Paessler MIB Importer.

Using a File Splitter

The procedure described above might involve a lot of manual work. Using a file splitter you can automatically split such a combined MIB file into its single sections. However, in the example below the file names aren't set correctly, so you might need to correct them in case the single resulting MIB files contain dependencies between each other.

'Hack' Solution Using Csplit

This is an example of how you could split an MIB file. However, file names won't be set correctly, but this will result in consecutively numbered files only.

  1. Download and install the CoreUtils from Sourceforge.
  2. Use a command in the following format to split into files with the filename pattern mib00, mib01, mib02, etc. The input file my_mib_file.mib will be split before each line ending with the word BEGIN: csplit -ks -f .\mib my_mib_file.mib /BEGIN$/ {*}
  3. Try importing the MIB files using MIB Importer. Note: The first file (mib00) will most likely contain comments only, so you can delete it.
  4. If the importer tool shows errors regarding dependencies, manually correct the file names and try the import again.

See Also

Usually, you won't need the entire information contained in the MIB file. For information on how to only select the required counters for your OIDLIB file, please see MIB problems: PRTG hangs when adding SNMP library sensor

Created on Apr 19, 2011 11:28:25 AM by  Daniel Zobel [Product Manager]

Last change on Apr 19, 2011 11:41:30 AM by  Daniel Zobel [Product Manager]



Votes:

0

Hello,

I have succesfully imported Extreme 12.6.x.x mib file. I have used freeware "Textfilesplitter 2.0.4" Configured it as follows: x Use file pattern Split by text Boundary, Cointains, "::=BEGIN"

This SW made me few files named by sections in Extreme MIB file.

Imported that files in Paessler MIB importer..

That's it..

Created on Jun 5, 2012 2:30:36 PM



Votes:

0

This Powershell code worked for me: (Get-Content .\30.7.1.1-patch1-103_MIB.txt -Raw) -split "-- ################################################################################" | %{$success = $_ -match '(.+) DEFINITIONS ::= BEGIN'; $filename = $matches[1] -replace '\s','';$_ >> "$filename.mib"}

It splites the Document and writes the parts in Files with the correct name.

Created on Jul 1, 2021 2:57:30 PM




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.