Apcupsd Changelog

New in version 3.14.12

March 31st, 2014
  • NEW FEATURES:
  • apcaccess and apcupsd status format updates to ease parsing by scripts
  • UPS name is included in subject line of emails in default scripts
  • Default event scripts pull SYSADMIN and APCUPSD_MAIL definitions from a common config file so they can easily be configured in one place
  • BUG FIXES:
  • Fix issue with certain Back-UPS USB models repeatedly cycling power on/off after killpower is issued
  • Fix display of battery level during MODBUS calibration
  • Fix apctest EEPROM setting on various models
  • Close and reopen serial port during extended COMMLOST in apcsmart driver (helps recover connection when USB serial port dongles are reconnected)
  • Avoid probing non-APC USB devices as it can cause lockups
  • Fix issue with service failing to start on Windows during boot with USB UPS
  • Fix bogus lock file error when config file error forces early termination
  • Fix MODBUS NOMOUTV reading for voltages other than 120VAC
  • Fix LOADPCT (CI_LOAD) on MODBUS driver
  • Fix issue with net driver not reporting MODEL value

New in version 3.14.11 (March 14th, 2014)

  • Adds MODBUS RS232 protocol support for newer APC UPSes.

New in version 3.14.10 (September 14th, 2011)

  • BUG FIXES:
  • Fix missing status and spurrious incorrect status on newer BackUPS CS
  • models using USB interface.
  • USB compatibility fixes for Mac OS X Lion
  • USB driver support for newer Microlink models on Mac OS X Lion and Windows
  • Ignore transitions to battery due to calibration (possible if user
  • initiates calibration, then exits apctest and starts apcupsd before
  • calibration completes.
  • Fix truncation of long UPS model names such as "Smart-UPS RT 5000 XL"
  • Fix MODEL vs. APCMODEL confusion. Remove APCMODEL and rename old MODEL
  • aka 'mode' to DRIVER.

New in version 3.14.9 (August 5th, 2011)

  • NEW FEATURES
  • SNMP enhancements:
  • Autodetection of MIB and community if they are not specified in
  • apcupsd.conf
  • Support for RFC1628 MIB
  • Support for MGE MIB (Contributed by Lars Taeuber )
  • Windows USB support for 64-bit platforms
  • USB support for latest APC models such as SMT* and SMX* series
  • No support for Microlink, but basic USB interface should be
  • detected and provide status now.
  • When using the generic USB driver (Windows, OS X, newer FreeBSD)
  • DEVICE string in apcupsd.conf can be set as serial number of UPS
  • to monitor. This is useful in order to "lock" apcupsd to a specific
  • UPS if you have more than one connected to the server.
  • Ed Dondlinger's Windows email scripts are included in the Win32
  • install package now. Documentation includes information on how
  • to hook them in.
  • BUG FIXES
  • general: Rework signal handling to eliminate crashes and hangs.
  • general: Fix issue of overwriting pid file even when we failed
  • to acquire the lock file
  • snmp: Add workaround for FreeBSD libsupc++.a issue (FreeBSD PR
  • #99702) This will allow snmplite driver to compile/link on
  • FreeBSD 5.x.
  • usb: Automatically use generic_usb driver on FreeBSD 8.0 and
  • newer. FreeBSD USB API was changed in 8.0, so from now on we will
  • use libusb.
  • usb: Add support for DALARM
  • usb: Fix BATTV and MANDATE on certain newer APC models
  • win32: Honor INSTDIR specified on command line via /D
  • win32: When running uninstaller in silent mode, always remove
  • config and events files without prompting.
  • win32: When logging events, convert LOG_CRIT to a WARNING rather
  • than an ERROR since apcupsd uses it for power events which aren't
  • really daemon errors.

New in version 3.14.8 (January 19th, 2010)

  • NEW FEATURES
  • Mac OS X version of apctray (apcagent) for monitoring apcupsd instances.
  • Same feature set as apctray on Windows (monitor multiple instances,
  • get detailed status and events logs). Popup notifications delivered via
  • Growl, if available.
  • Major update to win32 version of apctray. Includes many visual and
  • usability improvements to match OS X version.
  • apctest now supports battery calibration and self-test interval control
  • on USB models. Many thanks to James Belleau for
  • contributing these features.
  • New SNMP driver that does not require libsnmp.so, thus eliminating
  • issues with not finding the library during shutdown when /usr has
  • been unmounted. The new driver is the default for 'UPSTYPE snmp'.
  • The old driver is still available as "UPSTYPE netsnmp" if needed.
  • BUG FIXES
  • Add missing NOMINV, NOMOUTV, and NOMPOWER to net clients
  • Fix missing WALL in apccontrol (debian bug #546019)
  • http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546019
  • Change all time/date strings to simplified ISO format:
  • "YYYY-MM-DD HH:MM:SS +/-UTC"
  • Fix battery voltage readout on "Back-UPS 500 FW: 6.3.I USB FW: c1"
  • Remove obsolete image files from source tree
  • Fix issues with popup.exe running when it shouldn't and sometimes
  • hanging and/or generating an "Interactive Services Dialog Detected"
  • error.
  • Use /kill switch from the installer to shut down running instances
  • of apcupsd and apctray. This will provide more reliable termination
  • on Vista/Win7.
  • Update apctest to use 'Q' to exit any menu instead of a number that
  • is always changing. Contributed by James Belleau

New in version 3.14.5 (January 12th, 2009)

  • 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

New in version 3.14.4 (October 1st, 2008)

  • Build system rewrite: All Makefiles have been rewritten from scratch. Improvements include reliable dependencies, support for parallel make, elimination of Makefile.in -> Makefile conversion, consistent use of DESTDIR during 'make install', and pretty-printed output during builds.
  • GNU make is required. The configure script checks for this and tells you how to invokve it (on some platforms it is 'gmake' instead of 'make').
  • Output during build is pretty-printed by default. To see more details, use 'make VERBOSE=1' for output similar to the old build system. For even more verbosity, use 'make VERBOSE=2'.
  • Parallel builds work well. If you have a multiprocessor (or multicore) system, try 'make -j' for the fastest possible build.
  • Built-in version of libgd for multimon cgi has been removed. The version previously included in apcupsd was old and likely had security issues. It is safer to use libgd from the target system. Therefore, your system must provide libgd if you choose to build cgi now. Generally this is easy to achieve by installing a vendor-supplied package.
  • Removal of NLS support: The NLS code was terribly bit-rotted with many non-internationalized messages and almost every translated message was incorrect. At this point the maintenance burden of keeping NLS support building was deemed too high considering the small benefit it was able to provide.
  • Powerflute has been disabled. It has been broken for the last several releases because it relied on an untrushworthy source of UPS status (rawupsstats) which was itself removed. Powerflute could be converted to use the standard NIS status mechanism and its source code remains in the tree in case someone has the desire to contribute this code.
  • Add POLLTIME directive to control UPS polling interval. This directive specifies the number of seconds to delay between polling the UPS for status. Previously, NETTIME allowed this to be adjusted for network connections only (snmp, pcnet, nis-net). POLLTIME configures the delay for all connection types. NETTIME is accepted as a synonym for compatibility with old config files.
  • gapcmon: Corrected the use of NOMPOWER and the calc of current usage amount.
  • Add a heuristic to fix up incorrect NOMINV or NOMOUTV. Some UPSes (RS 500) report decivolts instead of volts.
  • Various build fixes on Solaris and OpenSolaris.
  • Fix hal policy file syntax. For some reason this blatantly incorrect file actually works on RHEL5 (hal-0.5.8).
  • Fix gapcmon build on OpenBSD.
  • Fix BSD USB driver build.
  • Fix default NIS port on Debian. Debian is now using the standard NIS port, 3551.