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
you to do this include one command-line utility (apcaccess) and a GUI you
can use through a Web browser. You can also use apctest to tune some
parameters of the UPS itself.
apcaccess
apcaccess is a program (normally found in /sbin/apcaccess) that permits you
to print out the complete status of your UPS. Although there are a number
of command line arguments (eprom, reconfig, status, slave, shutdown),
all except eprom and status are under development and hence do not work
reliably.
If you have built apcupsd with pthreads enabled (default), apcaccess will use
the Network Information Server to obtain the necessary information for the
status and eeprom commands. This is because in the pthreaded version,
there is no IPC shared memory. In this case (pthreads enabled), you can
specify a second optional argument to apcaccess in the form of host:port,
where the :port is optional. The default is localhost:3551. Please note
that in versions prior to 3.10.6, the default NIS port was 7000, so if you
are mixing versions, you will need to take a lot of care to ensure that all
components are using the same port.
To enable the apcupsd Network Information Server, which is normally the
default, you set:
NETSERVER on
NISPORT 3551
in your apcupsd.conf file.
apcaccess status:
As mentioned above, the full form of the command is:
apcaccess status localhost:3551
where only apcaccess status should normally be needed. localhost may be
replaced by any machine name, fully qualified domain name, or IP address,
72










