Brocade G630 FC Switch wrong port speed

CMK version: Checkmk Enterprise Edition 2.1.0p10
OS version: RHEL 8
Brocade Switch G630
Firmware Version: v8.2.1a

All ports are “Assumed speed: 2 Gbit/s” but inventory shows right speed

Inventory

Discovered services

Is this bug or did I do something wrong ?

Hi @Stefan_Markovic, and thanks for reporting this!
Can you send me the agent output of that host, maybe per direct message?
I saw this some time ago, but was never able to reproduce it.

snmpwalk files are send to @robin.gierse

There are 2 workarounds

Option 1

vim /opt/omd/versions/2.1.0p10.cee/share/check_mk/checks/brocade_fcport
Edit from : if len(if_info) == len(speed_info):
to : if len(if_info) == len(speed_info)-2:
Solusion form Brocade_fcport, Port Summary - General - Checkmk Community

It will show then good speed but will destroy output Brocade 6510 switch in out fabric

Option 2:
Configure discovery rule:

Than we can see good port speed:

But then CheckMK will see it as random network port and not brocade port.

If I click on Manual page for this check type it’s random interface

This way we can’t monitor BBcredits etc.

So both “solutions” are bad. This is why I have asked for help.

This is my ( i guess very ugly ) solution used for the Brocades. It does what we need i think.
brocade_fcport.py (19.1 KB)

I am NOT a programmer at all, so this was pure trial and error “hacking” .

So use it as your very own risk :slight_smile: .

I did not have any time to investigate further, so can someone tell me, if the issue is still present in the most recent version of Checkmk?

Yes, it’s still present.

this issue should be fixed in next version brocade_fcport: wrong port speed (checkmk.com)

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.