[rrd-users] Re: [rrd-user]: RRDCGI

Tobias Oetiker oetiker at ee.ethz.ch
Mon Oct 11 22:21:14 MEST 1999


Today you sent me mail regarding [rrd-users] [rrd-user]: RRDCGI:

*> Hi!
*> 
*> I have made a html-form were you can choose what you want graphed.
*> This calls a cgi-script that checks some variables and other stuff and then
*> this cgi-script calls another cgi-script (rrdcgi) which then should print
*> out
*> the graph depending on the choosen values in the form.
*> 
*> I use this for testing purposes:
*> 
*> <RRD::GRAPH <RRD::CV rrd>.gif --lazy
*>   DEF:ram=<RRD::CV rrd>.rrd:ram:AVERAGE
*>           LINE2:ram#00a000:"Free RAM">
*> 
*> rrd=/home/http/xxxxxx/rrdtool/$machine
*> 
*> Everything works fine except that the HTML output uses ./image.gif as img
*> src, why is this? Am i doing something wrong, is there an option that
*> specifies what to put as img src?

this is for security reasons ... if you want the image to come from some
other place use the --imginfo to specify a custom IMG tag ... 

cheers
tobi


-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

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



More information about the rrd-users mailing list