Interface for ATEN-PE PDUs
Project description
pductl - Control outlets of ATEN PE PDUs
Installation
pip install atenpdu
Example configuration [~/.pductl]
{
"format": 1,
"pdus": {
"pdu1": {
"node": "pdu1",
"service": "snmp",
"username": "administrator",
"authkey": "AAAAAAAAAAAAAA",
"privkey": "BBBBBBBBBBBBBB"
},
"pdu2": {
"authkey": "CCCCCCCCCCCCCC",
"privkey": "DDDDDDDDDDDDDD"
},
"pdu3": {
"node": "192.168.21.19",
"service": "16161",
"username": "joe",
"authkey": "EEEEEEEEEEEEEE",
"privkey": "FFFFFFFFFFFFFF"
},
"pdu4": {
"community": "private"
},
"pdu5": {
}
}
}
authkey
andprivkey
are required for SNMPv3. On absence, SNMPv2c gets used.community
defaults toprivate
for SNMPv2c.node
defaults to PDU entry's name.service
defaults tosnmp
, i.e. port 161.username
defaults toadministrator
for SNMPv3.
Usage
pductl [-p <PDU>] list
pductl [-p <PDU>] <on|off|reboot|status> <OUTLET> [<OUTLET> ...]
Use ALL
to select all outlets.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
atenpdu-0.6.3.tar.gz
(15.8 kB
view details)
Built Distribution
atenpdu-0.6.3-py3-none-any.whl
(16.9 kB
view details)
File details
Details for the file atenpdu-0.6.3.tar.gz
.
File metadata
- Download URL: atenpdu-0.6.3.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.2 Linux/6.6.48-1.qubes.fc37.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05c0b0e72e4b0748cba7d7513f466c00e6d3674ee44be87e1e6f0f6743705371 |
|
MD5 | 2f6a68a0755a9f28dc9100fb98272ebe |
|
BLAKE2b-256 | 76ded7c01e49ebb1bc4031815c02667e4a81654826c27887306ce1fe7bc4372e |
File details
Details for the file atenpdu-0.6.3-py3-none-any.whl
.
File metadata
- Download URL: atenpdu-0.6.3-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.2 Linux/6.6.48-1.qubes.fc37.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 609d4023c96ec8a3ccac7b296f11a354db4565487aa9a79c4f33096ef474cf84 |
|
MD5 | 2b59a7cdc5cfacc3540d878861995efc |
|
BLAKE2b-256 | e3567b3e7d3c4d8be4a1130f1b97973e8e0669f559bcdbe637f4d2d567a6115d |