[rrd-users] combining several RRD log files to one

Chris Mason chris at noodles.org.uk
Wed Mar 7 14:58:26 CET 2012


> Has anyone a logic (pseudo-code) or (Perl) script that allows me to combine
> several RRD log files that contain one or 2 datasets  to one RRD file with
> several datasets.

When you define a DEF, you specify the RRD file:

DEF:ds0=router1.rrd:ds0:AVERAGE
DEF:ds1=router2.rrd:ds0:AVERAGE

You can then use the DEFs as you normally would.

The syntax is defined in the rrdtool documentation:

http://oss.oetiker.ch/rrdtool/doc/rrdgraph_data.en.html

/Chris



More information about the rrd-users mailing list