[rrd-users] Different results between 1.3.5 and 1.3.9

Mike Schilli m at perlmeister.com
Mon Feb 22 07:28:17 CET 2010


Hi rrdtool folks,

a test suite of a module I maintain fails when upgrading from rrdtool
1.3.5 to 1.3.9 (and later). Below is a sequence of commands that
   produces

a) "Result = 6.00" on 1.3.9 (and the latest 1.4.2) and

b) "Result = 5.50" on 1.3.5

Just wanted to confirm that the former is correct?

-- Mike

Mike Schilli
m at perlmeister.com


rrdtool 'create' 'foo' '--start' '1080460190' '--step' '60' 'DS:load1:GAUGE:90:0:10' 'DS:load2:GAUGE:90:0:10' 'RRA:MAX:0.5:1:5' 'RRA:MAX:0.5:5:10' 'RRA:MIN:0.5:1:5' 'RRA:MIN:0.5:5:10'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460200:3:2.00'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460260:3.1:2.10'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460320:3.2:2.20'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460380:3.3:2.30'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460440:3.4:2.40'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460500:3.5:2.50'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460560:3.6:2.60'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460620:3.7:2.70'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460680:3.8:2.80'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460740:3.9:2.90'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460800:4:3.00'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460860:4.1:3.10'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460920:4.2:3.20'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080460980:4.3:3.30'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461040:4.4:3.40'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461100:4.5:3.50'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461160:4.6:3.60'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461220:4.7:3.70'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461280:4.8:3.80'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461340:4.9:3.90'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461400:5:4.00'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461460:5.1:4.10'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461520:5.2:4.20'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461580:5.3:4.30'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461640:5.4:4.40'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461700:5.5:4.50'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461760:5.6:4.60'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461820:5.7:4.70'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461880:5.8:4.80'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080461940:5.9:4.90'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080462000:6:5.00'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080462060:6.1:5.10'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080462120:6.2:5.20'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080462180:6.3:5.30'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080462240:6.4:5.40'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080462300:6.5:5.50'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080462360:6.6:5.60'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080462420:6.7:5.70'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080462480:6.8:5.80'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080462540:6.9:5.90'
rrdtool 'update' 'foo' '--template' 'load2:load1' '1080462600:7:6.00'

rrdtool 'graphv' 'mygraph.png' '--end' '1080462600' '--start' '1080460200' 'DEF:firstdraw=foo:load1:MAX' 'VDEF:in95precent=firstdraw,95,PERCENT' 'PRINT:in95precent:Result = %3.2lf'



More information about the rrd-users mailing list