Question

[network::extreme::snmp::plugin] -- mode=hardware ALL 0 components are ok [ ]

  • 22 January 2024
  • 8 replies
  • 91 views

Badge +1

Hey, I recently installed centreon to monitor my extreme network switches but the centreon-plugins doesn’t work well. In this example, the hardware-global service checks 0 components while there is of course, more than 0 components.

When I enter the command by hand (./centreon_extreme.pl --plugin=network::extreme::snmp::plugin:: --mode=hardware --hostname=ipAddress --snmp-version=2c --snmp-community=’roCommunity’ --component=’.*’ --verbose), it returns the following result :

“OK: All 0 components are ok [ ].

Checking fans

Checking power supplies

Checking slots

Checking temperature

Checking poes”

And yes that’s all I get. No error message or anything else. I can’t find the documentation for extreme networks with centreon-plugins. Can anyone tell me if I’m doing something wrong and if I am, how can I fix it ?


8 replies

Userlevel 5
Badge +14

hello

can you do a snmpwalk in command line from the poller with this OID : 1.3.6.1.4.1.1916

 

snmpwalk -v 2c -c roCommunity -On ipAddress 1.3.6.1.4.1.1916

 

this is the OID for extreme network hardware and should output you a few pages of data (including OS version, firmware, and then hundreds of lines of values you don”t really care about.

 

if you have no output, either extreme changed something (new firmware, or diferent family using a different oid) or your switch doesn”t have the snmp configuration to allow the query of hardware information on snmp

(you can the OID for the fans for example here  centreon-plugins/src/network/extreme/snmp/mode/components/fan.pm at develop · centreon/centreon-plugins · GitHub )

 

the only net extreme switch I have in my pool is a X440G2 24ports, with an old ExtremXOS version from 2 years ago, so I can’t do more tests. 

Badge +1

hello

can you do a snmpwalk in command line from the poller with this OID : 1.3.6.1.4.1.1916

 

snmpwalk -v 2c -c roCommunity -On ipAddress 1.3.6.1.4.1.1916

 

this is the OID for extreme network hardware and should output you a few pages of data (including OS version, firmware, and then hundreds of lines of values you don”t really care about.

 

if you have no output, either extreme changed something (new firmware, or diferent family using a different oid) or your switch doesn”t have the snmp configuration to allow the query of hardware information on snmp

(you can the OID for the fans for example here  centreon-plugins/src/network/extreme/snmp/mode/components/fan.pm at develop · centreon/centreon-plugins · GitHub )

 

the only net extreme switch I have in my pool is a X440G2 24ports, with an old ExtremXOS version from 2 years ago, so I can’t do more tests. 

I have an ERS 4950GTS-PWR+. I tried the snmpwalk but it returned “No Such Object available on this agent at this OID”.

After checking the mib web page on the switch, I could see that under the entreprises tab there is no 1916 oid, only 45 (synoptics), 562 (nortel), 2272 (rapidCity), 14706 (sflow) and 14832 (tirpleDESConsortiumMIB)

As you can probably tell, I’m totally new to MIBs and snmp in general

Userlevel 5
Badge +14

hmm

I found this for the ERS 4900, apparently they are not the same OID as other product family, someone asked on their forum and there is a link to the MIB behing a support login

Solved: VSP4900 MIBs (monitoring processor, fan, temperatu... - Extreme Networks - 75978

 

did extreme buy nortel, I see you have the OID 2272, and looking at the centreon nortel plugin here 

centreon-plugins/src/network/nortel/standard/snmp/mode/components/fan.pm at develop · centreon/centreon-plugins · GitHub

it uses the same 2272 entreprise code

you could try the nortel plugin pack, maybe it works 

(looking on google and some archeology on the oid, nortel, rapid-city, apparently it was a family of switches called ERS discontinued in 2010, how it appeared in net extreme portfolio, no idea

Avaya ERS 8600 - Wikipedia )

 

oh I found out how … Avaya sells networking business to Extreme Networks for $100 million | ZDNET 

so extreme rebrands old avaya tech, that has been rebranded from nortel that has been rebranded bay networkd that has been rebranded from rapid-city, all using the same bios/code from 1997

nice switches you got here :D

Badge +1

Thank you so much !

I will try that out. I knew extreme bought some other tech companies and that they didn’t change the OIDs much but since their support is locked behind a support, it can be hard to find what you want if you dont have an account.
What I didn’t know is that they did change much in “bios/code” since 1997 :D

Userlevel 5
Badge +14

that part about the bios was a bit of joke, there can be multiple reason they didn”t change the OID

keeping existing customer happy with their existing monitoring solution and make them afraid is probably the main one

or maybe a issue with the existing OID of extreme, the sub-tree is probably too different to be merged.

 

Joke aside, let us know if the plugin pack for Nortel is working on Extreme ERS family

if so maybe Centreon can package a new plugin pack with the same command, but changing the name and the icon to match Extreme 

Badge +1

well…. I got to work, checked if the command worked and it did not. I did not install the monitoring connectors for nortel so maybe that’s why. So I tried to install them and that’s when I realized I can’t. The page doesnt load any connectors. I tried to update centreon and it doesn’t work either. I get timedout and I keep getting “Cannot prepare internal mirrorlist : timedout was reached for https://mirrorlist.almalinux.org/mirrorlist/8/baseos

Anything related to dnf doesn’t auto complete, instead I have things like anaconda-ks.cfg, .bash_history and a few others. I have no clue what to do and I can’t find anything related to alma, only centos

Userlevel 5
Badge +14

that is probably just a simple time out on the alma repo, or maybe a internet/dns issue on your poller.

(i also had issue with ipv6 sometimes, i had to disable it in yum config)

 

you can also download the plugin manually by browsing the public repo of centreon, here are the rpm for 22.10 (it is NOT the right way to do it, but if your OS can’t connect to the internet, it may help)

Centreon official registry 

just look for “nortel” and find the latest version

Badge +1

I think it’s an issue with the internet at my company, lot of people are complaining about slow internet 

Reply