[rrd-users] Error: Different results for same data values.
Christian Volkmann
CVolkmann at orga-systems.com
Fri Aug 19 10:48:04 MEST 2005
Due to another thread here I detected a strange graph
for the same values.
The script below should feeds the same values for
UNEXPECTED and STRANGE in test.rrd and test2.rrd.
test.rrd just contains a second data which is feed in
parallel.
I see a different graph for "UNEXPECTED" and "STRANGE"
in 1.2.11 .
Best regards,
Christian
#!/bin/bash
rrdtool create test.rrd --start 1100000200 -s 60 \
DS:UNEXPECT:GAUGE:60:0:100 \
DS:EXPECT:GAUGE:60:0:100 \
RRA:MAX:0:1:8
rrdtool create test2.rrd --start 1100000200 -s 60 \
DS:STRANGE:GAUGE:60:0:100 \
RRA:MAX:0:1:8
rrdtool update test.rrd -t EXPECT 1100000220:0
rrdtool update test.rrd -t UNEXPECT 1100000240:0
rrdtool update test.rrd -t EXPECT 1100000280:20
rrdtool update test.rrd -t UNEXPECT 1100000300:20
rrdtool update test.rrd -t EXPECT 1100000340:0
rrdtool update test.rrd -t UNEXPECT 1100000360:0
rrdtool update test.rrd -t EXPECT 1100000400:0
rrdtool update test.rrd -t UNEXPECT 1100000420:0
rrdtool update test.rrd -t EXPECT 1100000460:80
rrdtool update test.rrd -t UNEXPECT 1100000480:80
rrdtool update test.rrd -t EXPECT 1100000520:0
rrdtool update test.rrd -t UNEXPECT 1100000540:0
rrdtool update test2.rrd -t STRANGE 1100000240:0
rrdtool update test2.rrd -t STRANGE 1100000300:20
rrdtool update test2.rrd -t STRANGE 1100000360:0
rrdtool update test2.rrd -t STRANGE 1100000420:0
rrdtool update test2.rrd -t STRANGE 1100000480:80
rrdtool update test2.rrd -t STRANGE 1100000540:0
rrdtool graph picture.gif --start 1100000200 \
--end 1100000600 --step 60 -w 200 -h 200 \
DEF:a=test.rrd:UNEXPECT:MAX \
DEF:b=test.rrd:EXPECT:MAX \
DEF:c=test2.rrd:STRANGE:MAX \
LINE3:a#FF0000:unexpected \
LINE2:b#00FF00:expected \
LINE1:c#0000FF:'strange, should be like unexpected'
display picture.gif
--
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