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
look at the “Shutdown grace delay”.
Shutdown Sequence
If you experienced so problems with the above testing procedures, or if you
are porting apcupsd to another system, or you are simply curious, you may
want to know exactly what is going on during the shutdown process. If so,
please see the Shutdown Sequence (see Shutdown Sequence <1>) section of
this manual.
apctest
apctest is a program that allows you to talk directly to your UPS and run cer-
tain low-level tests, display all know values from the UPS’s EEPROM, per-
form a battery runtime calibration, program the EEPROM (serial connec-
tion only), and enter in TTY mode with the UPS. Here we describe how to
use it for a USB or apcsmart UPS; see Using apctest on Serial-Line UPSses
for a description of how to use it with a voltage-signalling UPS.
Shutdown apcupsd if it is running. Make sure your
/etc/apcupsd/apcupsd.conf file has UPSTYPE smart and UP-
SCABLE has one of the smart cables that are supported.
Normally apctest will have been built but not installed, so you must execute
it from the <apcupsd-source>/src directory. You can explicitly build it on
Unix with:
cd <apcupsd-source-directory>
make apctest
./apctest
or on Windows systems with:
make apctestwin32
./apctest
It will read your installed apcupsd.conf configuration (so it knows where to
find the UPS) and then it will present you with the following output:
68










