ipmi-fan-control

GitHub license

A tool to control the fan speed by monitoring the temperature of CPU via IPMI.

Why

Our Dell R730 server's iDRAC is not works as expected. The fan always run full speed. And is very noisy, We digged but didn't fix out. So I build this to control the fan speed programmatically. And use RUST just for practice. Any contribute are welcome.

Usage

Download from release page (prebuilt binary via github actions), or build from source code.

bash cargo build --release

Install dependency, install (debian/pve):

bash apt install ipmitool

use ipmi-fan-control --help to see the usage.

bash ipmi-fan-control --help

``` USAGE: ipmi-fan-control [OPTIONS]

OPTIONS: -h, --help Print help information -V, --version Print version information --verbose Verbose output

SUBCOMMANDS: auto Auto adjust fan speed by interval checking CPU temperature fixed Set fixed RPM percentage for fan help Print this message or the help of the given subcommand(s) info Print CPU temperature and fan RPM ```

Resource