APC switched rack PDU control panel
Project description
APC Switched Rack PDU Control Panel
A Python/Flask based reimplementation of disisto's Control Panel to control multiple APC Switched Rack PDUs via SNMPv3. A single panel to switch (on, off, restart) the attached devices between different states.
Check https://github.com/disisto/apc-switched-rack-pdu-control-panel/wiki for details on how to configure the PDU
Requirements
- APC Switched Rack PDU(s) with enabled SNMPv3
Quick Install
Run locally
pip install apc_switched_rack_pdu_control_panel
curl -o config.py https://raw.githubusercontent.com/spike77453/apc-switched-rack-pdu-control-panel/python/instance/config.py.example
APC_PDU_SETTINGS=/absolute/path/to/config.py flask --app apc_switched_rack_pdu_control_panel run
Run as WSGI app
pip install apc_switched_rack_pdu_control_panel
curl -o config.py https://raw.githubusercontent.com/spike77453/apc-switched-rack-pdu-control-panel/python/instance/config.py.example
APC_PDU_SETTINGS=/absolute/path/to/config.py gunicorn 'apc_switched_rack_pdu_control_panel:app'
Supplying configuration data via flask instance folder
Altnatively, loading configuration settings from a flask instance folder is supported as well:
mkdir -p $PREFIX/var/apc_switched_rack_pdu_control_panel-instance
cd $PREFIX/var/apc_switched_rack_pdu_control_panel-instance
curl -o config.py https://raw.githubusercontent.com/spike77453/apc-switched-rack-pdu-control-panel/python/instance/config.py.example
Configuration settings supplied via an instance folder always take precedence over configuration data supplied via the APC_PDU_SETTINGS
environment variable.
This project is not affiliated with APC by Schneider Electric.
All mentioned trademarks are the property of their respective owners.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for apc_switched_rack_pdu_control_panel-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31d23b4d5f3fdd276fe19379706bb0f6e026585c850a62a04a9910361f200b4f |
|
MD5 | 04088204d85140a574f3bb3114a08554 |
|
BLAKE2b-256 | 51b774d9429cce870bebee60c921750875f47a31176ecce4bc0d5c88c77c0f7a |
Hashes for apc_switched_rack_pdu_control_panel-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03c17d460c55800c0e6ebd2d223fbb0813822f711436006d2b553ff8ad287e35 |
|
MD5 | 5cc19b8bf055e17900f9f1d3ccad6e48 |
|
BLAKE2b-256 | 4e203ce2eda05b21222ee3dc54ee10a2105746354eb35be93cbd1c2bf5a00aba |