[rrd-users] Re: this script produces NaN for data
Alex van den Bogaerdt
alex at ergens.op.het.net
Thu Nov 13 23:09:29 MET 2003
On Thu, Nov 13, 2003 at 11:04:44PM +0100, Alex van den Bogaerdt wrote:
> On Thu, Nov 13, 2003 at 12:25:12PM -0800, Hunter Peress wrote:
> > Run the below script first with an arg, thena few times without an arg.
> > then run rrdtool dump test.rrd and you'll see that the data is NaN.
> >
> > why ?
>
> <!-- Round Robin Archives -->
> <rra>
> <cf> AVERAGE </cf>
> <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->
> <xff> 5.0000000000e-01 </xff>
>
> <cdp_prep>
> <ds><value> NaN </value> <unknown_datapoints> 0 </unknown_datapoints></ds>
> <ds><value> NaN </value> <unknown_datapoints> 0 </unknown_datapoints></ds>
> </cdp_prep>
> <database>
> <!-- 2003-11-13 22:55:00 CET / 1068760500 --> <row><v> NaN </v><v> NaN </v></row>
> <!-- 2003-11-13 23:00:00 CET / 1068760800 --> <row><v> 2.4766560356e+07 </v><v> 2.3933351356e+07 </v></row>
> </database>
> </rra>
> </rrd>
>
>
> Nothing wrong with rrdtool.
<!-- Round Robin Archives -->
<rra>
<cf> AVERAGE </cf>
<pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->
<xff> 5.0000000000e-01 </xff>
<cdp_prep>
<ds><value> NaN </value> <unknown_datapoints> 0 </unknown_datapoints></ds>
<ds><value> NaN </value> <unknown_datapoints> 0 </unknown_datapoints></ds>
</cdp_prep>
<database>
<!-- 2003-11-13 23:00:00 CET / 1068760800 --> <row><v> 2.4766560356e+07 </v><v> 2.3933351356e+07 </v></row>
<!-- 2003-11-13 23:05:00 CET / 1068761100 --> <row><v> 2.5341273000e+07 </v><v> 2.4508064000e+07 </v></row>
</database>
</rra>
</rrd>
still nothing wrong with rrdtool.
I think I'm going to quit wasting time now.
--
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