[rrd-users] Re: RRD NaN Problem / Zero Values
Alex van den Bogaerdt
alex at ergens.op.het.net
Mon Nov 15 17:32:52 MET 2004
On Mon, Nov 15, 2004 at 04:24:02PM +0100, Synox wrote:
> I use TCL to read a logfile, and if there something in it, I want to
> update it into my RRD.
If there's NOT something in it, you also have information. You want
to store zero in that case.
> The RRD is set to:
> create c.rrd --step 10 --start 1068908953 DS:unknown:GAUGE:120:0:U
> RRA:AVERAGE:0.99999:30:400 RRA:AVERAGE:0.99999:180:400
> RRA:AVERAGE:0.99999:720:400 RRA:AVERAGE:0.99999:8640:800
>
> (I'm using 0.99999 because I thought I will get less NaN's. )
Don't. You need to work on the entry part, not on the intermediate
part of rrdtool. In stead of masking all those NaNs, get rid of them.
> Is there a way to fill in a time range with Zero Values? I can do it
> with a for-loop, but this takes *a lot* of time.
RRDtool will use a single update to fill more than one step interval.
Set "step" to 10, "heartbeat" to 87000 and you can update once a day
filling 8640 steps with just one update.
You don't want to do this; you want to update more often. You want to
update rrdtool every couple of seconds, using the rate of zero if there's
no data in the logfile.
Alex
--
You want an answer? You'd better follow the following guidelines!
Linesize well below 80 chars. Reply to the list, not to me. Trim
irrelevant lines. Reply _below_ the relevant lines, not on top.
--
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