[rrd-users] Re: multipule ports

Jason Fesler jfesler at gigo.com
Mon Mar 19 18:40:23 MET 2001


> Is there any way
> to get rrd combine both of these ports and make one rrd file?

Use multiple DEF and CDEF definitions.  This is from a recent graph
I made (forgive the formatting, this is from my debug output, after
it's been parsed into the effective *argv[]), and with the names
changed to protect the innocent.

/opt/INKTrrd/html/tmp/395d4a3aa8e70784c1c7270223d7b4ae.png
--imgformat
PNG
--start
-2h
--end
now
--height
200
--width
600
--lower-limit
0
--upper-limit
0
COMMENT:QPS last updated Mon Mar 19 12:32:51 2001 EST\r
DEF:r0=/opt/INKTrrd/databases/gauge/cluster1/C/customer.rrd:QPS:AVERAGE
DEF:r1=/opt/INKTrrd/databases/gauge/cluster2/C/customer.rrd:QPS:AVERAGE
DEF:r2=/opt/INKTrrd/databases/gauge/cluster3/C/customer.rrd:QPS:AVERAGE
LINE2:r0#e00000:'cluster1/C/customer'
GPRINT:r0:MIN:QPS %1.2lf
GPRINT:r0:AVERAGE: %1.2lf
GPRINT:r0:MAX: %1.2lf
GPRINT:r0:LAST:now %1.2lf \r
LINE2:r1#00e000:'cluster2/C/customer'
GPRINT:r1:MIN:QPS %1.2lf
GPRINT:r1:AVERAGE: %1.2lf
GPRINT:r1:MAX: %1.2lf
GPRINT:r1:LAST:now %1.2lf \r
LINE2:r2#0000e0:'cluster3/C/customer'
GPRINT:r2:MIN:QPS %1.2lf
GPRINT:r2:AVERAGE: %1.2lf
GPRINT:r2:MAX: %1.2lf
GPRINT:r2:LAST:now %1.2lf \r


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



More information about the rrd-users mailing list