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/10/13 05:48] – 172.26.0.166 | apcupsd [2010/05/22 14:19] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Installation ===== | ===== Installation ===== | ||
- | Download | + | Download |
- | Test the rpm: | + | < |
- | < | + | $ cd apcupsd-3.14.7 |
- | If everything looks good, install: | + | $ ./configure --enable-usb --enable-cgi |
- | # rpm -i ~alan/src/apcupsd-multimon-3.14.7-1.el5.x86_64.rpm | + | $ make</ |
- | # rpm -ql apcupsd-multimon | + | Because I am afraid of doing '' |
- | /etc/apcupsd | + | < |
- | /etc/apcupsd/apcupsd.css | + | $ sudo rpm -i --test -vv ~/rpmbuild/ |
- | / | + | $ sudo rpm -i --force ~/rpmbuild/RPMS/x86_64/apcupsd-3.14.7-1.x86_64.rpm< |
- | / | + | |
- | /var/ | + | Add the daemon to the default runlevels: |
- | / | + | < |
- | / | + | |
- | / | + | |
- | / | + | |
===== Configuration ===== | ===== Configuration ===== | ||
Line 52: | 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 ==== | ==== Web monitoring interface ==== | ||
- | The '' | + | The '' |
+ | |||
+ | Copy the CGI scripts: | ||
+ | < | ||
+ | $ sudo cp multimon.cgi upsimage.cgi upsstats.cgi / | ||
+ | |||
+ | Check the status by visiting http:// | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== |
apcupsd.txt · Last modified: 2011/09/02 12:42 by aorth