Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.
/ cyberpower-pdu Public archive

An SNMP script to control your remote outlets, making it easy by bash-completion!

License

Notifications You must be signed in to change notification settings

gportay/cyberpower-pdu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cyberpower-pdu(1)

NAME

cyberpower-pdu - manages remote outlets

SYNOPSIS

cyberpower-pdu [AGENT]

cyberpower-pdu [AGENT] [OUTLET_NUM|OUTLET_NAME]

cyberpower-pdu [AGENT] [OUTLET_NUM|OUTLET_NAME] [ACTION]

DESCRIPTION

cyberpower-pdu(1) runs on top of snmpwalk(1) and snmpset(1) to manage outlets.

ACTIONS

1 or on Turn On.

2 or off Turn Off.

3 or reboot Reboot.

4 or cancel Cancel pending command.

EXAMPLES

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

AUTHOR

Written by Gaël PORTAY [email protected]

COPYRIGHT

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.

SEE ALSO

snmpwalk(1), snmpset(1)

About

An SNMP script to control your remote outlets, making it easy by bash-completion!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published