Apcupsd (APC UPS Daemon) is an open source app for monitoring UPSes and performing a graceful computer shutdown in the event of a power failure.
Apcupsd can be used for power mangement and controlling most of APC's UPS models on Unix and Windows machines.
Apcupsd works with most of APC's Smart-UPS models as well as most simple signalling models such a Back-UPS, and BackUPS-Office. During a power failure, apcupsd will inform the users about the power failure and that a shutdown may occur.
If power is not restored, a system shutdown will follow when the battery is exhausted, a timeout (seconds) expires, or runtime expires based on internal APC calculations determined by power consumption rates.
Apcupsd is a cross-platform application that runs on Mac OS X, Linux, Tru64, Win32, Solaris as well as other OSes.
What's New in This Release: [ read full changelog ]
BUG FIXES:
· docs: Document the /refresh switch for apctray.
· apctest: Do not create pid file. There is little reason for it since apctest is a command-line tool, not a daemon. Plus nothing ever deletes the file so it interferes with apcupsd operation.
· gapcmon: Network connect timeout fix.
· Fix a few unsafe uses of sprintf and strcat.
· Makefile: Fix cgi build on OpenBSD. libgd on OpenBSD requires X_LIBS for libfreetype and libfontconfig.
· gapcmon: Iconify fixes for KDE
· Fix LOWBATT glitch handling bug that could cause us to act on a LOWBATT signal immediately instead of waiting for the debounce time.
· apctray: Improve multiple instance behavior for /add, /del, and /kill on modern platforms (Win2K and newer).
· Support shutting down apcupsd instances running in other sessions (such as terminal services or remote desktop sessions).
· Makefile: 'make install' fixes for first install on RedHat/SuSE.
· docs: PCNET minimum password length is 15 chars, default username is 'apc', no known way to change the username.
· Makefile: Fix dependency build errors on Darwin and other platforms. ('echo -n' is not portable; use 'tr' to strip newline instead)
· RPMs: Automatically restart apcupsd when upgrading