Skip to content
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

Change CPU_TEMPERATURE_TRESHOLD default value to "high" value returned by "lm-sensors" utility #26

Open
tigerblue77 opened this issue Jul 15, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tigerblue77
Copy link
Owner

# apt install -y lm-sensors
# sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +45.0°C  (high = +62.0°C, crit = +72.0°C)
Core 0:        +44.0°C  (high = +62.0°C, crit = +72.0°C)
Core 1:        +44.0°C  (high = +62.0°C, crit = +72.0°C)
Core 2:        +44.0°C  (high = +62.0°C, crit = +72.0°C)
Core 3:        +44.0°C  (high = +62.0°C, crit = +72.0°C)
Core 4:        +44.0°C  (high = +62.0°C, crit = +72.0°C)
Core 5:        +44.0°C  (high = +62.0°C, crit = +72.0°C)

coretemp-isa-0001
Adapter: ISA adapter
Package id 1:  +40.0°C  (high = +62.0°C, crit = +72.0°C)
Core 0:        +36.0°C  (high = +62.0°C, crit = +72.0°C)
Core 1:        +39.0°C  (high = +62.0°C, crit = +72.0°C)
Core 2:        +40.0°C  (high = +62.0°C, crit = +72.0°C)
Core 3:        +38.0°C  (high = +62.0°C, crit = +72.0°C)
Core 4:        +37.0°C  (high = +62.0°C, crit = +72.0°C)
Core 5:        +36.0°C  (high = +62.0°C, crit = +72.0°C)
@tigerblue77 tigerblue77 self-assigned this Jul 15, 2022
@tigerblue77 tigerblue77 changed the title Change algorithm to make it use lm-sensors Change CPU_TEMPERATURE_TRESHOLD default value to "high" value returned by "lm-sensors" utility Feb 4, 2023
@tigerblue77 tigerblue77 added the enhancement New feature or request label Apr 4, 2023
@jamesyale
Copy link

jamesyale commented May 30, 2024

It would be great if sensors could be used as the source for the CPU temperature too, older iDRAC accept the fan speed control but aren't able to respond to the commands to get the CPU temperatures:

30-05-2024 15:20:16    0°C    0°C  User static fan control profile (20%)°C  Disabled°C                                         -
./Dell_iDRAC_fan_controller.sh: line 94: [: -gt: unary operator expected
Unable to send RAW command (channel=0x0 netfn=0x30 lun=0x0 cmd=0x30 rsp=0xcc): Invalid data field in request
Unable to send RAW command (channel=0x0 netfn=0x30 lun=0x0 cmd=0xce rsp=0xc1): Invalid command
./Dell_iDRAC_fan_controller.sh: line 159: printf: -: invalid number
./Dell_iDRAC_fan_controller.sh: line 159: printf: -: invalid number

Thanks for the great utility 👍

@tigerblue77
Copy link
Owner Author

@jamesyale, thanks for your interest, feel free to contribute ! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants