Stacking targets

Jon Martin <[email protected]> Thu, 18 Jun 2009 15:46:17 +0200
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
Hello,

I'm interesting in creating a stack type graph out of similar 
datasources from several targets of the same type.  For example, an 
area,stack,stack,stack graph using the ifOutOctets from 4 different 
interfaces.  In a way, it would be like a mtarget sum but with the 
details of each of the contributing targets drawn as areas.  I see in 
the Cricket reference document that there are 4 draw-as values AREA, 
LINE1, LINE2 and LINE3.  No STACK?  Is there a way to do this from 
within cricket?

Here is a interpretation of what I want to do in raw rrd.

/usr/bin/rrdtool graph image.png \
        --imgformat=PNG \
        --start=-151200 \
        --end=-300 \
        --rigid \
        --base=1000 \
        --height=180 \
        --width=560 \
        --alt-autoscale-max \
DEF:aout="interface0.rrd":ds0:AVERAGE  \
DEF:bout="interface1.rrd":ds0:AVERAGE  \
DEF:cout="interface2.rrd":ds0:AVERAGE  \
DEF:dout="interface3.rrd":ds0:AVERAGE  \
AREA:aout#FF7373:"Channel0\t"  \
STACK:bout#FF4040:"Channel1\t"  \
STACK:cout#FF0000:"Channel2\t"  \
STACK:dout#A60000:"Channel3\n"  \
        --color SHADEA#ffffff \
        --color SHADEB#ffffff \
        --color BACK#ffffff \
        --color CANVAS#ffffff

thanks,
Jon Martin




------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects