Previous Next Table of Contents

3. Dependencies

smupsd is Copyright (c) 1996, 1997 David E. Myers. It is freely redistributable under the terms of the GNU General Public License. See the file COPYING for details. The included runtime libraries for the Bongo GUI builder are Copyright (c) 1996, 1997 Marimba, Inc..

This is a pre-release version of smupsd, but it's getting pretty close to the feature set I intend to have in version 1.0. In its current form, smupsd reliably shuts down your Linux system when the battery level of your Smart-UPS reaches a certain level (default 40%, changeable with the -t option), or a specified time in minutes has elapsed (settable with the -m flag), whichever occurs first. Slave versions of smupsd running on separate machines on the same Smart-UPS can be notified of power failures by a master version running on the machine cabled to the UPS.

In addition, the upsmon graphical tool can be used to monitor selected UPS parameters live from any host. To run this tool you must have Java[TM] 1.0.2 on your PATH.

smupsd communicates with a Smart-UPS using information obtained from the reverse engineering efforts of Pavel Korensky and Kevin D. Smolkowski. APC has been no help in determining the ``proper'' way to communicate with a Smart-UPS. Additional features were contributed by Marc Merlin, <marcsoft@magic.metawire.com>

Network access control is based on version 7.5 of the TCP/IP daemon wrapper package by Wietse Venema <wietse@wzv.win.tue.nl>.

smupsd requires a release 2.X Linux kernel and the updated version of init that goes with it. These are both standard with Red Hat Linux 4.0 and later, and are optional with Red Hat Linux 3.0.3.

As of version 0.6, smupsd requires the RPM package linuxthreads-0.5-1 or later (included with Red Hat Linux 4.1 and 4.2, and available from ftp.redhat.com for earlier versions). This is because smupsd now uses kernel threads to reliably monitor your UPS while simultaneously responding to network requests for UPS parameters.

Note that power level monitoring is not available with the Smart-UPS v/s. When monitoring a v/s, smupsd will schedule a system shutdown as soon as it recognizes a power failure unless you use the -m option to specify a time period and use the -t option to specify a threshold of 0.


Previous Next Table of Contents