Table of Contents
apcd - daemon for APC SmartUPS support
/usr/sbin/apcd port timeout
apcd can be used for controlling the APC SmartUPS. After
the power failure, apcd will inform the users about the
power failure once per minute. When the power is restored
during user defined timeout, apcd will inform users about
this fact. If power is not restored, the system shutdown
will follow when the timeout expires. The whole shutdown
is made inside the apcd , so no changes in the inittab are
necessary. There is no communication between apcd and
init(1) process.
The apcd must be setuid root !!
There must be two options on the command line.
port is something like /dev/ttyS0 or similar.
timeout is a time in minutes from power failure to system
shutdown.
Error and information messages are logged to the syslog
daemon.
Pavel Korensky (pavelk@dator3.anet.cz)
There are some known problems and limitations.
Signal BATT_LOW which should cause the immediate shutdown
is not yet implemented. There will be a support for
BATT_LOW in the final release.
UPS statistics (voltage, battery status etc.) are collected,
but it is not possible to display them. There will
be some kind of the client in the future.
UPS selftest, lights test etc. are not yet implemented
Some bugs, I am sure :-)
Table of Contents