Network UPS Tools User Manual
Network UPS Tools User Manual
Network UPS Tools User Manual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Network</strong> <strong>UPS</strong> <strong>Tools</strong> <strong>User</strong> <strong>Manual</strong> 79 / 84<br />
Last login Sat May 11 21:33 (MDT) on ttyp0 from intrepid.rmi.net<br />
Plan:<br />
Welcome to the <strong>UPS</strong> monitor service at kadets.d20.co.edu.<br />
The Smart-<strong>UPS</strong> attached to kadets generated a report at 14:24:01 on 05/17/96.<br />
During the measured period, the following data points were taken:<br />
Voltage ranged from 115.0 VAC to 116.3 VAC.<br />
The <strong>UPS</strong> generated 116.3 VAC at 60.00 Hz.<br />
The battery level was at 27.60 volts.<br />
The load placed on the <strong>UPS</strong> was 024.9 percent.<br />
<strong>UPS</strong> temperature was measured at 045.0 degrees Celsius.<br />
Measurements are taken every 10 minutes by the upsd daemon.<br />
This report is generated by a script written by Russell Kroll.<br />
Modified for compatibility with the BSD/OS cron daemon by Neil Schroeder<br />
This same status data could also be seen with a web browser, since we had rigged up a CGI wrapper script which called finger.<br />
J.1.2<br />
January 1997: initial protocol tests<br />
Initial tests with a freestanding non-daemon program provided a few basic status registers from the <strong>UPS</strong>. The 940-0024C cable<br />
was not yet understood, so this happened over the [attachment:apcevilhack.jpg evil two-wire serial hack].<br />
Communicating with SMART-<strong>UPS</strong> 700 S/N WS9643050926 [10/17/96]<br />
Input voltage range: 117.6 VAC - 118.9 VAC<br />
Load is 010.9% of capacity, battery is charged to 100.0% of capacity<br />
Note that today’s apcsmart driver still displays the serial number when it starts, since it is derived from this original code.<br />
J.1.3<br />
September 1997: first client/server code<br />
The first split daemon/client code was written. upsd spoke directly to the <strong>UPS</strong> (APC Smart models only) and communicated with<br />
upsc by sending binary structures in UDP datagrams.<br />
The first CGI interface existed, but it was all implemented with shell scripts. The main script would call upsc to retrieve status<br />
values. Then it would cat a template file through sed to plug them into the page.