[rrd-users] merging 2 data sets onto 1 graph
Mag Gam
magawake at gmail.com
Mon Mar 29 07:45:27 CEST 2010
The data is coming from 2 independent sources. I have created 1 rrd with 2 DSes.
What is the best way to create the rrd? I know a way to populate it
with perl. Most important, what is the best graph settings for this?
On Mon, Mar 29, 2010 at 1:34 AM, Tobias Oetiker <tobi at oetiker.ch> wrote:
> Hi Max,
>
> Yesterday Mag Gam wrote:
>
>> Newbie to rrdtool so I have been following this nic tutorial:
>> http://ds9a.nl/rrd-mini-howto/cvs/rrd-mini-howto/output/rrd-mini-howto.html#toc1
>>
>> I have data like this:
>>
>> on.csv
>> 1269829313,5
>> 1269829314,4
>> 1269829315,3
>> 1269829316,5
>> 1269829317,7
>> 1269829318,8
>> 1269829319,2
>> 1269829320,1
>> 1269829321,3
>>
>>
>> off.csv
>> 1269829313,10
>> 1269829314,14
>> 1269829315,20
>> 1269829316,20
>> 1269829317,20
>> 1269829318,20
>> 1269829319,14
>> 1269829320,15
>> 1269829321,17
>>
>>
>> I would like to merge this data and graph it into 1 graph.
>>
>> So. here is what I did so far:
>> rrdtool create datafile.rrd --step 1 DS:on:ABSOLUTE:900:0:50 ....
>
> depending on wether the data comes from one source (always two
> readings) or two independant sources, you should create one rrd
> with two DSes or two rrds with one ds each
>
> then in the graph you pull in the two data sources. either from one
> rrd or two rrds ... the graphing command is quite flexible in this
> regard.
>
> cheers
> tobi
>
>
>> Not sure how I can bundle the graph, any thoughts?
>>
>> TIA
>>
>> _______________________________________________
>> rrd-users mailing list
>> rrd-users at lists.oetiker.ch
>> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>>
>>
>
> --
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
> http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
>
More information about the rrd-users
mailing list