[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rrd-users
Subject:    [rrd-users] Re: Strange rrdtool behaviour (IMHO)
From:       serge.maandag () staff ! zeelandnet ! nl (Serge Maandag)
Date:       2005-01-09 16:47:51
Message-ID: 91FC132ACA694F45A6E42CE8E593838C01CCFABE () zmx ! staff ! zeelandnet ! nl
[Download RAW message or body]

> both cases only a fraction more than half the actual loss. If 
> this is indeed the case it should be mostly remedied by 
> making the script run a minute later, or is there a better 
> way to accomplish this?

In perl I'd do something like:

$timestamp = $step * int($timestamp/$size)

You are using a shell script, so you'll have to call some 
external program like bc, dc or awk.

> Hmmm, This is logical for the graph itsself, but IMHO 
> shouldn't be for raw MAX and MIN calculations as in GPRINT's. 
> A Maximum is a maximum and by definition shouldn't be 
> averaged if it doesn't have to be for viewing purposes.

But a GPRINT is for viewing purposes. Afaik, a GPRINT is not raw, 
but just as averaged as your graph is.

> BTW, am I correct in assuming that the only reason to add 
> more RRA's with a bigger step are to minimise CPU-time at 
> graph generation time, or am I missing something obvious here?

Almost, it also saves disk space.

Serge.

-------------
Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van \
de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic