8005714669
We already have sysutils/apc-upsd which hasn't been maintained upstream in >10 years, which I intend to rm unless there are objections. From maintainer Kirill Bychkov with various input from myself. Apcupsd can be used for power mangement and controlling most of APC's UPS models. Apcupsd works with most of APC's Smart-UPS models as well as most simple signalling models such a Back-UPS, and BackUPS-Office. During a power failure, apcupsd will inform the users about the power failure and that a shutdown may occur. If power is not restored, a system shutdown will follow when the battery is exhausted, a timeout (seconds) expires, or runtime expires based on internal APC calculations determined by power consumption rates.
11 lines
540 B
Plaintext
11 lines
540 B
Plaintext
Before using multimon and the other CGI programs, first ensure that
|
|
apcupsd is configured to run the Network Information Server. This is
|
|
done by setting NETSERVER on in ${SYSCONFDIR}/apcupsd/apcupsd.conf.
|
|
This switch is on by default.
|
|
To run scripts in chrooted apache (default behaviour), configuration
|
|
files must be available to the webserver:
|
|
# mv ${SYSCONFDIR}/apcupsd /var/www/${SYSCONFDIR}/apcupsd
|
|
# ln -s /var/www/${SYSCONFIDR}/apcupsd ${SYSCONFDIR}/
|
|
And some libraries must be copied in:
|
|
# ${WEB_ROOT}/cgi-bin/apcupsd/copy-libs.sh
|