Brocade FC ports assume speed?

CMK 2.2.0p19

I was reading this: Brocade G630 FC Switch wrong port speed - #4 by DietmarG

But… i want to go one step back.

Assume speed is globally default to 2 Gb (?).
Is there a way to disable “assume speed”?

I mean, you can have a 16 Gb switch brocade, with lots of stuff.
4 Gb, 8 Gb, and 16 Gb devices.

I want the assume speed to be the one that is currently on that port, otherwise, a throughput warn/crit rule will fail (for example). Is not the same 50% of throughput for a 2 Gb link that 50% of a 16 Gb link !! I’m having critical alerts, because the port it’s at 1 Gb speed, when 50% of 16 it’s 8 !!

Of course, i’m not setting “assume speed” for every port. No way ¬¬.

Please and thank you!!!

In other words:

“Assume speed” is not taking consideration of the current port speed. It forcibly defaults to 2 Gb/s.

image

~/lib/check_mk/base/plugins/agent_based/brocade_fcport.py

Speed is there:

Any help please?

Ok, i have copied the check to:

~/local/lib/check_mk/base/plugins/agent_based

… and comment out that line.

It worked. Assume speed is gone from “Parameters”.

I assume that “assumed speed” is now the one of the port (?).

Nope.

Still a problem.

Now yes, i need help.

I tried my best. The goal is simple. “Assume speed” = “if_speed” by all means.
No luck :frowning:

Already tried modifying a lot of things.

I cannot get “Assume speed” to be dynamically set with “if_speed” :frowning:

Any idea?

try commenting out ‘if if_speed’ and following return line

Hi there.

You are just, removing the Speed from the GUI.
This is the result:

image

You can see in fact, the default “assumed speed” now, which, as you can see, it isn’t taking dynamically the port speed.

Is this a long time bug?

I have really done a lot of stuff. Nothing works.

For example.

Still forcing the “2 Gb/s” as assume speed.

Any idea?

I guess i’m stuck :frowning:

Any help please?
Anyone facing the same issue?

I might have missed something, but the logic is “if the device reports no speed, we assume a speed of 2 GBit/s”. The 2 GBit/s are configurable. Did you check the SNMP data, if it actually reports the speed at the expected OID?

Hi @Robin.
Did you see my captures? The speed is fine. The problem is the assumed speed. Is not taking the current speed.

I saw it, but it feels off. This might be something for support, as we might need to look into the very situation you have there. I faintly remember something similar from way back, but I think they got no speed measurement at all.

Are you telling me this is 100% unusual? None of my brocades switches get correctly the “assume speed”.

Anyone with the same issue? I have removed the switches and added them again. Same issue.

:slight_smile:
:slight_smile:
:slight_smile:

Guys… I assumed wrong. Sorry.

This is for
CEE 2.2.0p39
CEE 2.3.0p25.

Is not fixed.

Anyone?

Anyone? Any known fix in the future?

I think there might be a misunderstanding here.
Just because the “Assumed link speed” shows in the default values, does not mean, that it is applied. As I said before

And you never answered my question, if the SNMP data from your device actually contains the speed. It is hard to tell in the cacophony of this thread, what happened when, but I can assure you, this generally works. I am rather positive, that it comes down to a misunderstanding or misconfiguration.
But there is no easy step-by-step guide to figure this out. That is why I mentioned paid support earlier, because that enables a whole different level of troubleshooting.