Skip to main content

Manager your Dell PowerEdge Fan Speed with this handy tool!

Project description

Fan-Manager

Version: 0.2.0

Manager your Dell PowerEdge Fan Speed with this handy tool!

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

Install Instructions

Install Python Package

python -m pip install fan-manager

Build Instructions

Build Python Package

sudo chmod +x ./*.py
sudo pip install .
python3 setup.py bdist_wheel --universal
# Test Pypi
twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose -u "Username" -p "Password"
# Prod Pypi
twine upload dist/* --verbose -u "Username" -p "Password"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

fan_manager-0.2.0-py2.py3-none-any.whl (16.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file fan_manager-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for fan_manager-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4a1228a695cc7fb1f64afb500ff62163767995d21e08a4c22b678de19c5452e4
MD5 c3f437419aac86fe1379b1315c69ae65
BLAKE2b-256 c8d9a597174814b82c69453734f4ee88f9ea2916bbc4fe57c0b617e0047b17d7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page