Skip to main content

Interface for ATEN-PE PDUs

Project description

# pductl - Control outlets of ATEN PE PDUs

## Requirements:

* Python 3
* PySNMP

## Installation:

```sh
python3 setup.py install
```

## Example configuration [~/.pductl]:
```json
{
"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` and `privkey` are required for SNMPv3. On absence, SNMPv2c gets used.
* `community` defaults to `private` for SNMPv2c.
* `node` defaults to PDU entry's name.
* `service` defaults to `"snmp"`, i.e. port 161.
* `username` defaults to `"administrator"` for SNMPv3.

## Usage:
```sh
pductl [-p <PDU>] list
pductl [-p <PDU>] <on|off|reboot|status> <OUTLET> [<OUTLET> ...]
```


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

atenpdu-0.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atenpdu-0.1.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file atenpdu-0.1.1.tar.gz.

File metadata

  • Download URL: atenpdu-0.1.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for atenpdu-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bc433cbe05bba91fd16eb4aff821e99ea97229341cdc422083572b43139cb55a
MD5 62f70cd20ed6b445f68ebd31fca93c05
BLAKE2b-256 bdf1387debea83edd3baf98702e6251609e884ecdebceb268bedd59a88b6270b

See more details on using hashes here.

File details

Details for the file atenpdu-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for atenpdu-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 159b98884fccf8464429d935933baeb71c7193a5a7d4da5e700464cfbfa504e4
MD5 abe42f3880d67c778ad5bded5356f93c
BLAKE2b-256 b428b24714c32fb9e3965385d133954dda9f10aa98a0152101e0eedabe4eb178

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page