[rrd-users] CGI in Tcl using Rrd::graph

Maarten van Gelder mvgelder at vt.edu
Tue Dec 11 20:36:09 MET 2001


Hello rrd user,

I 'd like to create a CGI in Tcl that returns a graph to a web-browser, 
without first writing it to disk.  RRD comes with a Tcl interface to 
rrdtool.  I managed to create a simple CGI script with the Rrd package that 
can return a graph to a web browser by having the script create a graph on 
disk and using an <img src> tag that references this file.  I know one can 
make Rrd::graph write the image to stdout, by using '-' instead of a 
filename.  Can anyone tell me if this feature can be used to return an 
image to a web browser?  If so, what would be the Tcl syntax for doing so?

Thank you

Maarten van Gelder
mvgelder at vt.edu  


--
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