Skip to main content

Manager your Dell PowerEdge Fan Speed with this handy tool!

Project description

Fan-Manager

Version: 0.4.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.4.0-py2.py3-none-any.whl (16.7 kB view hashes)

Uploaded Python 2 Python 3

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