Skip to content

get_hdd_temp.sh not working alright with Dell iDRAC 8 #19

@weust1979

Description

@weust1979

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions