OpenUPSd -- An open-source UPS daemon for some Belkin UPS devices. ------------------------------------------------------------------ OpenUPSd is a UPS daemon for Belkin UPS's that speak the "Regulator Pro smart protocol", over a serial port. I've got a "F6C625-220V" running firmware "006". This is currently a monitoring-only daemon. I'd suggest using Belkin's tools to actually configure the thing, until openupsd gets that far at least.. The daemon supports two types of device: serial and remote. Serial devices are real UPSs connected to a boxen running openupsd. Remote devices are TCP connections to a host running an openupsd that allows client connections. The config file is pretty verbose, and you could potentially construct all sorts of interesting device trees ;-). Fairly arbitrary alarms can be defined, using the TRIGGER directive. The two actions supported are LOG (just say something) and EXEC (run some program, possibly with arguments). The supplied config file contains a few reasonable examples. Building -------- Usual autoconf/automake stuff, so ./configure.. The software is sensitive to SYSCONFDIR for the location of its default config-file, I use /etc. The configuration-file is, by default, SYSCONFDIR "/openupsd.conf", but it can be specified on the command-line anyway if desired. Once configured, make + make install. I'm quite happy for it to live in /usr/local/bin on my systems, you might want somewhere else (possibly sbin). Running the software as a regular user to monitor remote UPS's (or even local, access permitting) is fine. The web-page is likely to contain more up-to-date information, as well as an handy init.d script that sets it off on my boxes: http://frmb.org/openupsd.html KNOWN BUGS/DEFICIENCIES ----------------------- I'm boldy trying this on my system at the moment, and it appears to be working :). However, there may be bugs that cause strange behaviour or outright segfaults. The daemon doesn't respond to the HUP signal at the moment, it has to be restarted. Enjoy :-) Fred.