Network UPS Tools User Manual
Network UPS Tools User Manual
Network UPS Tools User Manual
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Network</strong> <strong>UPS</strong> <strong>Tools</strong> <strong>User</strong> <strong>Manual</strong> 6 / 84<br />
[ups.test.interval]<br />
Interval between self tests<br />
Type: ENUM<br />
Option: "1209600"<br />
Option: "604800" SELECTED<br />
Option: "0"<br />
( more skipped )<br />
On the other hand, one that doesn’t support them won’t print anything:<br />
$ upsrw fenton@gearbox<br />
( nothing )<br />
upsrw requires administrator powers to change settings in the hardware. Refer to upsd.users(5) for information on defining<br />
users in upsd.<br />
2.11.4 upscmd<br />
Some <strong>UPS</strong> hardware and drivers support the notion of an instant command - a feature such as starting a battery test, or powering<br />
off the load. You can use upscmd to list or invoke instant commands if your hardware/drivers support them.<br />
Use the -l command to list them, like this:<br />
$ upscmd -l sparky@localhost<br />
Instant commands supported on <strong>UPS</strong> [sparky@localhost]:<br />
load.on - Turn on the load immediately<br />
test.panel.start - Start testing the <strong>UPS</strong> panel<br />
calibrate.start - Start run time calibration<br />
calibrate.stop - Stop run time calibration<br />
...<br />
upscmd requires administrator powers to start instant commands. To define users and passwords in upsd, see upsd.users(5).<br />
2.12 CGI Programs<br />
The CGI programs are clients that run through your web server. They allow you to see <strong>UPS</strong> status and perform certain administrative<br />
commands from any web browser. Javascript and cookies are not required.<br />
These programs are not installed or compiled by default. To compile and install them, first run configure --with-cgi,<br />
then do make and make install. If you receive errors about "gd" during configure, go get it and install it before continuing.<br />
You can get the source here:<br />
http://www.libgd.org/<br />
In the event that you need libpng or zlib in order to compile gd, they can be found at these URLs:<br />
http://www.libpng.org/pub/png/pngcode.html<br />
http://www.gzip.org/zlib/