[rrd-users] Re: simulating mrtg graphs + 14all
Rainer Bawidamann
rainer at bawidamann.de
Sun Jan 20 22:56:37 MET 2002
On 2002.01.20 22:30 Rainer Bawidamann wrote:
Hi!
> how would I use the 'rrdtool create'/'rrdtool update' tools to create an
> rrd containing samples just like mrtg does? i would like to feed this rrd
> to 14all ...
Search in the mrtg script/program for the string 'RRDs' and you will find
the args for the calls to create and update the .rdd files. For creation
you should use:
rrdtool create <filename.rrd> -b <begintime> -s <step>
DS:ds0:<dstype>:<minheartbeat>:0:<maxvali>
DS:ds1:<dstype>:<minheartbeat>:0:<maxvalo>
RRA:AVERAGE:0.5:1:600
RRA:AVERAGE:0.5:6:700
RRA:AVERAGE:0.5:24:775
RRA:AVERAGE:0.5:288:797
RRA:MAX:0.5:1:600
RRA:MAX:0.5:6:700
RRA:MAX:0.5:24:775
RRA:MAX:0.5:288:797
all on one line, step is normally 300 for mrtg/14all but that's not fixed.
Check the rrdtool documentation for the values of dstype, minheartbeat and
maxvali/maxvalo
Update is simple:
rrdtool update now:val1:val2
(where <now> can be the time of the measurement)
Rainer
--
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