02.12.2015 Views

Network UPS Tools User Manual

Network UPS Tools User Manual

Network UPS Tools User Manual

SHOW MORE
SHOW LESS

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> 78 / 84<br />

I.22 Changes from 1.4.0 to 2.0.0<br />

• The sample config files are no longer installed by default. If you want to install them, use make install-conf for the main<br />

programs, and make install-cgi-conf for the CGI programs.<br />

• ACCESS is no longer supported in upsd.conf. Use ACCEPT and REJECT. Old way:<br />

ACCESS grant all adminbox<br />

ACCESS grant all webserver<br />

ACCESS deny all all<br />

New way:<br />

ACCEPT adminbox<br />

ACCEPT webserver<br />

REJECT all<br />

Note that ACCEPT and REJECT can take multiple arguments, so this will also work:<br />

ACCEPT adminbox webserver<br />

REJECT all<br />

• The drivers no longer support sddelay in ups.conf or -d on the command line. If you need a delay after calling upsdrvctl<br />

shutdown, add a call to sleep in your shutdown script.<br />

• The templates used by upsstats have changed considerably to reflect the new variable names. If you use upsstats, you will need<br />

to install new copies or edit your existing files to use the new names.<br />

• Nobody needed UDP mode, so it has been removed. The only users seemed to be a few people like me with ancient asapm-ups<br />

binaries. If you really want to run asapm-ups again, bug me for the new patch which makes it work with upsclient.<br />

• make install-misc is now make install-lib. The misc directory has been gone for a long time, and the target was ambiguous.<br />

• The newapc driver has been renamed to apcsmart. If you previously used newapc, make sure you delete the old binary and fix<br />

your ups.conf. Otherwise, you may run the old driver from 1.4.<br />

– File trimmed here on changes from 1.2.2 to 1.4.0 *<br />

For information before this point, start with version 2.4.1 and work back.<br />

J<br />

Project history<br />

This page is an attempt to document how everything came together.<br />

The <strong>Network</strong> <strong>UPS</strong> <strong>Tools</strong> team would like to warmly thank Russell Kroll.<br />

Russell initially started this project, maintaining and improving it for over 8 years (1996 - mid 2005).<br />

J.1 Prototypes and experiments<br />

J.1.1<br />

May 1996: early status hacks<br />

APC’s Powerchute was running on kadets.d20.co.edu (a BSD/OS box) with SCO binary emulation. Early test versions ran in<br />

cron, pulled status from the log files and wrote them to a .plan file. You could see the results by fingering pwrchute@kadets.<br />

d20.co.edu while it lasted:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!