On Today at 5:08pm, SH=>Simon Hobson <[EMAIL PROTECTED]> wrote: SH> At the moment, my cgi scripts (all in Bash) call rrdtool graph to SH> create static image files as the html is generated - these are stored SH> in an images directory and only generated if an existing file is out SH> of date (using --lazy option). I'd like to re-write at least some of SH> this so that the html is static, and the images themselves are SH> generated on-the-fly as they are accessed - in part because management SH> is now wanting to incorporate individual graphs in other pages that I SH> don't have anything to do with. SH> SH> Can anyone point me to some examples, or give some hints, on good ways SH> to do this ? Could I, for example, have '.png' as a cgi (only for a SH> specific folder on the server) and have a png file which is actually a SH> bash script that generates the graph image and then pipes it out on SH> stout ? SH>
Hi Simon, I have written an on-the-fly graph generator (rrd.cgi): http://haroon.sis.utoronto.ca/rrd/scripts/ There are several others at: http://oss.oetiker.ch/rrdtool/rrdworld/index.en.html Later, -- Haroon Rafique <[EMAIL PROTECTED]> _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
