[rrd-developers] Some values become NaN...
Michael Bischof
michael.bischof at ch.uu.net
Thu Jul 27 00:51:01 MEST 2000
Hi,
I wrote a script that updates every 5 Minute a rrdtool database...
>From time to time some inserted values become NaN ???
Here is a dump of the rrdtool database:
<!-- 2000-07-26 23:25:00 MEST --> <row><v> 5.7001427667e+05 </v><v>
7.7786502333e+05 </v></row>
<!-- 2000-07-26 23:30:00 MEST --> <row><v> 5.7547534783e+05 </v><v>
7.6807469231e+05 </v></row>
<!-- 2000-07-26 23:35:00 MEST --> <row><v> 5.4793954007e+05 </v><v>
7.3842673077e+05 </v></row>
<!-- 2000-07-26 23:40:00 MEST --> <row><v> 4.7369026293e+05 </v><v>
6.3859965477e+05 </v></row>
<!-- 2000-07-26 23:45:00 MEST --> <row><v> 4.2221995313e+05 </v><v>
5.8965253903e+05 </v></row>
<!-- 2000-07-26 23:50:00 MEST --> <row><v> 4.5852358793e+05 </v><v>
6.5574550530e+05 </v></row>
<!-- 2000-07-26 23:55:00 MEST --> <row><v> 4.8026418500e+05 </v><v>
6.0118182430e+05 </v></row>
<!-- 2000-07-27 00:00:00 MEST --> <row><v> 4.8133375333e+05 </v><v>
5.6697487333e+05 </v></row>
<!-- 2000-07-27 00:05:00 MEST --> <row><v> NaN </v><v> NaN </v></row>
<!-- 2000-07-27 00:10:00 MEST --> <row><v> 4.2777260201e+05 </v><v>
6.0224152174e+05 </v></row>
<!-- 2000-07-27 00:15:00 MEST --> <row><v> 4.7328428241e+05 </v><v>
5.9254861198e+05 </v></row>
<!-- 2000-07-27 00:20:00 MEST --> <row><v> 4.3858884116e+05 </v><v>
5.6197149458e+05 </v></row>
<!-- 2000-07-27 00:25:00 MEST --> <row><v> 4.1634514667e+05 </v><v>
5.5094922667e+05 </v></row>
<!-- 2000-07-27 00:30:00 MEST --> <row><v> 4.0158984281e+05 </v><v>
5.6818014047e+05 </v></row>
Here you can see when I've inserted which values:
[26.07.2000 23:21:27] N:1700217451:3249272098
[26.07.2000 23:26:28] N:1853471652:3464823810
[26.07.2000 23:31:27] N:2025538781:3694478143
[26.07.2000 23:36:27] N:2186546537:3912373243
[26.07.2000 23:41:27] N:2320933621:4093204676
[26.07.2000 23:46:27] N:2444445919:4268492910
[26.07.2000 23:51:27] N:2587739595:179004577
[26.07.2000 23:56:27] N:2732139721:349097039
[27.07.2000 00:01:28] N:2880211733:539269065
[27.07.2000 00:06:29] N:3008434609:701455961
[27.07.2000 00:11:28] N:3136338617:881526176
[27.07.2000 00:16:28] N:3283991394:1058083718
[27.07.2000 00:21:28] N:3408894938:1223368486
[27.07.2000 00:26:29] N:3535319263:1393375162
---rrdtool database---
./rrdtool create test.rrd \
DS:inp:COUNTER:300:0:U \
DS:out:COUNTER:300:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:600 \
RRA:AVERAGE:0.5:24:600 \
RRA:AVERAGE:0.5:288:600 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:600 \
RRA:MAX:0.5:24:600 \
RRA:MAX:0.5:288:600
---
---update command---
./rrdtool --template=in:out N:<value>:<value>
---
--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-developers
mailing list