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

Engrie, Marc marc.engrie at sanomamedia.be
Mon Mar 12 20:25:13 CET 2012


I got it working 

Thx a lot.

-----Original Message-----
From: Chris Mason [mailto:chris at noodles.org.uk] 
Sent: 07 March 2012 14:58
To: Engrie, Marc
Cc: rrd-users at lists.oetiker.ch
Subject: Re: [rrd-users] combining several RRD log files to one

> 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