[rrd-users] weird behaviour of rrd graph

Tobias Oetiker tobi at oetiker.ch
Tue Sep 28 23:12:47 CEST 2010


Today Alex van den Bogaerdt wrote:

> > also note that recent rrdtool versions have become more 'stable' in
> > their choices ... by only looking to the past and not to the
> > present since all RRAs by definition cover the present to the best
> > of their abilities ...
>
>
> I'm not sure, but isn't this the same difference?
>
> now-1y will still sometimes be exactly on one RRA boundary, but usually not.
> Just as now does.
>
> I suggest Roland tries to compute current_time - (current_time modulo 21600)
> and use that instead of  "now" to see if that makes a difference. I'm not
> going to bet on it, but it would sure be my first try.
>
> 2nd and 3rd try would be 262800 and 2628000 where I wrote 21600.

yes, that is the 'old' solution ... and it does work. but since
rrdtool is not even looking at coverage at the future end of the
range this does not matter any more ...

cheers
tobi

>
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-users mailing list