From SME Server

Uninterruptable Power Supply:APC

50 bytes removed, 18:24, 10 May 2010
Tidied Up
==To set up apcupsd on SME 7.4==
----------------------------------------------------------------------------------------===Setup the DAG repository===
Setup DAG repository{{Repository|Dag}} INSTALL APCUPSDInstall ''apcupsd''
yum install --enablerepo=dag --enablerepo=base apcupsd
COPY ORIGINAL CONFCopy original ''conf'' file
cp apcupsd.conf apcupsd.conf.orig
COPY Copy ''CGI FILES'' files
cp /var/www/apcupsd/* /home/e-smith/files/ibays/Primary/cgi-bin/
LINK STARTUP SCRIPTLink the startup script
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99apcupsd
SET SERVICE IN Set the Service in SME
config set apcupsd service status enabled
Edit /etc/apcupsd/apcupsd.conf. The conf file has good detail on setup options.
Set TIMEOUT to 10 for testing.
Reboot or /etc/init.d/apcupsd start to start the service.
===Usage===http://hostyourdomain.domaintld/cgi-bin/multimon.cgi gives a nice look at the UPS status, including a log of past events

Navigation menu