On Thu, Jul 17, 2008 at 03:37:32PM +0100, Simon Hobson wrote: > I've had a number of replies (on and off list) thanks. I've now > twigged that all I need to do is adapt my existing scripts a bit, and > change the set the Content-type header to suit. > > So all I need to do is have a script like : > > build graph image file > send headers > cat image file
send headers, call rrdtool graph with filename '-' (without quotes). This will fail if graph generation should fail, but normally it would save disk IO and work properly. If '-' is seen as an empty option, try the following: (fill in <options> and <graph elements>) rrdtool graph <options> -- - <graph elements> -- Alex van den Bogaerdt http://www.vandenbogaerdt.nl/rrdtool/ _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
