Code Monkey home page Code Monkey logo

fan-supervisor-proxmox's Introduction

fan-supervisor-proxmox

Custom silent fan profile.

The script will check the CPU temperature ever 2 seconds. Fans will be set to manual and low RPM unless the temperature reaches the UPPER_TEMP value. Upon reaching the upper value, the iDRAC settings kick in and manual fan control is disabled.

Prerequisite

For this to work, the script relies on the ipmitool binary. Make sure to install the ipmitool

apt update
apt install ipmitool

Customize and Install

Customizations can be applied to the scripts.

  1. Update the SENSOR_ID value in the start_fan_supervisor.sh script. To get your sensor id run this after installing the ipmitool.
ipmitool sdr type temperature

Sample output:

Inlet Temp		| 04h | ok  |  7.1 | 26 degrees C
Temp			| 0Eh | ok  |  3.1 | 49 degrees C
Temp			| 0Fh | ok  |  3.2 | 52 degrees C

Select the sensor id to be monitored and update the SENSOR_ID value.

  1. Modify the scripts to your needs.

  2. Copy the scripts and the service files in their appropriate directories

/opt/fan_supervisor/start_fan_supervisor.sh
/opt/fan_supervisor/stop_fan_supervisor.sh
/etc/systemd/system/fan_supervisor.service
  1. Reload systemd
systemctl daemon-reload
  1. Enable the service to start on boot
systemctl enable fan_supervisor
  1. Start the service for current session or reboot
systemctl start fan_supervisor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.