Skip to main content

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
    • Tested with APC Switched Rack PDU AP7920 and AP7921 on EOL firmware v3.9.2
    • Tested with APC Switched Rack PDU AP7920B on latest firmware v6.5.6

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

File details

Details for the file apc_switched_rack_pdu_control_panel-0.2.1.tar.gz.

File metadata

File hashes

Hashes for apc_switched_rack_pdu_control_panel-0.2.1.tar.gz
Algorithm Hash digest
SHA256 f3c19d996dbc3d24ebb42d4998944ddf4e7d1a425a944f5bc74ba3015a642744
MD5 c615ffb48d662fbef7be4cf40791bb4c
BLAKE2b-256 42b3ad1707f9a741e91e27813b4581bbf470875be8133b1def10f946ce8fbb8a

See more details on using hashes here.

Provenance

File details

Details for the file apc_switched_rack_pdu_control_panel-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for apc_switched_rack_pdu_control_panel-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62ed3be9cccc2f7080993606bfabbc061b79452099709ee3bcc4e40f77d16ea2
MD5 f3f3e0edf2fcbddef04f6f2ff4c88a83
BLAKE2b-256 d3bcdf68cedbc562bcadd62891fca286540a89471328c392c1e8312a5b2fe7fb

See more details on using hashes here.

Provenance

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