[rrd-users] rrd not storing data.
Mike Lindsey
coyote at gmail.com
Tue Jul 20 22:58:30 MEST 2004
I've got a bunch of rrd files that I'm creating and storing data in.
Everything looks fine until I pull the data back out... All I get is
NaNs...
Create command:
rrdtool create file.rrd DS:value:COUNTER:600:U:U RRA:AVERAGE:0.5:1:1200
update command (on a 5 minute crontab):
rrdtool update file.rrd -t value N:787882194044
dump:
rrdtool dump file.rrd
<!-- Round Robin Database Dump -->
<rrd>
<version> 0001 </version>
<step> 300 </step> <!-- Seconds -->
<lastupdate> 1090355797 </lastupdate> <!-- 2004-07-20 13:36:37 PDT -->
<ds>
<name> value </name>
<type> COUNTER </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> NaN </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> 787882194044 </last_ds>
<value> 0.0000000000e+00 </value>
<unknown_sec> 97 </unknown_sec>
</ds>
<!-- 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 </unkno
wn_datapoints></ds>
</cdp_prep>
<database>
[snip]
<!-- 2004-07-20 12:45:00 PDT / 1090352700 -->
<row><v> NaN </v></row>
<!-- 2004-07-20 12:50:00 PDT / 1090353000 -->
<row><v> NaN </v></row>
<!-- 2004-07-20 12:55:00 PDT / 1090353300 -->
<row><v> NaN </v></row>
<!-- 2004-07-20 13:00:00 PDT / 1090353600 -->
<row><v> NaN </v></row>
<!-- 2004-07-20 13:05:00 PDT / 1090353900 -->
<row><v> NaN </v></row>
<!-- 2004-07-20 13:10:00 PDT / 1090354200 -->
<row><v> NaN </v></row>
<!-- 2004-07-20 13:15:00 PDT / 1090354500 -->
<row><v> NaN </v></row>
<!-- 2004-07-20 13:20:00 PDT / 1090354800 -->
<row><v> NaN </v></row>
<!-- 2004-07-20 13:25:00 PDT / 1090355100 -->
<row><v> NaN </v></row>
<!-- 2004-07-20 13:30:00 PDT / 1090355400 -->
<row><v> NaN </v></row>
<!-- 2004-07-20 13:35:00 PDT / 1090355700 -->
<row><v> NaN </v></row>
<!-- 2004-07-20 13:40:00 PDT / 1090356000 -->
<row><v> NaN </v></row>
</database>
</rra>
</rrd>
--
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