Glorious1
Guru
- Joined
- Nov 23, 2014
- Messages
- 1,211
Right, for whatever reason (which apparently @Ericloewe identified - how can one person know so much?) some of those X9s seem to have different raw commands.
I think the fan mode commands are the same, but go into your IPMI gui and see how many fan modes are listed. The fan mode reading/setting may have to be modified slightly. In that modified script, he has set mode manually before running it, so he may have removed the setting part.
The raw commands for duty cycle reading/setting are different, so you can make those changes. It sounds like you are getting those to work?
For CPU, for now try changing "CPU Temp" to "CPU1 Temp". You could read both CPUs, but you would have to modify the output formatting to show it, and believe me that's a PITA. Maybe better would be to read them both, then use the highest one as CPU temperature.
EDIT: Or you could use the sysctl method for CPU temp as in spincheck for the other scripts - it seems to be working for you.
Reading RPMs seems to be working; that's not a raw command. For reading and displaying the additional fans, you get into the fun of formatting output. Just copy the stuff for fans 1-4 to 5-6 in the header and the data line. Then the header lines will lose alignment etc.
No idea about the CPU log - maybe a slight typo in the path or something?
EDIT: This has some good stuff too: https://www.reddit.com/r/homelab/comments/8fhomj/getting_those_supermicro_x9_motherboard_fans/ I don't think the duty needs to be given in the raw command as hex, at least it doesn't for the other boards.
I think the fan mode commands are the same, but go into your IPMI gui and see how many fan modes are listed. The fan mode reading/setting may have to be modified slightly. In that modified script, he has set mode manually before running it, so he may have removed the setting part.
The raw commands for duty cycle reading/setting are different, so you can make those changes. It sounds like you are getting those to work?
For CPU, for now try changing "CPU Temp" to "CPU1 Temp". You could read both CPUs, but you would have to modify the output formatting to show it, and believe me that's a PITA. Maybe better would be to read them both, then use the highest one as CPU temperature.
EDIT: Or you could use the sysctl method for CPU temp as in spincheck for the other scripts - it seems to be working for you.
Reading RPMs seems to be working; that's not a raw command. For reading and displaying the additional fans, you get into the fun of formatting output. Just copy the stuff for fans 1-4 to 5-6 in the header and the data line. Then the header lines will lose alignment etc.
No idea about the CPU log - maybe a slight typo in the path or something?
EDIT: This has some good stuff too: https://www.reddit.com/r/homelab/comments/8fhomj/getting_those_supermicro_x9_motherboard_fans/ I don't think the duty needs to be given in the raw command as hex, at least it doesn't for the other boards.
Last edited: