Skip to content

gregorg/pdu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdu

Manage APC PDUs

Installation

git clone git@github.com:gregorg/pdu.git
cd pdu
poetry install

Configuration

In the first run you must specify the location of your config file:

poetry run pdu --config ~/yoursysadminrepo/pdu.ini

Usage

To fetch a PDU config and save it to config file previously setupped :

poetry run pdu --debug --save --pdu 10.0.0.2

To reboot a server which is charged by 2 outlets :

poetry run pdu --reboot server-42

To read config file and apply differences between current PDU's config (you will be warmed and have to confirm every changes) ::

poetry run pdu --read

About

Manage APC PDUs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages