[rrd-users] Re: rrdtool not storing data, returns nothing.
Alex van den Bogaerdt
alex at ergens.op.het.net
Thu Oct 26 03:41:12 MEST 2006
On Wed, Oct 25, 2006 at 11:51:16PM +0200, swarog at gmaz.org wrote:
> Hello,
>
> Maybe I'm missing something obvious, but I'm honestly unable to trace it.
> Each of the updates is not returning anything. If issued in pipe mode it
> return 'OK'.
> <lastupdate> shows correct time of last update, but ds data is not
> updatated. As you can see <last_ds> is UNKN.
It _is_ updating.
> last_update = 1162357348
This is: Wed Nov 1 06:02:28 2006 MET DST.
Four possibilities:
1: all your updates are before the last update. In this case I wouldn't
expect "OK" from the pipe though. I mean: you are trying to update
a file that already exists and thus rejects your updates because they
are too old.
2: all your updates are further apart than your step size. In that
case all are ignored, replaced by NaN and written to the RRA
3: one of your updates falls outside the maximum allowed range.
This results in NaN, and you use grep -v to discard the entire line.
4: all your updates have occured, and you are trying to find
data that isn't there anymore. Try rrdtool fetch --end 1162357348 AVERAGE
or something similar.
To debug:
Try a smaller database, with just one rra and one ds. Then to one
update, dump the database to a file, do another update, dump again
but to a different file. See what changed.
Approach your problem step by step. Use the tutorial and/or my
site and/or the documentation. See what rrdtool is supposed to
do and then look why your input does not result in this.
If you think you have found a bug, show this using a self contained
example, a small one, that generates a file, does a couple of updates
and shows output. Use timestamps, not "now", so that it can be
reproduced.
--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/
--
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://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list