[rrd-users] Questions about manipulating the data

Philip Lawatsch philip at lawatsch.at
Mon Oct 18 20:34:15 MEST 2004


I'm trying to get some things working but need some help:

I've got a data source created by

$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      \
             RRA:AVERAGE:0.5:30:700      \
             RRA:AVERAGE:0.5:120:775     \
             RRA:AVERAGE:0.5:1440:797    \
             RRA:MAX:0.5:1:3000          \
             RRA:MAX:0.5:30:700          \
             RRA:MAX:0.5:120:775         \
             RRA:MAX:0.5:1440:797        \
             RRA:MIN:0.5:1:3000          \
             RRA:MIN:0.5:30:700          \
             RRA:MIN:0.5:120:775         \

Now I want to plot this using an AREA (used) and then STACK the free on 
top of this.

Thats working fine, but now i've got some problems.

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?

And, another problem:

I've got 5 such data sources and some of them where started after the 
first ones.

Thus I do a

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.

Otherwise my yearly graph's average value will be wrong.

Any ideas?

kind regards Philip

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