<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
The shortest answer: Read the fine documentation that comes with
RRDtool.<br>
<br>
The slightly longer answer: RRDtool might be the wrong tool for your
application, especially if you're trying to capture a single datum.<br>
<br>
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.<br>
<br>
HTH!<br>
Andy<br>
<br>
cruz wrote:
<blockquote cite="mid:1235053019051-2353215.post@n2.nabble.com"
type="cite">
<pre wrap="">Hi,
I'm trying to insert single data points into my RRD database.
Create the database:
</pre>
<blockquote type="cite">
<pre wrap="">rrdtool create test.rrd --start 900000000 DS:speed:GAUGE:300:U:U
RRA:AVERAGE:0.5:1:24
</pre>
</blockquote>
<pre wrap=""><!---->adding data:
</pre>
<blockquote type="cite">
<pre wrap="">rrdtool update test.rrd 900000900:1234
</pre>
</blockquote>
<pre wrap=""><!---->
Without adding any further data my '1234' won't occure in the RRA.
</pre>
<blockquote type="cite">
<pre wrap="">rrdtool dump test.rrd
</pre>
</blockquote>
<pre wrap=""><!---->[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?
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Progress comes in many flavors!
Andy Riebs, HP Scalable Computing and Infrastructure / Catalysts
(w) <a class="moz-txt-link-abbreviated" href="mailto:andy.riebs@hp.com">andy.riebs@hp.com</a> Technology for better business outcomes
+1.508.467.3002 (In office Tue & Wed, IM or mail other days)
(h) <a class="moz-txt-link-abbreviated" href="mailto:andy@candooz.com">andy@candooz.com</a> My opinions are not necessarily those of HP
</pre>
</body>
</html>