I’ve recently compiled and configured apcupsd for my drobofs because we’ve had a spate of bad power outages recently.
This is version 3.14.10 from http://www.apcupsd.org/
I’ve disabled all communications types except for network, and tweaked the configuration and support files so that they work within the DroboApps world.
I’m in the process of submitting this, so feel free to DM me for a direct download link if you would like to test this.
As you can see, it’s up and running on my drobofs :
./apcaccess
APC : 001,025,0638
DATE : 2011-12-13 20:20:50 -0800
HOSTNAME : Media
VERSION : 3.14.10 (13 September 2011) debian
UPSNAME : upsserver
CABLE : Ethernet Link
DRIVER : TRIPP LITE UPS
UPSMODE : Stand Alone
STARTTIME: 2011-12-13 20:13:50 -0800
MASTERUPD: 2011-12-13 20:20:50 -0800
MASTER : 169.254.1.3:3551
STATUS : ONLINE SLAVE
BCHARGE : 100.0 Percent
TIMELEFT : 23.2 Minutes
MBATTCHG : 15 Percent
MINTIMEL : 5 Minutes
MAXTIME : 3600 Seconds
NUMXFERS : 0
TONBATT : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
SELFTEST : ??
STATFLAG : 0x07000408 Status Flag
SERIALNO : FW-2263
NOMPOWER : 1 Watts
END APC : 2011-12-13 20:21:12 -0800
quick listing of the files:
dir
drwxr-xr-x 3 root root 4096 Dec 13 20:20 ./
drwxrwxrwx 8 root root 4096 Dec 13 18:47 …/
-rw-r–r-- 1 root root 84 Dec 13 19:14 README.txt
-rwxr–r-- 1 root root 24292 Dec 11 08:42 apcaccess*
-rwxr-xr-x 1 root root 4032 Dec 13 20:13 apccontrol*
-rwxr–r-- 1 root root 256912 Dec 11 08:42 apctest*
-rwxr–r-- 1 root root 262476 Dec 11 16:42 apcupsd*
-rw-r–r-- 1 root root 5 Dec 13 20:13 apcupsd.pid
drwxr-xr-x 2 root root 4096 Dec 11 08:37 conf/
-rwxr-xr-x 1 root root 209 Dec 13 19:17 install.sh*
-rwxr–r-- 1 root root 1082 Dec 13 19:51 service.sh*
-rwxr–r-- 1 root root 50076 Dec 11 08:42 smtp*