[rrd-users] blocy graph with description

Sebastian Pachuta seba123 at seba123.webd.pl
Tue Oct 17 08:58:57 MEST 2006


Hi Tobias, rrd-users

Here are my RRA-s from create:
  RRA:AVERAGE:0.5:1:1400 \
  RRA:AVERAGE:0.5:3:1400 \
  RRA:AVERAGE:0.5:13:1400 \
  RRA:AVERAGE:0.5:151:1400
step is 300

Problem is that sometimes second graph is blocky. Please look at this 
time line (one char is step - 5min):

first rra 111111111111111111111111111111111111111111111111111111111111111111111
2-nd one  <3><3><3><3><3><3><3><3><3><3><3><3><3><3><3><3><3><3><3><3><3><3><3>
third     <     13    ><     13    ><     13    ><     13    ><     13    ><
                     ->XX<-       ->X<-        -><-         ->XX<-       ->X<-

X char indicates time areas when rrd tool chooses third RRA for drawing
second one graph. Maybe after third rra updates its values, rrdtool thinks
that this data is more suitable (recent?) for drawing graph.

Please note, data in rra file is correct.

Solutions?

1/ I don't care
fix rra selection in rrdtool

2/ Feature request
my DEF from image generation:
DEF:iowait=cpu.rrd:iowait:AVERAGE

How can I pick my favourite RRA there?

3/ Lame
Do not use 'now' for '--end'.

$now = date +%s				; get now
$now = $now - ( $now % (300*3) )	; round it to 15min backwards
$start = $now - ... some value we use alone with '-' sign ...

4/ Nice
Get last update from rrd file and use it for '--end'

`rrdtool last` and `rrdtool info` prints only one time value :(

I can get these values from `rrdtool dump` but this will eat lots of cpu
cycles - more that 3-rd solution.


Regards
Sebastian

-- 
Sebastian Pachuta
seba123 at seba123.webd.pl

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list