[rrd-users] Re: Questions about manipulating the data
Alex van den Bogaerdt
alex at ergens.op.het.net
Sat Oct 23 15:03:01 MEST 2004
On Mon, Oct 18, 2004 at 08:34:15PM +0200, Philip Lawatsch wrote:
> $rrdtool create /opt/rrd/disk0.rrd -s 60 \
> DS:used:GAUGE:600:U:U \
> DS:free:GAUGE:600:U:U \
> RRA:AVERAGE:0.5:1:3000 \
0.5 may need to be adjusted
> Sometimes I wont get data for more than one hour and of course have a
> hole in the Graph.
>
> Since this does not look too good I'd like to use the last known value.
> How can I do this?
or use PREV
> Thus I do a
> CDEF:rused_disk0=used_disk0,UN,0,used_disk0,IF
>
> To make these values appear as 0 in case there was no data.
>
> The problem is, i want these values to be 0 only if the time for the
> value still lies inside the time of the other sources.
Use TIME and IF.
HTH
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