Hi -
usual disclaimers applyWe like to use APC UPS's and the cgi files bundled with the Apcupsd daemon are nice to use.
Post install and service startup...
http://host.domain/cgi-bin/multimon.cgi....will access the cgi
Currently we use BK500EI - Backups CS 500
The conf file has good detail on setup options.
We always set the TIMEOUT to 600 seconds; You shouldn't let UPS batteries run down to 5% (default) as this massively shortens their life.
Set TIMEOUT to 10 for testing.
#!/bin/sh
# Setup DAG repository
/sbin/e-smith/db yum_repositories set dag \
repository Name 'Dag - EL4' \
BaseURL '
http://apt.sw.be/redhat/el4/en/$basearch/dag' \
EnableGroups no \
GPGCheck yes \
GPGKey
http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
Visible no \
Exclude freetype,htop,iptraf,rsync,syslinux \
status disabled \
signal-event yum-modify
# INSTALL APCUPSD
yum install --enablerepo=dag --enablerepo=base apcupsd
# COPY ORIGINAL CONF
cp apcupsd.conf apcupsd.conf.orig
# COPY CGI FILES
cp /var/www/apcupsd/* /home/e-smith/files/ibays/Primary/cgi-bin/
# LINK STARTUP SCRIPT
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99apcupsd
# SET SERVICE IN SME
config set apcupsd service status enabled
echo "edit /etc/apcupsd/apcupsd.conf then start the service"