FreeNAS-scripts icon indicating copy to clipboard operation
FreeNAS-scripts copied to clipboard

get_hdd_temp.sh not working alright with Dell iDRAC 8

Open weust1979 opened this issue 4 years ago • 0 comments

My server is a Dell R730xd with iDRAC 8 and the way the script reads CPU temperatures will perhaps work for a SuperMicro IPMI, but not for a iDRAC 8 setup. iDRAC only has a "Temp" entry per CPU. Not even "CPU 0 TEMP", just Temp.

So, in my server, a dual socket with only one occupied, the script shows this when using ipmi:

=== CPU (0) === [: : bad number CPU 1: [C] [: : bad number CPU 0: [C]

When run part of the line from the script it shows this:

$ doas ipmitool -I lanplus -H 10.42.10.10 -U root -f /root/ipmi_password sdr elist all | grep Temp Inlet Temp | 04h | ok | 7.1 | 24 degrees C Exhaust Temp | 01h | ok | 7.1 | 33 degrees C Temp | 0Eh | ok | 3.1 | 43 degrees C Temp | 0Fh | ns | 3.2 | Disabled

The second Temp line is the second socket which is not used in my server.

Oddly enough, the iDRAC Temp is higher then what sysctl shows, but I am guessing iDRAC shows the package temperature and not some combined/divided temperature.

$ sh get_hdd_temp.sh === CPU (16) === CPU 0: 37C CPU 1: 38C CPU 2: 38C CPU 3: 38C CPU 4: 37C CPU 5: 37C CPU 6: 36C CPU 7: 36C CPU 8: 37C CPU 9: 38C CPU 10: 36C CPU 11: 37C CPU 12: 38C CPU 13: 39C CPU 14: 36C CPU 15: 36C

I checked with sysctl but there doesn't seem to be a package temperature available.

It would be nice to have iDRAC support. I can deliver a full "sdr elist all" if wanted. It's rather long.

weust1979 avatar Oct 18 '21 12:10 weust1979