lausser / check_nwc_health

nwc = network component. This plugin checks lots of aspects of routers, switches, wlan controllers, firewalls,.....
http://labs.consol.de/nagios/check_nwc_health
GNU General Public License v2.0
146 stars 88 forks source link

ifSpeed equals ifHighSpeed #289

Open maaaax opened 2 years ago

maaaax commented 2 years ago

Hi.

Like on our "Aruba Instant On 1930 48G 4SFP/SFP+ Switch JL685A, InstantOn_1930_1.0.4.0 (133), Linux 4.4.120, U-Boot 2013.01 (V1.0.1.29)" there could be other devices showing the wrong ifSpeed like 1000 for Gigabit, where it should be 4294967295, when ifHighSpeed is present.

As a quick workaround (which assumes that ifHighSpeed is present), I used: } elsif ($self->{ifHighSpeed} or $self->{ifSpeed} == 4294967295) {

best regards, maaaax