XI Network Wizard - Bandwidth speed issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

XI Network Wizard - Bandwidth speed issue

Post 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
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: XI Network Wizard - Bandwidth speed issue

Post by tmcdonald »

If you run a snmpwalk against that device, does it show the same speeds as the wizard?
Former Nagios employee
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

Re: XI Network Wizard - Bandwidth speed issue

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: XI Network Wizard - Bandwidth speed issue

Post by Box293 »

Have you tried upgrading the wizard to the latest 2.1.7?

https://exchange.nagios.org/directory/A ... rd/details
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

Re: XI Network Wizard - Bandwidth speed issue

Post 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
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: XI Network Wizard - Bandwidth speed issue

Post 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).
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

Re: XI Network Wizard - Bandwidth speed issue

Post 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?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: XI Network Wizard - Bandwidth speed issue

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

Re: XI Network Wizard - Bandwidth speed issue

Post by brdr »

Yes, it does default to Gbps.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: XI Network Wizard - Bandwidth speed issue

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked