Hi All,
we are having some issues with some of our WAPs dropping their connection speed from 1Gbps to 100Mbps at the switch. Is there any way to monitor the speed of connection of a switch port? (we have 50/50 cisco and hp).
I'm already monitoring the bandwidth of the port, but I need to know if a port is connected at 1Gbps or slower speeds.
Thanks in advance,
Chris.
monitor switch port interface speed
Re: monitor switch port interface speed
Is this an autonegotiate port that's sometimes negotiating 100MB or do you have them fixed to 1G at the port level/WAP level and they sometimes go to a slower speed?
If you keep running into this is there any way you can force them to not autonegotiate (if they are) so that they are forced to 1G full duplex? You may want to check to see what both sides are currently set to (swtich port and wap port settings)
If you run this command against them, what does it show?
- Change X.X.X.X to the Switch/Wap IP, change YOURCOMMUNITY as well
When that issue occurs, does it actually show anything different?
You would probably just use the SNMP or SNMP Walk wizards if that works:
https://assets.nagios.com/downloads/nag ... Wizard.pdf
If you keep running into this is there any way you can force them to not autonegotiate (if they are) so that they are forced to 1G full duplex? You may want to check to see what both sides are currently set to (swtich port and wap port settings)
If you run this command against them, what does it show?
- Change X.X.X.X to the Switch/Wap IP, change YOURCOMMUNITY as well
Code: Select all
snmpwalk -v 2c -c 'YOURCOMMUNITY' X.X.X.X:161 ifSpeedYou would probably just use the SNMP or SNMP Walk wizards if that works:
https://assets.nagios.com/downloads/nag ... Wizard.pdf
-
lilydalehs
- Posts: 34
- Joined: Fri May 29, 2020 7:20 pm
Re: monitor switch port interface speed
Hi ssax,
thanks for the info. These are "autonegotiate" ports which sometimes connect below 1Gbps. And at 100Mb or even 10Mb the WAPs connected don't provide much bandwidth to the students in the classroom's. These are very old classrooms and it's obvious we need to redo the wiring.
The snmpwalk command you sent worked and showed the correct speed (i.e. the actual connected speed) so I will give that a try.
Cheers,
Chris.
thanks for the info. These are "autonegotiate" ports which sometimes connect below 1Gbps. And at 100Mb or even 10Mb the WAPs connected don't provide much bandwidth to the students in the classroom's. These are very old classrooms and it's obvious we need to redo the wiring.
The snmpwalk command you sent worked and showed the correct speed (i.e. the actual connected speed) so I will give that a try.
Cheers,
Chris.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: monitor switch port interface speed
Hi Chris,The snmpwalk command you sent worked and showed the correct speed (i.e. the actual connected speed) so I will give that a try.
Sounds good, let us know how it goes.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
lilydalehs
- Posts: 34
- Joined: Fri May 29, 2020 7:20 pm
Re: monitor switch port interface speed
Hi All,
for anyone interested, I was able to setup the following command which works well.
The command template is check_xi_service_snmp which equates to $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
For ARG1 I used -p 161 -o ifSpeed.10133 -C public -P 2c -m IF-MIB -c @0:110000000
This creates an alert anytime the connection speed is less than 1Gb.
Given I have about 120 of these to add, I did some googling and discovered the api and so created a script to add them for me. That api is bloooody marvellous.
Thanks for the assist ssax.
Cheers,
Chris.
for anyone interested, I was able to setup the following command which works well.
The command template is check_xi_service_snmp which equates to $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
For ARG1 I used -p 161 -o ifSpeed.10133 -C public -P 2c -m IF-MIB -c @0:110000000
This creates an alert anytime the connection speed is less than 1Gb.
Given I have about 120 of these to add, I did some googling and discovered the api and so created a script to add them for me. That api is bloooody marvellous.
Thanks for the assist ssax.
Cheers,
Chris.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: monitor switch port interface speed
Glad to hear you were able to get this resolved!lilydalehs wrote:Hi All,
for anyone interested, I was able to setup the following command which works well.
The command template is check_xi_service_snmp which equates to $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
For ARG1 I used -p 161 -o ifSpeed.10133 -C public -P 2c -m IF-MIB -c @0:110000000
This creates an alert anytime the connection speed is less than 1Gb.
Given I have about 120 of these to add, I did some googling and discovered the api and so created a script to add them for me. That api is bloooody marvellous.
Thanks for the assist ssax.
Cheers,
Chris.
Locking thread