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.8.0.tar.gz (24.8 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.8.0-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

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

Hashes for atenpdu-0.8.0.tar.gz
Algorithm Hash digest
SHA256 cd542631d597d2b3c0ae6e6ebd2b006ef8a8abf52266ac636465b60d35473418
MD5 0ce76a2f2479cc9792b41c07cfd818a9
BLAKE2b-256 d78a1d690388acd7b15f7e1990147f8120eb19486e75955c7ac558954dd35e80

See more details on using hashes here.

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

Hashes for atenpdu-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71d0699e1c0c487f643934ef206a2fb0471dda03d2fe890be75478bd36add76c
MD5 926a1f0bd6d60a97dcff3e8c8cc5286d
BLAKE2b-256 52c86403636df88df3d0081ed77fcbfbe937e6e93565ed550d16ec38cab1126d

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