[Nut-upsdev] upsimage/upsstats: 3phase support and more.

Niklas Edmundsson nikke at acc.umu.se
Tue Feb 7 15:14:25 UTC 2006


On Mon, 6 Feb 2006, Niklas Edmundsson wrote:

> The attached patch is a first stab at adding 3phase support to 
> upsstats/upsimage. I got a little carried away, so bare with me.

Kjell and others found some exciting bugs, so here's try 2 which adds 
the following in addition to the previous feature-list:

* Be smarter about guessing nominal battery voltage in order to
   provide sane graph while discharging, also fixes the off-by-one-bug
   that caused a ups with 12V battery voltage to get 0V nominal ;)
* Don't assume people are running their webbrowser in 1600x1200,
   tidied up the tables to make it look better.
* Fixed the broken @RUNTIME@ which was buggy and had inconsistent
   output, it now always prints hh:mm:ss.

/Nikke
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke at acc.umu.se
---------------------------------------------------------------------------
  AT&T Subspace : The next best thing to beaming there.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nut-devel-cgi3phase-2.diff.gz
Type: application/octet-stream
Size: 6143 bytes
Desc: 
Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20060207/139d0e1b/nut-devel-cgi3phase-2.diff.obj


More information about the Nut-upsdev mailing list