Skip to main content

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 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

pductl [-p <PDU>] list
pductl [-p <PDU>] <on|off|reboot|status> <OUTLET> [<OUTLET> ...]

Use ALL to select all outlets.

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.6.3.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

atenpdu-0.6.3-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

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

Hashes for atenpdu-0.6.3.tar.gz
Algorithm Hash digest
SHA256 05c0b0e72e4b0748cba7d7513f466c00e6d3674ee44be87e1e6f0f6743705371
MD5 2f6a68a0755a9f28dc9100fb98272ebe
BLAKE2b-256 76ded7c01e49ebb1bc4031815c02667e4a81654826c27887306ce1fe7bc4372e

See more details on using hashes here.

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

Hashes for atenpdu-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 609d4023c96ec8a3ccac7b296f11a354db4565487aa9a79c4f33096ef474cf84
MD5 2b59a7cdc5cfacc3540d878861995efc
BLAKE2b-256 e3567b3e7d3c4d8be4a1130f1b97973e8e0669f559bcdbe637f4d2d567a6115d

See more details on using hashes here.

Supported by

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