Date: Wed, 8 Nov 2017 22:57:05 +0000 From: Frank Leonhardt <frank2@fjl.co.uk> To: freebsd-questions@freebsd.org Subject: Re: Clean shutdown with CyberPower UPS Message-ID: <e5b11d70-7a74-6eb7-37a5-1c036b838b44@fjl.co.uk> In-Reply-To: <CAJcQMWduj0fFjY3QtNmu30=CUiG-ytBLOGRx70KMr-Q-e7MvQQ@mail.gmail.com> References: <CAJcQMWduj0fFjY3QtNmu30=CUiG-ytBLOGRx70KMr-Q-e7MvQQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21/09/2017 18:08, Maxim Khitrov wrote: > Hi, > > 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. Regards, Frank.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e5b11d70-7a74-6eb7-37a5-1c036b838b44>