Page 1 of 2

Switch wizard pre-populates wrong data

Posted: Fri Feb 27, 2015 8:11 am
by tbmay
Good morning,

Installed Version: 2014R2.5
CentOS 6.6 on the metal

We're monitoring a number of HP switches for port bandwidth, primarily to keep the historical graphs. I simply run the wizard and pretty much just take what it finds. I seems to have found lots of ports incorrectly because it sees Gig ports as 100 meg ports and populates the thresholds with values that are WAY too low. Do you have any suggestions about how to deal with this particular issue.

Re: Switch wizard pre-populates wrong data

Posted: Fri Feb 27, 2015 10:26 am
by jolson
Good morning,

To clarify, you ran the 'Network Switch / Router Monitoring Wizard' to detect your HP switch? Do any of the ports detect properly? Which version of SNMP did you use?

Please answer the above questions. Once finished, I'd like you to run an snmpwalk on your switch and return the output here. The command for SNMPwalk is as follows:

Code: Select all

snmpwalk -c <communitystring> -v<version> <ipaddress>
Feel free to cut out the private bits of information - what I'm interested in is what your problem switches report for their interface speed.

Re: Switch wizard pre-populates wrong data

Posted: Fri Feb 27, 2015 12:07 pm
by tbmay
SNMP is version 2. Some ports appear correct but many don't. I'm seeing ports that are gigabit apparently being seen as less than 10 megs...100 megs...no real consistency. I'm attaching an snmpwalk from a switch that's firing alerts on port 23 that seem wrong, but we have numerous switches and most of them have some anomalies.

Re: Switch wizard pre-populates wrong data

Posted: Fri Feb 27, 2015 1:05 pm
by tmcdonald
Does the SNMP Walk wizard exhibit the same behavior against that device?

Re: Switch wizard pre-populates wrong data

Posted: Fri Feb 27, 2015 1:09 pm
by cmerchant
Are you sure there isn't a bit of auto-negotiate going on with the switch.

Is there a way you can confirm what the switch might think the port speeds are negotiated at: (from your switch)

Code: Select all

show interfaces brief <port-list> 

Re: Switch wizard pre-populates wrong data

Posted: Fri Feb 27, 2015 1:15 pm
by tbmay
I'm not the switch guy here but there probably is auto-negotiating going on. Thanks for that heads up.

Re: Switch wizard pre-populates wrong data

Posted: Fri Feb 27, 2015 1:21 pm
by abrist
The switch and router wizard will first try to use the bandwidth statement oid, then the link speed oid, and then the port speed oid, and then finally the wizard default. The first value in this precedence to exist is used. I bet cmerchant in correct and this is the auto-negotiated (link) speed.

Re: Switch wizard pre-populates wrong data

Posted: Fri Feb 27, 2015 1:28 pm
by tbmay
Thank you. Is there a way to override and just take the port speed from the Wizard?

Here is the output from the switch I just sent the snmpwalk from for the show interfaces command.

Code: Select all

ME_HP2910al_AsstPrin# show interfaces brief

 Status and Counters - Port Status

                  | Intrusion                           MDI   Flow  Bcast
  Port  Type      | Alert     Enabled Status Mode       Mode  Ctrl  Limit
  ----- --------- + --------- ------- ------ ---------- ----- ----- ------
  1     100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  2     100/1000T | No        Yes     Up     100FDx     MDIX  off   0
  3     100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  4     100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  5     100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  6     100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  7     100/1000T | No        Yes     Up     1000FDx    MDI   off   0
  8     100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  9     100/1000T | No        Yes     Up     1000FDx    MDIX  off   0
  10    100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  11    100/1000T | No        Yes     Up     1000FDx    MDI   off   0
  12    100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  13    100/1000T | No        Yes     Down   1000FDx    MDIX  off   0
  14    100/1000T | No        Yes     Up     1000FDx    MDI   off   0
  15    100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  16    100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  17    100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  18    100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  19    100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  20    100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  21    100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  22    100/1000T | No        Yes     Down   1000FDx    Auto  off   0
  23    100/1000T | No        Yes     Up     100FDx     MDI   off   0
  24    100/1000T | No        Yes     Down   1000FDx    Auto  off   0

Re: Switch wizard pre-populates wrong data

Posted: Fri Feb 27, 2015 2:10 pm
by abrist
How many ports are wrong on this switch? I see only 2 ports that have the state of "100FDx".
EDIT:
tbmay wrote:Thank you. Is there a way to override and just take the port speed from the Wizard?
Not really, though it would be a good feature request.

Re: Switch wizard pre-populates wrong data

Posted: Fri Feb 27, 2015 2:11 pm
by cmerchant
It may be worthwhile to open a feature request at http://tracker.nagios.com for the ability to alter the default speeds on the second page of the switch/router wizard.

fwiw, There was a lengthy discussion of the incorrect ifSpeed for Cisco gear in this forum post as well:

http://support.nagios.com/forum/viewtop ... 2&start=10