-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on some hosts #55
Comments
I have applied a bugfix for that. Check-out my pull request or the whole fork in my repos. |
with your tool fork ive got the following error at the end... root@smon03:/usr/lib/nagios/plugins/idrac# ./idrac_2.2rc4 -H 1.1.1.9 -v2c -c SnmPv2c-T3st |
Hi Christian, In the aforementioned line (#417) an integer is expected but a string is provided ('Bad') Thanks, |
Fixed: https://github.com/eeshlomi/check_idrac/tree/d93738dc0bcb60f5a1c550153ba0b74160df30dd |
on some dell host's ive got the following error...
Plugin-Ausgabe
PS
--PS 1: OK, Volt I/O: 264 V/228.0 V, Current: 0.8 A, Watt I/O: 900.0 W/750.0 W
--PS 2: OK, Volt I/O: 264 V/228.0 V, Current: 0.2 A, Watt I/O: 900.0 W/750.0 W
FAN
--System Board Fan1: 4560 RPM - ENABLED/OK
--System Board Fan2: 4680 RPM - ENABLED/OK
--System Board Fan3: 4680 RPM - ENABLED/OK
--System Board Fan4: 4560 RPM - ENABLED/OK
--System Board Fan5: 4560 RPM - ENABLED/OK
--System Board Fan6: 4440 RPM - ENABLED/OK
BATTERY
--System Board CMOS Battery: ENABLED/OK [PRESENCEDETECTED]
--PERC1 ROMB Battery: ENABLED/OK [PRESENCEDETECTED]
--PERC2 ROMB Battery: ENABLED/OK [0]
PU
--PU 1: ENABLED/OK, RedundancyStatus: FULL, SystemBoard Pwr Consumption: 196 W
MEM
--Memory 1 (DIMM Socket A1) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
--Memory 2 (DIMM Socket A2) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
--Memory 3 (DIMM Socket A3) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
--Memory 4 (DIMM Socket A4) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
--Memory 5 (DIMM Socket A5) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
--Memory 6 (DIMM Socket B1) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
--Memory 7 (DIMM Socket B2) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
--Memory 8 (DIMM Socket B3) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
--Memory 9 (DIMM Socket B4) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
--Memory 10 (DIMM Socket B5) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
--Memory 11 (DIMM Socket A7) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
--Memory 12 (DIMM Socket A8) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
--Memory 13 (DIMM Socket B7) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
--Memory 14 (DIMM Socket B8) 32.0 GB/1333 MHz: ENABLED/OK [DDR3, Samsung, S/N: YYYYYYYYYYYY]
VDISK
--VDisk 1 (): OK/ONLINE, RAID-1 (136.13 GB), BadBlock: 0 [Virtual Disk 0 on Integrated RAID Controller 1]
DISK
--PDisk 1 (0:1:0) 136.13 GB: ONLINE, PowerStat: SPUNUP, HotSpare: no [TOSHIBA, S/N: YYYYYYYYYYYY]
--PDisk 2 (0:1:1) 136.13 GB: ONLINE, PowerStat: SPUNUP, HotSpare: no [TOSHIBA, S/N: YYYYYYYYYYYY]
Traceback (most recent call last):
File "/usr/lib/nagios/plugins/check_dell_idrac.py", line 885, in
result, tmp_code = PARSER(host, hw_info, hw_order, hw_no_alert, hw_mib, perf).main()
File "/usr/lib/nagios/plugins/check_dell_idrac.py", line 718, in main
else: hw_3 = round(float(hw[3])/10, 1)
ValueError: could not convert string to float: "CPU1 TEMP"
on 1 other host ive got a timeout.... (like this)
PS
--PS 1: OK, Volt I/O: 264 V/(N/A) V, Current: 0.2 A, Watt I/O: 900.0 W/750.0 W
--PS 2: OK, Volt I/O: 264 V/(N/A) V, Current: 21.0 A, Watt I/O: 900.0 W/750.0 W
FAN
--System Board Fan1: 3000 RPM - ENABLED/OK
--System Board Fan2: 2880 RPM - ENABLED/OK
--System Board Fan3: 3000 RPM - ENABLED/OK
--System Board Fan4: 2880 RPM - ENABLED/OK
--System Board Fan5: 3000 RPM - ENABLED/OK
--System Board Fan6: 3000 RPM - ENABLED/OK
BATTERY
--System Board CMOS Battery: ENABLED/OK [PRESENCEDETECTED]
PU
--PU 1: ENABLED/OK, RedundancyStatus: FULL, SystemBoard Pwr Consumption: 210 W
MEM
--Memory 1 (DIMM Socket A1) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 2 (DIMM Socket A2) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 3 (DIMM Socket A3) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 4 (DIMM Socket A4) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 5 (DIMM Socket A5) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 6 (DIMM Socket A6) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 7 (DIMM Socket A7) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 8 (DIMM Socket A8) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 9 (DIMM Socket B1) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 10 (DIMM Socket B2) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 11 (DIMM Socket B3) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 12 (DIMM Socket B4) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 13 (DIMM Socket B5) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 14 (DIMM Socket B6) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 15 (DIMM Socket B7) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
--Memory 16 (DIMM Socket B8) 32.0 GB/2400 MHz: ENABLED/OK [26, Samsung, S/N: YYYYYYYYYYYY]
VDISK
--VDisk 1 (Volume0): OK/ONLINE, RAID-1 (185.75 GB), BadBlock: 0 [Virtual Disk 0 on Integrated RAID Controller 1]
DISK
--PDisk 1 (0:1:0) 185.75 GB: ONLINE, PowerStat: ON, HotSpare: no [ATA, S/N: YYYYYYYYYYYY]
--PDisk 2 (0:1:1) 185.75 GB: ONLINE, PowerStat: ON, HotSpare: no [ATA, S/N: YYYYYYYYYYYY]
SNMP Timeout!
The text was updated successfully, but these errors were encountered: