Apcupsd unofficial addon…
lightenup last edited by
I use apcupsd all over my network and I really wanted my firewall to be included as well. Here is a small guide on how I got it running. I use a remote apcupsd server running as master, so my pfsense (v1.2.3-RELEASE) box is a network slave.
#Install the packages:
pkg_add -r apcupsd
#Set up apcupsd to run at startup:
mv /usr/local/etc/rc.d/apcupsd /usr/local/etc/rc.d/apcupsd.sh
mv /usr/local/etc/apcupsd/apcupsd.conf.sample /usr/local/etc/apcupsd/apcupsd.conf
#Modify the config file, see below for my full config.
#Edit the following file to enable startup at boot time:
#Add the following line in the
Miscellaneous administrative optionssection:
apcupsd_enable="YES" # Run apcupsd
#Finally start her up:
#apcupsd should now be running:
ps -aux | grep apc
root 21209 0.0 0.2 6488 2120 ?? Ss 12:28PM 0:00.02 /usr/local/sbin/apcupsd –kill-on-powerfail
apcaccessto see all is well.
Here is my full apcupsd.conf file:
Hope this helps some of you out there.
EDIT: I updated this guide for the latest version - 4/10/10
danswartz last edited by
thanks! i am running apcsupsd on 3 linux boxes, and my (about to be installed) pfsense gateway could use it too…