cancel
Showing results for 
Search instead for 
Did you mean: 

XOS MIBs in seperatet Files

XOS MIBs in seperatet Files

Daniel_Moll
New Contributor II
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
7 REPLIES 7

Patrick_Koppen
Contributor
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

Zdeněk_Pala
Extreme Employee
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.

Regards Zdeněk Pala

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

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.
Regards Zdeněk Pala
GTM-P2G8KFN