Notes about UPS software installation on rrc00:
All important scripts are in /etc/apcupsd:
apccontrol -- Main script which handle all incoming events. Avoid modyfying it.
onbattery -- Script executed when system start using battery power
(power failure). You can add your e-mail if you want to be notified about
any power failures.
Mainsback -- Similar to onbattery, but it's power back event.
Commfailure -- Communications failure - UPS daemon cannot communicate with
UPS (other host if it's remote UPS)
Commok -- Communication restored.
All events scripts are executed by /etc/apcupsd/apccontrol. Some lines are
added to /etc/rc.local to start UPS daemon automatically at boot time.
/etc/rc.shutdown is modified, too (to shutdown system when there is not
enough power in batteries).
This installation was done by Marcin. In case of a problem, you can contact
him or other OPS guys.