apcupsd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
apcupsd [2010/05/22 14:19] – external edit 127.0.0.1 | apcupsd [2011/09/02 12:42] (current) – aorth | ||
---|---|---|---|
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:// | ||
- | ===== Installation ===== | + | ===== Installation |
+ | Download pre-compiled RPMs for Enterprise Linux 5 from the EPEL project: http:// | ||
- | Download source from: http:// | + | ===== Installation (manual) ===== |
+ | Download source from: http:// | ||
- | < | + | < |
- | $ cd apcupsd-3.14.7 | + | cd apcupsd-3.14.7 |
- | $ ./configure --enable-usb --enable-cgi | + | ./configure --enable-usb --enable-cgi |
- | $ make</ | + | make |
- | Because I am afraid of doing '' | + | sudo make install</ |
- | < | + | |
- | $ sudo rpm -i --test -vv ~/ | + | |
- | $ sudo rpm -i --force ~/ | + | |
- | Add the daemon to the default runlevels: | + | ===== Configuration |
- | < | + | |
- | + | ||
- | ===== Configuration ===== | + | |
==== Daemon ==== | ==== Daemon ==== | ||
Line 25: | Line 21: | ||
After the software is installed, there are two files which need attention: | After the software is installed, there are two files which need attention: | ||
- | === / | + | ==== / |
- | Make sure to list the the localhost and give it a name. This is used for remote monitoring and also for checking the status via the multimon CGI script: | + | Make sure to list the the localhost and give it a name. This is used for remote monitoring and also for checking the status via the multimon CGI script: |
< | < | ||
# | # | ||
Line 47: | Line 43: | ||
MONITOR 127.0.0.1 " | MONITOR 127.0.0.1 " | ||
- | === / | + | ==== / |
The defaults are ok, but make sure the daemon is configured to use the following settings (leave '' | The defaults are ok, but make sure the daemon is configured to use the following settings (leave '' | ||
Line 54: | Line 50: | ||
DEVICE</ | DEVICE</ | ||
- | ==== Web monitoring interface ==== | + | ==== Web monitoring interface |
The '' | The '' | ||
Line 63: | Line 59: | ||
Check the status by visiting http:// | Check the status by visiting http:// | ||
+ | |||
+ | ===== Startup ===== | ||
+ | Add the daemon to the default runlevels: | ||
+ | < | ||
+ | |||
+ | ===== Testing ===== | ||
+ | Make sure the daemon is stopped, then run: | ||
+ | |||
===== Troubleshooting ===== | ===== Troubleshooting ===== |
apcupsd.1274537972.txt.gz · Last modified: 2011/09/01 13:01 (external edit)