User's Manual UPS control system
Table Of Contents
- Apcupsd User's Manual
- Release Notes
- How To Use This Manual
- Basic User's Guide
- Planning Your Installation
- Building and Installing apcupsd
- After Installation
- Configuration Examples
- Testing Apcupsd
- Troubleshooting Your Installation
- Monitoring and Tuning your UPS
- Maintaining Your UPS
- Frequently-Asked Questions
- Apcupsd Bugs
- Advanced topics
- Customizing Event Handling
- Master/Slave Configurations
- Controlling Multiple UPSes on one Machine
- Support for SNMP UPSes
- Alternate Ways To Run The Network Information Server
- apcupsd System Logging
- Installation: Windows
- Windows Version of apcupsd
- Installation: Serial-Line UPSes
- Overview of Serial-Interface UPSes
- Connecting a Serial-Line UPS to a USB Port
- Connecting a APC USB UPS to either a PC USB or Serial Port
- Cables
- Smart-Custom Cable for SmartUPSes
- Smart Signalling Cable for BackUPS CS Models
- Voltage-Signalling Cable for "dumb" UPSes
- Other APC Cables that apcupsd Supports
- Voltage Signalling Features Supported by Apcupsd for Various Cables
- Voltage Signalling
- Back-UPS Office 500 signals
- Analyses of APC Cables
- Win32 Implementation Restrictions for Simple UPSes
- Internal Apcupsd Actions for Simple Cables
- RS232 Wiring and Signal Conventions
- Pin Assignment for the Serial Port (RS-232C), 25-pin and 9-pin, Female End
- Ioctl to RS232 Correspondence
- Testing Serial-Line UPSes
- Troubleshooting Serial Line communications
- Recalibrating the UPS Runtime
- DATA Logging
- Technical Reference
- Configuration Directive Reference
- apcupsd Status Logging
- Shutown Sequence and its Discontents
- APC smart protocol
- Apcupsd --- RPM Packaging FAQ
- Credits
- Kernel Config
—sbindir=<path> This defines the directory for the executable files
such as apcupsd. The default is /sbin. You may be tempted to place
the executable files in /usr/sbin or /usr/local/sbin. Please use caution
here as these directories may be unmounted during a shutdown and
thus may prevent the halt script from calling apcupsd to turn off the
UPS power. Though your data will be protected, in this case, your
system will probably not be automatically rebooted when the power
returns.
—enable-powerflute This option enables the building of the powerflute
executable, which is a ncurses based program to monitor the UPS.
This program is not necessary for the proper execution of apcupsd.
—enable-cgi This enables the building of the CGI programs that permit
Web browser access to apcupsd data. This option is not necessary for
the proper execution of apcupsd.
—with-cgi-bin=<path> The with-cgi-bin configuration option allows
you to define the directory where the CGI programs will be installed.
The default is /etc/apcupsd, which is probably not what you want.
—with-css-dir=<path> This option allows you to specify where you
want apcupsd to put the Cascading Style Sheet that goes with the
multimoncss.cgi CGI program.
—enable-master-slave Turns on the master/slave networking code (de-
fault). This is sometimes referred to as the old master/slave code,
and is more complicated than using NIS and the net driver to control
Slaves (see below).
—enable-apcsmart Turns on generation of the APC Smart driver (de-
fault).
—enable-dumb Turns on generation of the dumb signalling driver code
(default).
—enable-usb Turns on generation of the Linux (only) USB driver code.
By default this is disabled.
—enable-net Turns on generation of the NIS network driver for slaves.
This is an alternative to old master/slave code. For the master, this
code should be disabled. For each slave, this is the only driver needed.
This driver works by reading the information from the the configured
master using the NIS (Network Information Services) interface.
—enable-snmp Turns on generation of the SNMP driver. This driver
will control the computer by reading the UPS information over the
network assuming you are running SNMP. By default this is disabled.
36










