Google

Upgrading to Apcupsd 3.7.1

Quite a number of the configuration statements have changed between versions 3.6.2 and 3.7.1, so you should either take the new apcupsd.conf file and modify it, or update your existing file. In general, we recommend starting with the new file.

If you have used a prior version of apcupsd, the CONTROL script file (/sbin/powersc) has now been replaced by /etc/apcupsd/apccontrol. Consequently, the CONTROL configuration statement is obsolete. The following configuration statements have been replaced by scripts called from /etc/apcupsd/apccontrol, and thus are obsolete: BATTCMD, LIMITCMN, LOADCMD, PWRCMD, REBOOTCMD, REMOTECMD, RETCMD, and TIMECMD.

On most systems the script that started and stopped apcupsd was called apcups. In versions 3.7.0 and later, this script has been renamed to apcupsd.

If you use the master/slave networking code, please be aware that the Apcupsd 3.7.1 network protocol is not compatible with prior versions. Thus to use master/slave networking, you must upgrade your master and all the slaves at the same time.

Since there are now a number of script files and data files used by apcupsd, they have been moved from their previous locations to the directory /etc/apcupsd. The executable files (apcupsd, apcaccess, ...) remain in their prior locations (normally /usr/sbin or /sbin depending on your configuration).

With this release, there are four Web CGI programs (multimon.cgi, upsstats.cgi, upsfstats.cgi, and upsimage.cgi). To have them properly installed, you must run the ./configure command with --enable-cgi and you must specify an installation directory with --with-cgi-bin= or load them manually.