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": {
}
}
}
authkeyandprivkeyare required for SNMPv3. On absence, SNMPv2c gets used.communitydefaults toprivatefor SNMPv2c.nodedefaults to PDU entry's name.servicedefaults tosnmp, i.e. port 161.usernamedefaults toadministratorfor 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.7.2.tar.gz
(24.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
atenpdu-0.7.2-py3-none-any.whl
(25.9 kB
view details)
File details
Details for the file atenpdu-0.7.2.tar.gz.
File metadata
- Download URL: atenpdu-0.7.2.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.11.2 Linux/6.15.10-1.qubes.fc37.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f944150a2ceaa7255eee7b90518c1204eb624f05bed0b547d4769ab9c9c883d9
|
|
| MD5 |
b857e6f71819efc2b10dd19f7d6d6797
|
|
| BLAKE2b-256 |
8866d2b14c045be3ae3fbbe70c6dbaed58df169f9f004594f184b5eed059de02
|
File details
Details for the file atenpdu-0.7.2-py3-none-any.whl.
File metadata
- Download URL: atenpdu-0.7.2-py3-none-any.whl
- Upload date:
- Size: 25.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.11.2 Linux/6.15.10-1.qubes.fc37.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5c5a4fff98f9811c95d64d2dc6f1517ea86029706be85bc81578ca7a11ef57a
|
|
| MD5 |
5637fe003a369efb0b0c7b79cb49c00a
|
|
| BLAKE2b-256 |
896b2c1c0c2282f178a57256eb984f072ab293ea9a392bdb3a9e7ed6c6958c9f
|