[root@~]# yum install net-snmp lm_sensorsInstall the dependency package of apcupsd, if it is installed, skip it.
[root@~]# rpm -ivh apcupsd apcupsd-miltimonwget download and install the latest rpm of 'apccupsd', 'apcupsd-miltimon' from official website:
Connect USB or serial com port to apcupsd server from APC UPC device.
Edit the config for UPSCABLE, UPSTYPE and DEVICE, the first one is used for com port cable, second is used for USB
[root@~]# /etc/init.d/apcupsd start
[root@~]# apcaccess status
After you install apcupsd-miltimon, it is the cgi program for UPS monitoring via website. Open broswer:
You can see the log of apcupsd:
[root@~]# vi /etc/apcupsd/apccontrolYou can customize the action (shutdown,..) during the UPS power failure.
You can change 'SHUTDOWN=/bin/ls' while you are testing the DEVICE in the config file.
Server is hosted by Alanstudio
Linux Operating System
Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.