English · 繁體中文 · Public container images
Control Dell PowerEdge fans using iDRAC temperature sensors, ESXi NVMe SMART, Linux disks, or NVIDIA GPUs. Set up, diagnose, monitor, and run the controller from the same image.
Try the dashboard with simulated data before connecting a server. Press q to quit. latest tracks the default branch. To try a pull request preview, use its pr-<number> tag in the demo and setup.
docker run --rm -it ghcr.io/df-wu/idrac-fan-control:latest monitor --demoUse a Linux Docker host that can reach iDRAC over UDP 623. Enable IPMI over LAN and use an account with permission to control the fans. The maintainer tested a PowerEdge R730xd with iDRAC 8. OEM fan commands vary with model and firmware, and community tests report that iDRAC 9 firmware 3.34.34.34 and later reject these commands. Dell iDRAC8 IPMI settings · Community compatibility notes
-
Pull the image and open setup. Run steps 1–4 in the same terminal and installation directory so each command uses the same image and configuration.
mkdir -p idrac-fan-control cd idrac-fan-control image=ghcr.io/df-wu/idrac-fan-control:latest docker pull "$image" mkdir -p -m 700 config logs docker run --rm -it --network host \ -v "$PWD/config:/config" "$image" setup
Choose Quick setup wizard and enter the iDRAC address and credentials. Under temperature sources, choose iDRAC sensors only, confirm the configuration, then choose Save and exit. The wizard writes
config/.envwith mode600. Keep that file private. Add disk or GPU monitoring after the iDRAC-only setup works. Device discovery and mappings -
Check the connection and temperature readings. Continue once the read-only diagnosis reports
PASSfor the iDRAC connection, each enabled source, and the decision preview. If any check fails, use the diagnostic output to fix it before proceeding. Troubleshootingdocker run --rm --network host -v "$PWD/config:/config:ro" "$image" diagnose
-
Verify manual control and restore. Keep the iDRAC UI open during a supervised maintenance window. Briefly command full fan speed and observe RPM.
docker run --rm --network host -v "$PWD/config:/config:ro" "$image" manual 100
Run this separate command even if the preceding write fails. Confirm Dell automatic control and the fan response in iDRAC before proceeding.
docker run --rm --network host -e DRY_RUN=false \ -v "$PWD/config:/config:ro" "$image" restore
-
Start the controller. Check the first fan decision and observe temperatures under normal load before leaving it unattended.
docker run -d --name idrac-fan-control --restart unless-stopped \ --stop-timeout 120 --network host \ -v "$PWD/config:/config:ro" -v "$PWD/logs:/var/log/fan-control" \ "$image" auto docker logs -f idrac-fan-control
Press Ctrl+C to exit the log viewer.
docker ps --filter name=idrac-fan-controlshows the container's health. It becomes healthy after a successful automatic cycle, which can include a fail-safe cycle. Check the logs for sensor failures and iDRAC for actual fan RPM. Service health
Open the live dashboard from the installation directory after the first control cycle. Use the local image ID of the running controller so the command also works in a new terminal.
image="$(docker inspect --format '{{.Image}}' idrac-fan-control)"
docker run --rm -it -v "$PWD/config:/config:ro" \
-v "$PWD/logs:/var/log/fan-control:ro" "$image" monitorStop the service from the installation directory before restoring Dell automatic control. Use the address and credentials for the server the controller was running against. If you changed the configuration after startup, use the saved original configuration or restore in that server’s iDRAC UI. Confirm the fan mode and temperatures in iDRAC. Recovery details
image="$(docker inspect --format '{{.Image}}' idrac-fan-control)"
docker stop idrac-fan-control
docker run --rm --network host -e DRY_RUN=false \
-v "$PWD/config:/config:ro" "$image" restore- Set up a TrueNAS SCALE Custom App with persistent dataset paths. TrueNAS guide
- Keep an existing Compose service and its environment file when upgrading the image. Upgrade and rollback
- Choose disks and GPUs, set offsets, and learn how fan duty is calculated. Temperature source guide
- Read the live dashboard and diagnose setup problems. Dashboard guide · Troubleshooting