Hi all, I discover a problem with the rrdtool. My create-command:
---snip--- /usr/bin/rrdtool create $workdir/$target.rrd --start $lowtimestamp-300 --step 300 DS:inoct:DERIVE:450:0:10000000000 DS:outoct:DERIVE:450:0:10000000000 RRA:AVERAGE:0.5:1:576 RRA:AVERAGE:0.5:6:384 RRA:AVERAGE:0.5:24:384 RRA:AVERAGE:0.5:288:366 RRA:MAX:0.5:1:576 RRA:MAX:0.5:6:384 RRA:MAX:0.5:24:384 RRA:MAX:0.5:288:366 ---snip--- My update-command: ---snip--- /usr/bin/rrdtool update $workdir/$target.rrd -t inoct:outoct $row[0]:$row[1]:$row[2] ---snip--- The problem is, that after some NaNs rrdtool takes the counter subtracts nothing and calculates the average through the timestamp (looks like that). Example: Data: 1025122897 NA NA 1025123198 NA NA 1025123400 NA NA 1025123715 76959194866 45025166344 Content of RRD: <!-- 2002-06-26 22:20:00 CEST / 1025122800 --> <row><v> NaN </v><v> NaN </v></row> <!-- 2002-06-26 22:25:00 CEST / 1025123100 --> <row><v> NaN </v><v> NaN </v></row> <!-- 2002-06-26 22:30:00 CEST / 1025123400 --> <row><v> NaN </v><v> NaN </v></row> <!-- 2002-06-26 22:35:00 CEST / 1025123700 --> <row><v> 2.4431490431e+08 </v><v> 1.4293703599e+08 </v></row> As you see, the counters divided through the timestamp-difference (315) give the values in the rrd. As you can see, I appear a lot of peaks ... Any suggestions ? Best regards, Stephan P.S. Goin' crazy, pls help !!! -- Stephan Harren Manager Site Operations MFN-IS Germany Tel 0049 69 90554 153 Cell 0049 173 7011126 Fax 0049 69 90554 111 -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
