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
Alternatively, 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
In an activated virtualenv $PREFIX
is equivalent to $VIRTUAL_ENV
.
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
File details
Details for the file apc_switched_rack_pdu_control_panel-0.2.2.tar.gz
.
File metadata
- Download URL: apc_switched_rack_pdu_control_panel-0.2.2.tar.gz
- Upload date:
- Size: 78.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de69ffc2488a472377b9a2c026b2d52984666e94369a3b11b82b4ca447276669 |
|
MD5 | e12ed3136f9fd032fadb372211d8dd70 |
|
BLAKE2b-256 | 40b05655c081d86e6fdee7489ea70db9ccf780f6277da7f910f23cf29ca2acc8 |
Provenance
File details
Details for the file apc_switched_rack_pdu_control_panel-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: apc_switched_rack_pdu_control_panel-0.2.2-py3-none-any.whl
- Upload date:
- Size: 79.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83a04bc50d06f8b1731143b5036b2582fda6c8c0c75d35e1721d36fe7c22c1f6 |
|
MD5 | 48c8d36415c3a3494401104f7a9c7b11 |
|
BLAKE2b-256 | fad12a9e34d0ceec51abf68afae0c11fe1dbc9ac6123198743a524b589c419af |