Hello,
I'm trying to track down an issue in rateup. 

I've set up the config with

kilo[targ]: 60
kMG[targ]: s,m,hr
Options[targ]: gauge, nopercent, noo

This seems to work until the time gets very large.

The value coming back is 1626087.5, which is interpreted correctly in
the legend below the graph as 451.7 hr.

Unfortunately, the Y-axis shows a fully-green graph with 1640.0 hr.

I have just upgraded from mrtg-2.9.17 to mrtg-2.10.13, and now, instead
of showing 1640.0 hr, it shows 1640.0 m, which is still wrong. The value
of 452 hr is correct, which would be 27120 minutes. Besides, the graph
should show hours.

Help appreciated. 

I'm looking at the loop on line 418, that is successively dividing by
1000. Shouldn't it be dividing by kilo? Looks like mrtg is figuring out
the value just fine, but rateup is not. 

Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]>
The major advances in civilization are processes that all but wreck the
societies in which they occur.
-- Albert North Whitehead

-- Binary/unsupported file stripped by Ecartis --
-- Err : No filename to use for decode, file stripped.
-- Type: application/pgp-signature


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/mrtg-developers

Reply via email to