apcupsd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
apcupsd [2009/10/13 06:55] – 172.26.0.166 | apcupsd [2011/09/02 12:13] – [Daemon] aorth | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Installation ===== | ===== Installation ===== | ||
- | Download source | + | Download source from: http:// |
- | Build the RPM (make sure your environment is set up as in [[custom_rpms]]): | + | < |
- | < | + | $ cd apcupsd-3.14.7 |
- | $ sudo rpm -i ~/ | + | $ ./configure --enable-usb --enable-cgi |
+ | $ make</ | ||
+ | Because I am afraid of doing '' | ||
+ | < | ||
+ | $ sudo rpm -i --test -vv ~/ | ||
+ | $ sudo rpm -i --force | ||
+ | |||
+ | Add the daemon to the default runlevels: | ||
+ | < | ||
===== Configuration ===== | ===== Configuration ===== | ||
Line 18: | Line 26: | ||
=== / | === / | ||
- | 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 48: | Line 56: | ||
==== 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