[rrd-users] Re: Newbie: "step" confusion, blank plots

Serge Maandag serge.maandag at staff.zeelandnet.nl
Thu Oct 2 21:01:34 MEST 2003


rrdtool will only graph data coming out of a rrd database.
Therefore you must first put it in one.

You do that by creating one and updating it with your data.
Since your data is sampled with a 15 minute interval, you can take that for stepsize.
Put 2 DS's in it with a heartbeat of more than 15 minutes, say 30 minutes.

Add at least one RRA to hold your data.
Below you have 18 samples, if that is all you would add an RRA with an xff of 0.5, that has 18 samples, each consolidated from 1 sample.

rrdtool create blabla.rrd --start <timestamp of first sample> \
--step 900 \
DS:ds0:DST:1800:U:U \
DS:ds1:DST:1800:U:U \
RRA:AVERAGE:0.5:1:18

Where DST should be replaced by GAUGE, COUNTER or whatever, depending on your data.

Then insert your data by doing:

rrdtool update blabla.rrd -t ds0:ds1 $epoch:$in:$out $epoch2:$in2:$out2 ..... etc...

Now you can do rrdtool graph on the rrd.

Serge.

p.s. Typo's may have occured..

> -----Original Message-----
> From: Mike Hunter [mailto:mhunter at ack.Berkeley.EDU]
> Sent: Thursday, October 02, 2003 8:26 PM
> To: rrd-users at list.ee.ethz.ch
> Subject: [rrd-users] Re: Newbie: "step" confusion, blank plots
> Importance: Low
> 
> 
> On Sep 25, "To rrd-users at list.ee.ethz.ch" wrote:
> 
> Since I didn't get any hits on my initial email, let me try 
> rephrasing my
> problem into something simpler.
> 
> Can somebody show me how to make an rrdgraph out of the following
> datafile?
> 
> 2003-08-29.013001       10920070747     8291601450
> 2003-08-29.014501       9914236068      9615483756

--
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