[rrd-users] Where is the error
Marc
Marc at Tobien.net
Sat Jun 26 20:04:43 CEST 2010
Where is the error?
Please have a lock to my code.
I am creating a rrd database, sending updates and generating a png.
The png is without dates and I cannot locate the error.
/usr/bin/rrdtool create /var/rrd/data/FA41E6010800.rrd \
-s 120 \
DS:temperature:GAUGE:300:-25:110 \
RRA:AVERAGE:0.5:2:2016 \
RRA:AVERAGE:0.5:6:2016 \
RRA:AVERAGE:0.5:60:1900 \
RRA:AVERAGE:0.5:144:1488 \
RRA:MAX:0.5:2:2016 \
RRA:MAX:0.5:6:2016 \
RRA:MAX:0.5:60:1900 \
RRA:MAX:0.5:144:1488 \
RRA:MIN:0.5:2:2016 \
RRA:MIN:0.5:6:2016 \
RRA:MIN:0.5:60:1900 \
RRA:MIN:0.5:144:1488
/usr/bin/rrdtool update /var/rrd/data/FA41E6010800.rrd N:32.0625
/usr/bin/rrdtool graph /var/www/temperature/FA41E6010800_std.png --start
-36000 \
DEF:temperature=/var/rrd/data/FA41E6010800.rrd:temperature:AVERAGE \
LINE1:temperature#0000ff:"FA41E6010800" -h300 -w500 -y1:2 --color
GRID#dddddd --color MGRID#aaaaaa
<!-- 2010-06-21
04:12:00 CEST / 1277086320 -->
<row><v> NaN </v></row>
<!-- 2010-06-21
04:16:00 CEST / 1277086560 -->
<row><v> NaN </v></row>
<!-- 2010-06-21
04:20:00 CEST / 1277086800 -->
<row><v> NaN </v></row>
<!-- 2010-06-21
04:24:00 CEST / 1277087040 -->
<row><v> NaN </v></row>
<!-- 2010-06-21
04:28:00 CEST / 1277087280 -->
<row><v> NaN </v></row>
<!-- 2010-06-21
04:32:00 CEST / 1277087520 -->
<row><v> NaN </v></row>
<!-- 2010-06-21
04:36:00 CEST / 1277087760 -->
<row><v> NaN </v></row>
<!-- 2010-06-21
04:40:00 CEST / 1277088000 -->
<row><v> NaN </v></row>
<!-- 2010-06-21
04:44:00 CEST / 1277088240 -->
<row><v> NaN </v></row>
<!-- 2010-06-21
04:48:00 CEST / 1277088480 -->
<row><v> NaN </v></row>
After doing a dump, I can see that there are no dates in the database.
Having an empty png is Ok because ther are no datas, but why do I not get
the values into the database?
Regards
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20100626/3dc0221d/attachment.html
More information about the rrd-users
mailing list