cyberpower-pdu - manages remote outlets
cyberpower-pdu [AGENT]
cyberpower-pdu [AGENT] [OUTLET_NUM|OUTLET_NAME]
cyberpower-pdu [AGENT] [OUTLET_NUM|OUTLET_NAME] [ACTION]
cyberpower-pdu(1) runs on top of snmpwalk(1) and snmpset(1) to manage outlets.
1 or on Turn On.
2 or off Turn Off.
3 or reboot Reboot.
4 or cancel Cancel pending command.
Lists all outlets:
$ cyberpower-pdu 127.0.0.1
my_first_outlet
your_second_outlet
Get status for the first outlet:
$ cyberpower-pdu 127.0.0.1 my_first_outlet
ON
Turn off the second outlet
$ cyberpower-pdu 127.0.0.1 your_second_outlet off
OFF
Written by Gaël PORTAY [email protected]
Copyright (C) 2019 Gaël PORTAY
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.