项目作者: putnam

项目描述 :
Tools for managing fans on Supermicro chassis
高级语言: Python
项目地址: git://github.com/putnam/superfans.git
创建时间: 2018-02-22T10:40:38Z
项目社区:https://github.com/putnam/superfans

开源协议:MIT License

下载


superfans

Tools for managing fans on Supermicro chassis via IPMI.

This has been tested successfully on X10 and X11 boards as well as the
CSE-PTJBOD-CS3 management board. Please report compatibility issues at:
https://github.com/putnam/superfans/issues

Requires ipmitool, python3 and click (pip3 install click)

  1. Usage: superfans [OPTIONS] COMMAND [ARGS]...
  2. Tools for managing fans on a Supermicro chassis.
  3. Fan presets can be adjusted, or fans manually updated to a certain speed.
  4. If a hostname is specified, superfans will use the specified username and
  5. password to connect. If a hostname is not specified, ipmitool will talk to
  6. the local machine using the IPMI kernel module.
  7. When setting fan speed manually, the fan preset must be set to Full, or
  8. else the hardware fan controller will automatically adjust the speed again
  9. after some time has passed.
  10. For a list of presets, use `superfans preset --help`.
  11. If needed, the hostname, username, and password options should precede
  12. commands. A hostname of "localhost" (the default) will skip IPMI over
  13. lanplus and use the kernel module instead.
  14. Example:
  15. ./superfans -h bigbertha -u monkey -p secrets preset full
  16. Options:
  17. -h, --hostname TEXT Remote hostname (default: localhost)
  18. -u, --username TEXT Remote IPMI username
  19. -p, --password TEXT Remote IPMI password
  20. -e, --env-password Use IPMI_PASSWORD environment variable for password
  21. --help Show this message and exit.
  22. Commands:
  23. preset Applies a factory preset to fan controller.
  24. set Set fan speed to a fixed %.
  25. status Retrieves fan controller preset & fan speed.