[rrd-developers] Re: rrdcgi bug: can't eval multiple <RRD::CV> tags on one line or somesuch

steve rader rader at teak.wiscnet.net
Wed Nov 3 03:23:30 MET 1999


 > *> Fwiw, I went about creating an interactive rrdtool cgi script
 > *> for nrg recently and found that the last line of this rrdcgi code
 > *> 
 > *>   <RRD::GRAPH <RRD::CV::PATH RRD_NAME>.gif
 > *>     --title "Graph for <RRD::CV::PATH RRD_NAME>: <RRD::CV NUM> <RRD::CV
 >  UNITS>"
 > *>     --start -<RRD::CV NUM><RRD::CV UNITS>
 > *> 
 > *> causes a 
 > *> 
 > *>   [ERROR: unknown function 'UNITS']
 > 
 > From: Tobias Oetiker
 > maybe it is a parser issue ... can you try leaving a space between 
 > 
 > <RRD::CV NUM> <RRD::CV UNITS> 

Yep, that works.

I hadn't even tried it because I, ah, assumed RRD::GRAPH
couldn't parse, eg, "--start '-1 day'".

later
steve
- - -
systems guy
wiscnet.net

--
* To unsubscribe from the rrd-developers mailing list, send a message with the
  subject: unsubscribe to rrd-developers-request at list.ee.ethz.ch



More information about the rrd-developers mailing list