#fan #control #ipmi #server #temperature #speed #monitoring

app ipmi-fan-control

ipmi fan control, is a tool to control fan speed by monitoring cpu temperature

10 releases

0.1.9 Apr 24, 2023
0.1.8 Nov 28, 2022
0.1.7 Sep 30, 2022
0.1.5 Jul 21, 2022
0.1.3 Jun 13, 2022

#248 in Hardware support

49 downloads per month

MIT license

14KB
277 lines

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.

cargo build --release

Install dependency, install (debian/pve):

apt install ipmitool

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

ipmi-fan-control --help
USAGE:
    ipmi-fan-control [OPTIONS] <SUBCOMMAND>

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

Dependencies

~7–15MB
~169K SLoC