[rrd-users] Re: Updating RRD file with GAUGE DST
Alex van den Bogaerdt
alex at ergens.op.het.net
Wed Nov 12 17:52:28 MET 2003
On Wed, Nov 12, 2003 at 03:23:41PM +0100, Pitisi wrote:
> I create a RRD file with the following command:
[condensed the email]
>
> rrdtool create fic.rrd --start 1067264480 --step 10 \
> DS:Metrique:GAUGE:20:U:U RRA:AVERAGE:0.5:1:360
> rrdtool update fic.rrd --template Metrique 1067264490:200
> rrdtool fetch fic.rrd AVERAGE --start 1067264480 --end 1067264520
> Metrique
>
> 1067264480: nan
> 1067264490: nan
> 1067264500: nan
> 1067264510: nan
> 1067264520: nan
Using a really old rrdtool (1.0.9) I get this:
Metrique
1067264480: NaN
1067264490: 200.00
1067264500: NaN
1067264510: NaN
1067264520: NaN
Using v1.0.39 I get this:
Metrique
1067264480: nan
1067264490: 2.0000000000e+02
1067264500: nan
1067264510: nan
1067264520: nan
In both cases it works as expected.
> If I delete fic.rrd and restart the same experience, but replace
> 1067264490:200 in the first update by 1067264480:200 (at the first entry
> in the RRD file), everythings works correctly:
So it seems that the implicit unknown entry from 1067264480-10 to 1067264480
influences the interval from 1067264480 to 1067264480+10.
Strange. What version?
--
http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1
--
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
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list