[rrd-users] Concatenate 2 RRD without overlap or sum

topgunx1 topgunx1 at hotmail.com
Fri Mar 20 16:45:05 CET 2015


Hello,
first of all thanks for this mailing list!

I would ask you the following question.

I should draw a graphic with the values (IN/OUT) of 2 NICs.
I wouldn't like that graphs overlap or sum 
I need to placed RX1 above the RX2 (starting from Y-0),
and TX1 above TX2 (newly starting from Y-0).


Here is my snippet config with overlap RX1, RX2, TX1 and TX2:
-----
$a = first.rrd
$b = second.rrd

[..]

"DEF:in-a=$a:in:AVERAGE",
"DEF:out-a=$a:out:AVERAGE",
"CDEF:bitin-a=in-a,8,*",
"CDEF:bitout-a=out-a,8,*",

"AREA:bitin-a#00A0007F",
"LINE1:bitin-a#00A000FF",
"LINE1:bitout-a#002A97FF",

"DEF:in-b=$b:in:AVERAGE",
"DEF:out-b=$b:out:AVERAGE",
"CDEF:bitin-b=in-b,8,*",
"CDEF:bitout-b=out-b,8,*",

"AREA:bitin-b#00C9007F",
"LINE1:bitin-b#00C900FF",
"LINE1:bitout-b#000000ff",
--------

How can I do this? 
Who help me?

Thanks in advance.

Regards.
Top



--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/Concatenate-2-RRD-without-overlap-or-sum-tp7582870.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.



More information about the rrd-users mailing list