[rrd-users] Adding single datapoints to a RRDdatabase
Alex van den Bogaerdt
alex at vandenbogaerdt.nl
Thu Feb 19 17:56:33 CET 2009
----- Original Message -----
From: "cruz" <Cruzader at gmx.de>
To: <rrd-users at lists.oetiker.ch>
Sent: Thursday, February 19, 2009 3:16 PM
Subject: [rrd-users] Adding single datapoints to a RRDdatabase
>
> Hi,
>
> I'm trying to insert single data points into my RRD database.
>
> Create the database:
>> rrdtool create test.rrd --start 900000000 DS:speed:GAUGE:300:U:U
>> RRA:AVERAGE:0.5:1:24
> adding data:
>> rrdtool update test.rrd 900000900:1234
>
> Without adding any further data my '1234' won't occure in the RRA.
>> rrdtool dump test.rrd
> [snip]
> <!-- 1998-07-09 18:10:00 CEST / 900000600 --> <row><v> NaN </v></row>
> <!-- 1998-07-09 18:15:00 CEST / 900000900 --> <row><v> NaN </v></row>
> </database>
> [/snap]
>
> Neither changing the consolidation function nor tweaking the xfiles factor
> will result in any different behavior.
> Any ideas how to get my '1234' into the RRA?
You are saying that between time 900000000 and 900000900 the rate was 1234.
But that time interval is 900 seconds long. You also told RRDtool to ignore
rates if updates are further apart than 300 seconds, and so it did.
Change that 300 into (for instance) 300, and you'll see your data, although
maybe not in the way you expected.
HTH
Alex
More information about the rrd-users
mailing list