Skip to content

Knuckles-Team/fan-manager

Repository files navigation

Fan-Manager

PyPI - Version PyPI - Downloads GitHub Repo stars GitHub forks GitHub contributors PyPI - License GitHub

GitHub last commit (by committer) GitHub pull requests GitHub closed pull requests GitHub issues

GitHub top language GitHub language count GitHub repo size GitHub repo file count (file type) PyPI - Wheel PyPI - Implementation

Version: 0.6.1

Manager your Dell PowerEdge Fan Speed with this handy tool!

This repository is actively maintained - Contributions are welcome!

Contribution Opportunities:

  • Increase support of Dell PowerEdge Devices
  • Support Non-PowerEdge Devices
  • Support Non-Dell Devices
Usage:
Short Flag Long Flag Description
-h --help See usage for fan-manager
-i --intensity Intensity of Fan Speed - Scales Logarithmically (0-10)
-c --cold Minimum Temperature for Fan Speed
-w --warm Maximum Temperature for Fan Speed
-s --slow Minimum Fan Speed
-f --fast Maximum Fan Speed
-p --poll-rate Poll Rate for CPU Temperature in Seconds
Example:

Python

fan-manager --intensity 5 --cold 50 --warm 80 --slow 5 --fast 100 --poll-rate 24

Dockerfile

FROM ubuntu:latest AS ubuntu
RUN apt update && apt upgrade -y && apt install -y dos2unix lm-sensors ipmitool wget curl git python3 python-is-python3 python3-pip gcc
RUN python -m pip install --upgrade pip
RUN python -m pip install --upgrade fan-manager
CMD ["fan-manager --intensity 5 --cold 50 --warm 80 --slow 5 --fast 100 --poll-rate 24"]

Docker Compose

---
version: '3.9'

services:
  server_fan_speed:
    build: .
    container_name: server_fan_speed
    privileged: true
    volumes:
      - /dev/ipmi0:/dev/ipmi0
    restart: unless-stopped

Docker Run

docker run -it -d server_fan_speed fan-manager

Docker Compose

docker-compose up --build -d
Installation Instructions:

Install Python Package

python -m pip install fan-manager
Repository Owners:

GitHub followers GitHub User's stars