I'm new to RDDTOOL, so please forgive my ignorance...

I using RDTOOL to keep a database of varous DNS BIND statistics in order to
plot on a monthly graph. On the monthly graph for each day, I want to plot
the AVERAGE per day, the MAXIMUM value (high point), and the MINIMUM value (low 
point).

Seems simple enough...so, I'm creating a RRD using the following create 
statement:

 
/usr/local_perf/rrdtool-1.0.35/bin/rrdtool create
/home/depiano/BIND/databases/bind.pa101030-us-qip01.rrd   --step 3600 \
--start 1014613200  \
DS:RR:ABSOLUTE:4000:U:U  \
DS:A:ABSOLUTE:4000:U:U  \
DS:NS:ABSOLUTE:4000:U:U  \
DS:SOA:ABSOLUTE:4000:U:U  \
DS:PTR:ABSOLUTE:4000:U:U  \
DS:MX:ABSOLUTE:4000:U:U  \
DS:AAAA:ABSOLUTE:4000:U:U  \
DS:SRV:ABSOLUTE:4000:U:U  \
DS:IXFR:ABSOLUTE:4000:U:U  \
DS:AXFR:ABSOLUTE:4000:U:U  \
DS:ANY:ABSOLUTE:4000:U:U  \
RRA:AVERAGE:0.5:24:60 \
RRA:MIN:0.5:24:60 \
RRA:MAX:0.5:24:60


My graph statement looks like the following:  
$rraname is just a PERL variable containing the DS (e.g.  RR, A, NS, etc).


system ("/usr/local_perf/rrdtool-1.0.35/bin/rrdtool graph
$Graphmonthdir/$rrd_service.$server_name.month.$rraname.gif  --title $mtitle 
--start $mstarttime 
--end $mendtime  --height 200 --width 800 --vertical-label $daylabel
DEF:myrr=$Rrddir$rrd_name:$rraname:AVERAGE  CDEF:unitshr=myrr,86400,*
DEF:myhigh=$Rrddir$rrd_name:$rraname:MAX  CDEF:myhigha=myhigh,86400,*
DEF:mylow=$Rrddir$rrd_name:$rraname:MIN   CDEF:mylowa=mylow,86400,* 
LINE2:unitshr#FF0000:$rraname
STACK:myhigha#000FFF:high STACK:mylowa#00FF00:low");



Whats happening is that the AVERAGE seems to plot fine on the graph, however, 
MIN and MAX are not
plotting
correctly.  The MIN and MAX plot line is matching the AVERAGE line EXACTLY!!.  
Also, the MIN plot
line is above the AVERAGE plot line.  
Can someone please HELP !!!!  

Ron DePiano
[EMAIL PROTECTED]

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to