backupsd is an ultra-simple daemon to handle emergency shutdown of a NetBSD system when a connected APC Back-UPS signals a power failure. This is an ongoing project; suggestions, bugfixes, and additional code are appreciated.
Remote SNMP Powerswitch Control is a script that
uses SNMP to control an APC PowerSwitch power
controller. It allows you to cycle any port via
the command line. This is useful for automatically
rebooting machines that stop responding to pings,