[rrd-users] Re: followup on invalid data or spikes
Steve Bishop
steveb at veriohosting.com
Wed Jan 5 22:22:49 MET 2000
I just did a bit more testing. The "rrdtool tune" is not a necessary
to reproduce the bug. In my experience, though, it *seems* that the
tune command seems to cause, or somehow bring about this problem.
-Steve
Steve Bishop wrote:
>
> rrdtool create my.rrd -b 946843500 -s 300 "DS:load:GAUGE:300:0:5000" "DS:out_oct:COUNTER:300:0:1250000" \
> "DS:drop_oct:COUNTER:300:0:U" \
> "DS:out_pkts:COUNTER:300:0:25000" "DS:drop_pkts:COUNTER:300:0:U" \
> "RRA:AVERAGE:0.5:1:864" "RRA:AVERAGE:0.5:3:1344" "RRA:AVERAGE:0.5:12:744" \
> "RRA:AVERAGE:0.5:288:91"
>
> foreach i ( `cat file1`)
> rrdtool update my.rrd $i
> end
>
> rrdtool dump my.rrd > db.out
> rrdtool restore -r db.out my.rrd
> rrdtool tune my.rrd -a out_oct:1250000 -a out_pkts:25000
>
> foreach i ( `cat file2`)
> rrdtool update my.rrd $i
> end
>
> Now, examine the rrd at this point, and you will find invalid data:
> rrdtool dump my.rrd > db.out
> rrdtool restore -r db.out db.xml
>
> out of range found [ds: 3], [value : 1.9991590274e+37]
>
>
--
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://www.ee.ethz.ch/~slist/rrd-users
More information about the rrd-users
mailing list