The NUT control software is installed at a few sites and can be used to directly control Cyberpower and UPSonic UPS.
The main use at the moment is to power cycle the DBBC3HB - its UPS is currently connected to
apt-get install nut
Then edit the /etc/nut/ files - vc0/flexbuffhb have templates for a working configuration
UPS interaction and control
To see the list of available commands, use
upscmd -l CyberPower
To switch the UPS off or on, use:
upscmd -l CyberPower load.off or
upscmd -l CyberPower load.on
You will need to run this as root, using the admin username.