DST ABSOLUTE does not work as expected
"Stefan Wernli" <[email protected]>
| Newsgroups | gmane.comp.db.rrdtool.user |
|---|---|
| Message-ID | <trinity-b2b0ff92-78ff-4ae3-aba3-14e90c477cf2-1427540055866@3capp-gmx-bs14> |
I'm reading a value minutes of sunshine in the past 10 minutes, which can vary between 0 and 10 and gets read every 10 minutes. So I created an rrd with a DST ABSOLUTE, because the source always starts at 0 after each period, expecting the value in the RRD to be like 10,20,30,40,50,60 for a full hour of sunshine. Data reading is fine: ds[sunshine].index = 1 ds[sunshine].type = "ABSOLUTE" ds[sunshine].minimal_heartbeat = 1200 ds[sunshine].min = 0.0000000000e+00 ds[sunshine].max = 1.0000000000e+10 ds[sunshine].last_ds = "10" ds[sunshine].value = 0.0000000000e+00 ds[sunshine].unknown_sec = 0 But in the rrd itself I get weird values: <!-- 2015-03-28 08:50:00 CET / 1427529000 --> <row><v>1.6666666667e-02</v></row> <!-- 2015-03-28 09:00:00 CET / 1427529600 --> <row><v>1.6666666667e-02</v></row> <!-- 2015-03-28 09:10:00 CET / 1427530200 --> <row><v>1.6666666667e-02</v></row> (1.666e-02 is 1/60 btw.) What point am I missing? _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users