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.8.0.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.8.0-py3-none-any.whl
(26.0 kB
view details)
File details
Details for the file atenpdu-0.8.0.tar.gz.
File metadata
- Download URL: atenpdu-0.8.0.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.19.5-1.qubes.fc37.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd542631d597d2b3c0ae6e6ebd2b006ef8a8abf52266ac636465b60d35473418
|
|
| MD5 |
0ce76a2f2479cc9792b41c07cfd818a9
|
|
| BLAKE2b-256 |
d78a1d690388acd7b15f7e1990147f8120eb19486e75955c7ac558954dd35e80
|
File details
Details for the file atenpdu-0.8.0-py3-none-any.whl.
File metadata
- Download URL: atenpdu-0.8.0-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.11.2 Linux/6.19.5-1.qubes.fc37.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71d0699e1c0c487f643934ef206a2fb0471dda03d2fe890be75478bd36add76c
|
|
| MD5 |
926a1f0bd6d60a97dcff3e8c8cc5286d
|
|
| BLAKE2b-256 |
52c86403636df88df3d0081ed77fcbfbe937e6e93565ed550d16ec38cab1126d
|