This repository contains an script and a SystemD service to periodically monitor CPU temperature and adjust fans.
- Clone this repository
- Put your iBMC IP and SNMP community in the
fancontrol.sh
script. - Modify temperatures or fan speeds in the script, if needed.
- Execute
./install.sh
In order for the script to be able to set the configuration of the fans, you need to enable SNMP v2c and configure a community key.
To do so:
- Log in into your iBMC
- Go to
Configuration
>System
- Enable
SNMPv2c
- Put a password-like value in
Read/Write Community
and in theConfirm Read/Write Community
fields. - Save
Warning: Do not share your community value. It can be used to access your iBMC configuration and change it. It is a password.
- Huawei RH2288H v3