[rrd-users] Re: more than two targets on a graph

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Sat Feb 23 01:52:23 MET 2002


Messineo, Chris - eSpeed wrote:

> I need to have more than two targets on one graph. Every body says to use
> rrdtool. I am using rrdtool. But nowhere do I see a example of someone using
> MRTG with RRDTool as a backend having more than two targets on a graph. So
> can anybody send me a example of what to do to get three or four targets on
> one graph?

When you started using RRDtool you noticed the graphics were not
made anymore.  You needed to use another program to do that.

14all is such a program, it is 14all that is now generating your
images.  However, the design goal of 14all is (as far as I know)
to provide MRTG compatible images.  You want to have some different
program so you need to use some different program.

If you go through my tutorial (it's in the doc dir) you should be
able to generate your own grapher scripts.  You need to have some
programming experience but it shouldn't be too hard.

It is possible to fetch data from two MRTG compatible databases
and plot this data onto one graph:

   rrdtool graph /path/to/imagedir/mygraph.png -A PNG
   DEF:ds0=/path/to/database1:ds0:AVERAGE
   DEF:ds1=/path/to/database1:ds1:AVERAGE
   DEF:ds2=/path/to/database2:ds0:AVERAGE
   DEF:ds3=/path/to/database2:ds1:AVERAGE
   AREA:ds0#0000FF:ds0
   STACK:ds1#00CC00:ds1
   STACK:ds2#FF0000:ds2
   STACK:ds3#FFFF00:ds3

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
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