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

HP Aruba JL071A 3810M hardware-health returns no sensors #235

Closed antonfischl1980 closed 4 years ago

antonfischl1980 commented 4 years ago

Hi,

it seems that the newer 3810M switches from HP have moved around some of the OIDs.

check_nwc_health --mode hardware-health produces this: OK - environmental hardware working fine checking sensors sensor 1 (Chassis Sensor) is notPresent

Sensors are definetly there, because on the CLI I can query them:

# show system fans Fan Information Num | State | Failures | Location -------+-------------+----------+---------- Fan-1 | Fan OK | 0 | Fan Tray Fan-2 | Fan OK | 0 | Fan Tray Fan-3 | Fan OK | 0 | Fan Tray Fan-4 | Fan OK | 0 | PS 1 Fan-5 | Fan OK | 0 | PS 2 0 / 5 Fans in Failure State 0 / 5 Fans have been in Failure State # show system temperature System Air Temperature Temp Current Max Min Sensor Temp Temp Temp Threshold OverTemp ------- -------- ----- ----- ---------- --------- Chassis 28C 30C 25C 45C NO # show system power-supply Power Supply Status: PS# Model Serial State AC/DC + V Wattage Max ----- --------- ----------- --------------- ----------------- --------- ------ 1 JL085A CN96GZ80Y0 Powered AC 120V/240V 27 250 2 JL085A CN96GZ80XK Powered AC 120V/240V 19 250 2 / 2 supply bays delivering power. Currently supplying 46 W / 500 W total power. It seems that the hardware-infos are on OID .1.3.6.1.2.1.47.1.1.1.1 instead of 1.3.6.1.4.1.11.2.14.11.1.2.6 I already made --mode=walk and will email you the result. Thanks in Advance.
antonfischl1980 commented 4 years ago

Thank you,

Commit 71a6607850960760f21eabcc1db82b9056c01a3e fixed this issue :)