Page 1 of 3

XI Network Wizard - Bandwidth speed issue

Posted: Wed May 20, 2015 9:16 am
by brdr
Hi,

We have XI 2014R2.3 and Network Switch/Router Wizard v2.1.5.

-- Scenario 1
We are adding cisco MDS (storage switches) via the CCM wizard. When the wizard scans the ports for info it pulls back 'ifSpeed' for each port that is up. ifSpeed from the scan indicates port speeds of 3.7 - 4 GB. However, these ports are configured at 8GB bandwidth speed. See attached.

-- Scenario 2
On this same device scan using the wizard a port is seen with ifSpeed of 4GB. However, when I go into CCM after wizard is complete for its asccociated bandwidth check, i see its -w and -c threshold is 18,22 G respectively. See attached.

brdr

Re: XI Network Wizard - Bandwidth speed issue

Posted: Wed May 20, 2015 4:19 pm
by tmcdonald
If you run a snmpwalk against that device, does it show the same speeds as the wizard?

Re: XI Network Wizard - Bandwidth speed issue

Posted: Wed May 20, 2015 4:56 pm
by brdr
In scenario 1, yes. Scenario 2 no.

To confuse things, scenario 1 ifspeed is 3.7 GB per snmp query for that port. Howerver, Nagios -w and -c thresholds for that port is 3,3 and 3,3 (in, out) - both same thresholds.

Re: XI Network Wizard - Bandwidth speed issue

Posted: Wed May 20, 2015 7:16 pm
by Box293
Have you tried upgrading the wizard to the latest 2.1.7?

https://exchange.nagios.org/directory/A ... rd/details

Re: XI Network Wizard - Bandwidth speed issue

Posted: Thu May 21, 2015 9:36 am
by brdr
I just now tried 2.1.8 of the switch with same results:

- ifspeed says 4GB and Nagios pulls in 4GB but port is configured at 8GB (Cisco MDS 9148 and 9509).

Also,in the attached shows Warning Rate of 3,3 and Critical Rate of 4,4 for 4GB Switch using 75% and 90% in the wizard for checking bandwidth. For a 3.7 GB port the Warning Rate of 3,3 and Critical Rate of 3,3. Is this because the wizard can only use whole numbers when it computes? I ask because we have two hundred devices yielding thousands of ports that will have to be manually changed. Unless I'm doing something wrong :o

Thx

Re: XI Network Wizard - Bandwidth speed issue

Posted: Thu May 21, 2015 3:24 pm
by abrist
Our wizard prioritizes different detected speed values (acquired through snmp) in the following order:
1. Bandwidth Setting (device specific setting)
2. Reported ifSpeed
3. Finally, Link Speed if all else fails.

If your device is reporting the wrong ifSpeed value, you need to fix that as our wizard relies on that value if the device bandwidth setting is not set (or does not exist).
brdr wrote:Also,in the attached shows Warning Rate of 3,3 and Critical Rate of 4,4 for 4GB Switch using 75% and 90% in the wizard for checking bandwidth. For a 3.7 GB port the Warning Rate of 3,3 and Critical Rate of 3,3. Is this because the wizard can only use whole numbers when it computes?
Probably, though the wizard does accept decimals, and are completely valid (but currently require editing by hand).

Re: XI Network Wizard - Bandwidth speed issue

Posted: Fri May 22, 2015 8:31 am
by brdr
Thanks for this explanation abrist!

1)
I believe there is a bug in the logic using ifspeed and not ifHighSpeed. And, believe why when we point Orion at the same cisco device Orion reports 8GB interface speed with same snmpuser credentials (therefore using same OIDs).

Here is the good article that may help understanding it better.
http://kb.juniper.net/InfoCenter/index? ... &id=KB9119

From our cisco device i can see...
IF-MIB::ifIndex.18415616 = INTEGER: 18415616
IF-MIB::ifSpeed.18415616 = Gauge32: 3705032704
IF-MIB::ifHighSpeed.18415616 = Gauge32: 8000
Nagios uses 3.75 GB

2)
Is there possible an effort to fix this, where the wizard calculates 75% 90% correctly?
Also,in the attached shows Warning Rate of 3,3 and Critical Rate of 4,4 for 4GB Switch using 75% and 90% in the wizard for checking bandwidth. For a 3.7 GB port the Warning Rate of 3,3 and Critical Rate of 3,3. Is this because the wizard can only use whole numbers when it computes?

Re: XI Network Wizard - Bandwidth speed issue

Posted: Fri May 22, 2015 1:19 pm
by abrist
brdr wrote:I believe there is a bug in the logic using ifspeed and not ifHighSpeed.
Possibly, though I would expect your device to report 4294967295 (max int as well as that is how it is described in your link) for ifSpeed, not 3705032704.
brdr wrote:Is there possible an effort to fix this, where the wizard calculates 75% 90% correctly?
Possibly. Does the wizard default to Gpbs on this device?

Re: XI Network Wizard - Bandwidth speed issue

Posted: Tue Jun 02, 2015 6:42 am
by brdr
Yes, it does default to Gbps.

Re: XI Network Wizard - Bandwidth speed issue

Posted: Tue Jun 02, 2015 9:19 am
by abrist
Alright, then we juts need to calculate the decimal.
Do you have any input on the my other point:
abrist wrote:Possibly, though I would expect your device to report 4294967295 (max int as well as that is how it is described in your link) for ifSpeed, not 3705032704.
Why is it not using the max int for ifSpeed? The 3705032704 number seems a bit random.