Clean shutdown with CyberPower UPS
frank2 at fjl.co.uk
Wed Nov 8 22:57:17 UTC 2017
On 21/09/2017 18:08, Maxim Khitrov wrote:
> FreeBSD 11.1 with CyberPower CP1500PFCLCD connected via USB. Tried
> apcupsd, but it was not able to detect the UPS using the "usb" driver.
> NUT seems way too overengineered. Don't really want to deal with
> network services for such a simple task.
> On OpenBSD, I use sensorsd with a simple script to shut the system
> down. Is there anything similar on FreeBSD? Basically, I just need a
> way of getting the battery percentage and/or remaining runtime from a
> ugen HID device.
Not an answer, but for what it's worth I engineer clean shutdowns for a
number of machines connected to a single UPS with a simple script that
pings a few direct-mains connected devices periodically, and when it
fails to get a reply from any of them it sends off a last-minute email
and shuts down.
More information about the freebsd-questions