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
149 stars 88 forks source link

Illegal division by zero at /usr/lib64/nagios/plugins/contrib/check_nwc_health line 69382. #266

Open UrbanDavid opened 3 years ago

UrbanDavid commented 3 years ago

Dear all, I am using check_nwc_health for one year. All working super with dell switch (OS10), but after upgrade firmware to 10.5.2.0 a few interfaces has error message: Command is check_nwc_health -H x.x.x.x --mode interface-usage --name ethernet1/1/1 --community xxx check_nwc_health -H x.x.x.x --mode interface-usage --name ethernet1/1/20 --community xxx

Use of uninitialized value in multiplication () at /usr/lib64/nagios/plugins/contrib/check_nwc_health line 69380. Use of uninitialized value in multiplication () at /usr/lib64/nagios/plugins/contrib/check_nwc_health line 69381. Illegal division by zero at /usr/lib64/nagios/plugins/contrib/check_nwc_health line 69382.

ethernet1/1/1 has an error but ethernet1/1/20 working fine.

I tried to upgrade plugin to last version 7.12.1.3.

Thank you

lausser commented 3 years ago

I have no idea what happens here. I could buy a Dell switch and try to find out, but sorry, no time for that. You can run snmpwalk ..... 1.3.6.1.2.1 > /tmp/dell.snmpwalk snmpwalk ..... 1.3.6.1.4.1 >> /tmp/dell.snmpwalk and send me this file. But do not expect an answer/fix before 2021, i am pretty busy.

UrbanDavid commented 3 years ago

Hi, thank you for your support. There are requested files and official MIB for Dell OS10.

OS10_Enterprise_MIB_10.5.2.0.zip dell.snmpwalk.zip