[rrd-users] Create text-only image with rrdtool
miles.chris at gmail.com
Sat Dec 10 18:41:28 MET 2005
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?
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users