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.4.0.tar.gz
(16.2 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.4.0-py3-none-any.whl
(16.9 kB
view details)
File details
Details for the file atenpdu-0.4.0.tar.gz.
File metadata
- Download URL: atenpdu-0.4.0.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.2 Linux/5.15.78-1.fc32.qubes.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a7e389c2856cbacff07e80b7373039dd9116f6fa07a8a234ffe00ab02a92d73
|
|
| MD5 |
327179b26cae36cc04f9507d0a8a9e9b
|
|
| BLAKE2b-256 |
8dc0ae9f1bebe47988cecb0a597aa7a379827cfd78e218886f6ad3ba5d032ee4
|
File details
Details for the file atenpdu-0.4.0-py3-none-any.whl.
File metadata
- Download URL: atenpdu-0.4.0-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.9.2 Linux/5.15.78-1.fc32.qubes.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b817f830460caa5446e2bb2a1a49eafef688639760e51d5434844e39f600573d
|
|
| MD5 |
2514e94182c0dd5d724d274f487d0768
|
|
| BLAKE2b-256 |
c020fa19fbf2cc06dc0892c885709a578fa3acb2bf13500a7bea86de1834f298
|