[rrd-users] Re: Combining RRD files into single graph

Daniel Tepas daniel at the-temple.de
Fri Jul 14 19:59:36 MEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Joe Loiacono wrote:

> Is there a standard way (or any way :) of easily combining data
> from several separate RRDtool files into a single graph? Thanks,
>
Sure, very easy. Usually you will have a tool to collect data in some
rrd files. Then you generate graphs with some "DEF"-commands definig
data sources like this:

DEF:load=/usr/local/rrdtool/system.rrd:load:AVERAGE \
DEF:hda2=/usr/local/rrdtool/system.rrd:hda2:AVERAGE \
DEF:hdb3=/usr/local/rrdtool/system.rrd:hdb3:AVERAGE \
... and so on.
The command "DEF:shoesize=/where/is/my/rrd/file:mike:AVERAGE lets
rrdtool collect the average values from the value "mike" out of the
file /where/is/my/rrd/file to be available with the name "shoesize"
and to be displayed in a graph with the command:

LINE1:shoesize#00bb00:"Mike's shoesize" \

And you may define multiple DEF-commands each extracting values out of
different rrd-files just by naming the files.

Hope to help, Daniel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFEt9uI34dQ9W8Dyg4RApjNAJ9roPQEtCGG9N4OYCqUEWJPo33+4QCfTURv
ZpvDXzv4Ved+a9YMslwBsRU=
=vxjC
-----END PGP SIGNATURE-----

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list