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
147 stars 87 forks source link

Incorrect interface utilization with Cisco SG350 #217

Open peterhoeg opened 4 years ago

peterhoeg commented 4 years ago

Using version 7.10.0.6 the interface usage calculations are wrong:

CRITICAL - 
interface GigabitEthernet13 (alias gi13) usage is in:0.85% (8.53bit/s) out:2645.52% (26455.20bit/s), 
interface GigabitEthernet14 (alias gi14) usage is in:3.00% (30.00bit/s) out:2639.03% (26390.27bit/s), 
interface GigabitEthernet24 (alias gi24) usage is in:3931.97% (39319.73bit/s) out:119883.24% (1198832.40bit/s), 

What information do I need to provide to get to the bottom of this?

peterhoeg commented 4 years ago

A few more details.

The SG350 is reporting an ifSpeed of 1000 which is why this is off.

Calling check_nwc_health with --ifspeed 1000000000 fixes things.