[rrd-users] Adding single datapoints to a RRDdatabase
Andy Riebs
andy.riebs at hp.com
Thu Feb 19 15:37:21 CET 2009
The shortest answer: Read the fine documentation that comes with RRDtool.
The slightly longer answer: RRDtool might be the wrong tool for your
application, especially if you're trying to capture a single datum.
The longer answer: RRDtool captures data over intervals. You need at
least 2 data points to define an interval. And then you'll need another
datum to persuade RRDtool that the interval has ended.
HTH!
Andy
cruz wrote:
> 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?
>
>
>
>
--
Progress comes in many flavors!
Andy Riebs, HP Scalable Computing and Infrastructure / Catalysts
(w) andy.riebs at hp.com Technology for better business outcomes
+1.508.467.3002 (In office Tue & Wed, IM or mail other days)
(h) andy at candooz.com My opinions are not necessarily those of HP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20090219/2d9450d6/attachment.html
More information about the rrd-users
mailing list