[rrd-users] Re: RRDTool Cgi Problem
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Mon Dec 3 10:17:31 MET 2001
Olivier Nicole wrote:
>
> Hi,
>
> > "DEF:a$varName=$rrdPath$rrdFile:ds$DS:MAX");
> > push (@args, "CDEF:$other=$varName,8,*");
> > push (@args, "LINE1:a$varName#$colour:$keyName");
>
> I may be wrong but i see that in DEF you use a$varName while in CDEF
> you use $varName
That, and in stead of graphing $other the variable a$varName is used in the LINE1.
The usual sequence would be:
DEF:somevar=some.rrd:DS0:AVERAGE
CDEF:othervar=somevar,8,*
LINE1:othervar#FF0000:"Explaining this line"
cheers,
--
__________________________________________________________________
/ 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