Apcupsd Changelog

What's new in Apcupsd 3.14.14

May 31, 2016
  • BUG FIXES:
  • Fixes for socket error handling. Resolves apcaccess crash when connection fails as well as several other theoretical issues.
  • MODBUS/USB error handling (COMMLOST) improvements for faulty USB links
  • Fix hiddev binding when usbfs is mounted on /dev/bus/usb instead of /proc/bus/usb. This is necessary for switching between MODBUS/USB and USB/HID on Linux.
  • Update GPLv2 text and FSF address to match current versions from FSF.
  • Various fixes for potential issues suggested by Coverity Scan
  • MacOS X port support for El Capitan System Integrity Protection (SIP) aka "rootless"
  • Fix shutdown failure on Windows when UPSNAME includes spaces
  • Fix building bsd-usb driver (This was broken when modbus-usb support was added.)
  • FEATURES:
  • Add status display for output current as well as apparent power

New in Apcupsd 3.14.13 (Feb 3, 2015)

  • NEW FEATURES
  • MODBUS USB SUPPORT:
  • Previous releases supported MODBUS serial (RS232). This release adds support for MODBUS over USB. This protocol is preferable to the normal USB HID driver because it offers access to more UPS data readouts and controls. The only configuration file change needed versus MODBUS serial is to change UPSCABLE to usb and use an empty DEVICE setting. See the MODBUS section of the apcupsd manual for more details.
  • Support for Apple Notification Center on Mac OS X (replaces Growl)
  • Apple install packages and binaries are signed with an Apple Developer key for compatibility with Gate Keeper
  • Windows USB driver has been updated with additional USB identifiers to support future APC products.
  • BUG FIXES
  • Use launchd for startup on Mac OS X as the old Startup Items mechanism is no longer supported in 10.10 and above
  • Fix apcaccess on ARM systems where char is unsigned by default
  • Fix several potential issues identified by Coverity static analysis
  • Numerous other fixes and improvements all over the code, many of them submitted by users...Thank you!
  • MISC:
  • Windows port now builds with the same configure and make system as the other targets, no need to maintain a special hardcoded Makefile.
  • Many cleanups to the Windows port codebase
  • Prebuilt binaries for Mac OS X no longer support PowerPC systems or Mac OS X 10.4 and older

New in Apcupsd 3.14.12 (Mar 31, 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 Apcupsd 3.14.11 (Mar 14, 2014)

  • Adds MODBUS RS232 protocol support for newer APC UPSes.

New in Apcupsd 3.14.10 (Sep 14, 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 Apcupsd 3.14.9 (Aug 5, 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 Apcupsd 3.14.8 (Jan 19, 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 Apcupsd 3.14.5 (Jan 12, 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 Apcupsd 3.14.4 (Oct 1, 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.