Hi, I am generating graphs from rrdtool using a cgi script.  When an
error occurs I need to return an image that contains the error message
instead of the graph (it needs to return an image as that is what is
being requested - ie: from an <img> tag).

I currently do this by having rrdtool parse an empty rrd file (ie: all
NaNs) to generate a blank graph and using a COMMENT command to display
the error in the image.

I found that I could not get rrdtool to generate a graph without passing
it an RRD file.  I would rather be able to just generate an image
containing the error text only, and not bother about faking an empty
graph from a dummy RRD file.  Is this possible?

Cheers,
Chris

-- 
http://chrismiles.info/

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to