apcupsd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
apcupsd [2009/08/18 13:21] – 172.26.0.166 | apcupsd [2010/05/22 14:19] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
The HPC's head node is connected to an APC battery backup unit which has a USB cable that can be used for monitoring power status. The [[http:// | The HPC's head node is connected to an APC battery backup unit which has a USB cable that can be used for monitoring power status. The [[http:// | ||
- | We have seen problems with the USB cable not being detected, but switching ports fixed the problem. | + | ===== Installation ===== |
- | **/var/log/messages**: | + | Download source from: http://www.apcupsd.com/dl.php |
- | <file>Aug 17 15:08:36 hpc-ilri apcupsd: apcupsd startup succeeded | + | <code>$ tar zxf apcupsd-3.14.7.tar.gz |
- | Aug 17 15:08:46 hpc-ilri apcupsd[3224]: | + | $ cd apcupsd-3.14.7 |
- | Aug 17 15:08:46 hpc-ilri apcupsd[3224]: apcupsd | + | $ ./ |
+ | $ make</code> | ||
+ | Because I am afraid of doing '' | ||
+ | < | ||
+ | $ sudo rpm -i --test -vv ~/ | ||
+ | $ sudo rpm -i --force ~/ | ||
+ | |||
+ | Add the daemon to the default runlevels: | ||
+ | < | ||
===== Configuration ===== | ===== Configuration ===== | ||
+ | |||
+ | ==== Daemon ==== | ||
After the software is installed, there are two files which need attention: | After the software is installed, there are two files which need attention: | ||
Line 39: | Line 49: | ||
=== / | === / | ||
- | The defaults are ok, but make sure the daemon is configured to use '' | + | The defaults are ok, but make sure the daemon is configured to use the following settings (leave '' |
- | < | + | < |
+ | UPSTYPE usb | ||
DEVICE</ | DEVICE</ | ||
+ | |||
+ | ==== Web monitoring interface ==== | ||
+ | |||
+ | The '' | ||
+ | |||
+ | Copy the CGI scripts: | ||
+ | < | ||
+ | $ sudo cp multimon.cgi upsimage.cgi upsstats.cgi / | ||
+ | |||
+ | Check the status by visiting http:// | ||
+ | |||
+ | ===== Troubleshooting ===== | ||
+ | |||
+ | We have seen problems with the USB cable not being detected, but switching ports fixed the problem. | ||
+ | |||
+ | **/ | ||
+ | |||
+ | < | ||
+ | Aug 17 15:08:46 hpc-ilri apcupsd[3224]: | ||
+ | Aug 17 15:08:46 hpc-ilri apcupsd[3224]: |
apcupsd.txt · Last modified: 2011/09/02 12:42 by aorth