XOS MIBs in seperatet Files

  • 1
  • 1
  • Question
  • Updated 1 year ago
  • Answered
Hello Community,

we have got a Problem regarding the XOS-MIBs.
All XOS-MIBs are just packed in 1 File.

The Problem we face, we can't import the XOS-MIB-File in our Monitoring-System, because the Monitoring-System only supports 1 MIB per File.

Is there a way to get seperatet MIB-Files?
Or do i have to seperate the whole File manually?(seems alot)

I hope someone has a solution.

Best Regards
Daniel
Photo of Daniel Moll

Daniel Moll

  • 174 Points 100 badge 2x thumb

Posted 1 year ago

  • 1
  • 1
Photo of Pala, Zdenek

Pala, Zdenek, Employee

  • 9,100 Points 5k badge 2x thumb
Hi,

if you install Extreme Management Center (NetSight) then you can find a lot of mib files called "Extreme-*". so You can "extract those from there".

you can download the Extreme Management Center here: https://extranet.extremenetworks.com/downloads/Pages/NMS.aspx

good luck.

Z.
Photo of Patrick Koppen

Patrick Koppen

  • 750 Points 500 badge 2x thumb
Hi,

so I have to buy Netsight to extract mibs for EXOS???

And the 'mib-file' contains 74 mibs. How to I know what mibs to extract in NMS? Not
all use mibs starts with 'Extreme-*'. Why can't Extreme provide a zip/tar-file with
those mibs like every other vendor can do?

Regards
Patrick
Photo of Pala, Zdenek

Pala, Zdenek, Employee

  • 9,100 Points 5k badge 2x thumb
No. You do not have to buy netsight. You can just download it. Sorry, i tried to help. Feel free to use other way.

Good luck.
Photo of Patrick Koppen

Patrick Koppen

  • 750 Points 500 badge 2x thumb
Hi,

you can't download netsight without a contract. If you buy a XOS-switch you are usually not allowed to download netsight. Even partners are not always allowed to download
things from extranet.

Regards
Patrick
Photo of Pala, Zdenek

Pala, Zdenek, Employee

  • 9,100 Points 5k badge 2x thumb
Hi Patrick.

Please verify that again. I just created fake account on extranet and I can download NetSight.

The situation is different for NetSight and Wireless and for firmware. Firmware and wireless is limited. Netsight is not.

Z.
Photo of Patrick Koppen

Patrick Koppen

  • 750 Points 500 badge 2x thumb
Hi,

cool. That's new. Last time (years ago...) it didn't work. I can even generate an
eval license (I didn't try but I see the button). And the download works in the
new portal two...
 
Regards,
Patrick
Photo of Patrick Koppen

Patrick Koppen

  • 750 Points 500 badge 2x thumb
Hi Daniel,

here's a small script to extract the mibs:

#!/usr/bin/perl -w
# Patrick Koppen, GPLv3
# v0.1, 29.03.2017
#
# Usage: extract_exos_mibs < 22.2.1.5_MIB.txt

use strict;
use warnings;

my $line;
my $header="";
my $out;
my $filename;

while(<>) {
  $line=$_;
  if($line=~m/^\s*([A-Za-z0-9\-]+)\s*DEFINITIONS\s*::=\s*BEGIN\s*$/) {
    $filename=$1 . ".txt";
    open($out,">", $filename) || die;
    print $out $header;
  }

  if($out) {
    print $out $line;
  } else {
    $header.=$line;
  }

  if($line=~m/^\s*END\s*$/) {
    $header="";
    close $out;
    undef $out;
  }

}
close($out) if($out && filno($out));


Regards
Patrick