[rrd-developers] rigid and --upper-limit

Alex van den Bogaerdt alex at ergens.op.het.net
Sat Feb 9 12:30:35 CET 2008


Hi,

I tried using 1.2.25 so if this is already fixed in a later release,
please say so and accept my apologies for bringing this up.

I was creating some example graphs and got bitten by something I
consider to be a bug.

"--rigid" and "--upper-limit" are about the Y-axis, not about the
data being shown.  However, instead of a line going off the scale, 
the line is shown at a different rate than it really is at.

The attached image shows what I am talking about. The rates on
this graph are 10, 20, ... 230, 240. The upper limit is set to
200 and rigid is in place.

I expect the line to be invisible starting from hour 20 and up,
because the rates are above 200 and thus off the scale. Instead,
rate 200 is shown for every rate above 200.

Comments?

cheers,
Alex

rrdtool create demo.rrd --start 1202511600 --step 3600 \
	DS:demo:GAUGE:3600:U:U \
	RRA:AVERAGE:0:1:24

rrdtool update demo.rrd \
	1202515200:10 1202518800:20 1202522400:30 1202526000:40 \
	1202529600:50 1202533200:60 1202536800:70 1202540400:80 \
	1202544000:90 1202547600:100 1202551200:110 1202554800:120 \
	1202558400:130 1202562000:140 1202565600:150 1202569200:160 \
	1202572800:170 1202576400:180 1202580000:190 1202583600:200 \
	1202587200:210 1202590800:220 1202594400:230 1202598000:240

rrdtool graph demo3.png --start 1202511600 \
        --end start+24h \
        --upper-limit 200 \
        --lower-limit 0 \
	--rigid \
	--x-grid HOUR:1:HOUR:1:HOUR:1:0:%H \
        DEF:demo=demo.rrd:demo:AVERAGE \
        VDEF:min=demo,MINIMUM \
        VDEF:max=demo,MAXIMUM \
        LINE1:demo#0000FF:Demo \
        GPRINT:min:"Min %6.2lf" \
        GPRINT:max:"Max %6.2lf"

image attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demo3.png
Type: image/png
Size: 10502 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20080209/ccbfa378/attachment-0001.png 


More information about the rrd-developers mailing list