mirror of
https://github.com/tigerblue77/Dell_iDRAC_fan_controller_Docker.git
synced 2025-10-23 04:51:57 +00:00
Fixed a typo in "threshold" word
This commit is contained in:
@@ -127,7 +127,7 @@ fi
|
||||
|
||||
# Log the fan speed objective, CPU temperature threshold and check interval
|
||||
echo "Fan speed objective: $DECIMAL_FAN_SPEED%"
|
||||
echo "CPU temperature treshold: $CPU_TEMPERATURE_TRESHOLD°C"
|
||||
echo "CPU temperature threshold: $CPU_TEMPERATURE_THRESHOLD°C"
|
||||
echo "Check interval: ${CHECK_INTERVAL}s"
|
||||
echo ""
|
||||
|
||||
@@ -166,10 +166,10 @@ while true; do
|
||||
retrieve_temperatures $IS_EXHAUST_TEMPERATURE_SENSOR_PRESENT $IS_CPU2_TEMPERATURE_SENSOR_PRESENT
|
||||
|
||||
# Define functions to check if CPU 1 and CPU 2 temperatures are above the threshold
|
||||
function CPU1_OVERHEAT () { [ $CPU1_TEMPERATURE -gt $CPU_TEMPERATURE_TRESHOLD ]; }
|
||||
function CPU1_OVERHEAT () { [ $CPU1_TEMPERATURE -gt $CPU_TEMPERATURE_THRESHOLD ]; }
|
||||
if $IS_CPU2_TEMPERATURE_SENSOR_PRESENT
|
||||
then
|
||||
function CPU2_OVERHEAT () { [ $CPU2_TEMPERATURE -gt $CPU_TEMPERATURE_TRESHOLD ]; }
|
||||
function CPU2_OVERHEAT () { [ $CPU2_TEMPERATURE -gt $CPU_TEMPERATURE_THRESHOLD ]; }
|
||||
fi
|
||||
|
||||
# Initialize a variable to store the comments displayed when the fan control profile changed
|
||||
@@ -209,7 +209,7 @@ while true; do
|
||||
if $IS_DELL_FAN_CONTROL_PROFILE_APPLIED
|
||||
then
|
||||
IS_DELL_FAN_CONTROL_PROFILE_APPLIED=false
|
||||
COMMENT="CPU temperature decreased and is now OK (<= $CPU_TEMPERATURE_TRESHOLD°C), user's fan control profile applied."
|
||||
COMMENT="CPU temperature decreased and is now OK (<= $CPU_TEMPERATURE_THRESHOLD°C), user's fan control profile applied."
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@@ -16,7 +16,7 @@ ENV IDRAC_HOST local
|
||||
#ENV IDRAC_USERNAME root
|
||||
#ENV IDRAC_PASSWORD calvin
|
||||
ENV FAN_SPEED 5
|
||||
ENV CPU_TEMPERATURE_TRESHOLD 50
|
||||
ENV CPU_TEMPERATURE_THRESHOLD 50
|
||||
ENV CHECK_INTERVAL 60
|
||||
ENV DISABLE_THIRD_PARTY_PCIE_CARD_DELL_DEFAULT_COOLING_RESPONSE false
|
||||
|
||||
|
12
README.md
12
README.md
@@ -66,7 +66,7 @@ docker run -d \
|
||||
--restart=unless-stopped \
|
||||
-e IDRAC_HOST=local \
|
||||
-e FAN_SPEED=<decimal or hexadecimal fan speed> \
|
||||
-e CPU_TEMPERATURE_TRESHOLD=<decimal temperature treshold> \
|
||||
-e CPU_TEMPERATURE_THRESHOLD=<decimal temperature threshold> \
|
||||
-e CHECK_INTERVAL=<seconds between each check> \
|
||||
-e DISABLE_THIRD_PARTY_PCIE_CARD_DELL_DEFAULT_COOLING_RESPONSE=<true or false> \
|
||||
--device=/dev/ipmi0:/dev/ipmi0:rw \
|
||||
@@ -83,7 +83,7 @@ docker run -d \
|
||||
-e IDRAC_USERNAME=<iDRAC username> \
|
||||
-e IDRAC_PASSWORD=<iDRAC password> \
|
||||
-e FAN_SPEED=<decimal or hexadecimal fan speed> \
|
||||
-e CPU_TEMPERATURE_TRESHOLD=<decimal temperature treshold> \
|
||||
-e CPU_TEMPERATURE_THRESHOLD=<decimal temperature threshold> \
|
||||
-e CHECK_INTERVAL=<seconds between each check> \
|
||||
-e DISABLE_THIRD_PARTY_PCIE_CARD_DELL_DEFAULT_COOLING_RESPONSE=<true or false> \
|
||||
tigerblue77/dell_idrac_fan_controller:latest
|
||||
@@ -104,7 +104,7 @@ services:
|
||||
environment:
|
||||
- IDRAC_HOST=local
|
||||
- FAN_SPEED=<decimal or hexadecimal fan speed>
|
||||
- CPU_TEMPERATURE_TRESHOLD=<decimal temperature treshold>
|
||||
- CPU_TEMPERATURE_THRESHOLD=<decimal temperature threshold>
|
||||
- CHECK_INTERVAL=<seconds between each check>
|
||||
- DISABLE_THIRD_PARTY_PCIE_CARD_DELL_DEFAULT_COOLING_RESPONSE=<true or false>
|
||||
devices:
|
||||
@@ -126,7 +126,7 @@ services:
|
||||
- IDRAC_USERNAME=<iDRAC username>
|
||||
- IDRAC_PASSWORD=<iDRAC password>
|
||||
- FAN_SPEED=<decimal or hexadecimal fan speed>
|
||||
- CPU_TEMPERATURE_TRESHOLD=<decimal temperature treshold>
|
||||
- CPU_TEMPERATURE_THRESHOLD=<decimal temperature threshold>
|
||||
- CHECK_INTERVAL=<seconds between each check>
|
||||
- DISABLE_THIRD_PARTY_PCIE_CARD_DELL_DEFAULT_COOLING_RESPONSE=<true or false>
|
||||
```
|
||||
@@ -142,7 +142,7 @@ All parameters are optional as they have default values (including default iDRAC
|
||||
- `IDRAC_USERNAME` parameter is only necessary if you're adressing a distant iDRAC. **Default** value is "root".
|
||||
- `IDRAC_PASSWORD` parameter is only necessary if you're adressing a distant iDRAC. **Default** value is "calvin".
|
||||
- `FAN_SPEED` parameter can be set as a decimal (from 0 to 100%) or hexadecimaladecimal value (from 0x00 to 0x64) you want to set the fans to. **Default** value is 5(%).
|
||||
- `CPU_TEMPERATURE_TRESHOLD` parameter is the T°junction (junction temperature) threshold beyond which the Dell fan mode defined in your BIOS will become active again (to protect the server hardware against overheat). **Default** value is 50(°C).
|
||||
- `CPU_TEMPERATURE_THRESHOLD` parameter is the T°junction (junction temperature) threshold beyond which the Dell fan mode defined in your BIOS will become active again (to protect the server hardware against overheat). **Default** value is 50(°C).
|
||||
- `CHECK_INTERVAL` parameter is the time (in seconds) between each temperature check and potential profile change. **Default** value is 60(s).
|
||||
- `DISABLE_THIRD_PARTY_PCIE_CARD_DELL_DEFAULT_COOLING_RESPONSE` parameter is a boolean that allows to disable third-party PCIe card Dell default cooling response. **Default** value is false.
|
||||
|
||||
@@ -152,7 +152,7 @@ All parameters are optional as they have default values (including default iDRAC
|
||||
## Troubleshooting
|
||||
|
||||
If your server frequently switches back to the default Dell fan mode:
|
||||
1. Check `Tcase` (case temperature) of your CPU on Intel Ark website and then set `CPU_TEMPERATURE_TRESHOLD` to a slightly lower value. Example with my CPUs ([Intel Xeon E5-2630L v2](https://www.intel.com/content/www/us/en/products/sku/75791/intel-xeon-processor-e52630l-v2-15m-cache-2-40-ghz/specifications.html)) : Tcase = 63°C, I set `CPU_TEMPERATURE_TRESHOLD` to 60(°C).
|
||||
1. Check `Tcase` (case temperature) of your CPU on Intel Ark website and then set `CPU_TEMPERATURE_THRESHOLD` to a slightly lower value. Example with my CPUs ([Intel Xeon E5-2630L v2](https://www.intel.com/content/www/us/en/products/sku/75791/intel-xeon-processor-e52630l-v2-15m-cache-2-40-ghz/specifications.html)) : Tcase = 63°C, I set `CPU_TEMPERATURE_THRESHOLD` to 60(°C).
|
||||
2. If it's already good, adapt your `FAN_SPEED` value to increase the airflow and thus further decrease the temperature of your CPU(s)
|
||||
3. If neither increasing the fan speed nor increasing the threshold solves your problem, then it may be time to replace your thermal paste
|
||||
|
||||
|
Reference in New Issue
Block a user