[rrd-users] rrdtool

Michael Earls Michael.Earls at cchmc.org
Wed Jun 11 15:30:06 MEST 2003

Is there a way to debug error messagesd when creating images?  Below is
my sh script/cgi to create the image from rrd data.  My image output is
The image "http://mrtg/cgi-bin/isp/inbound-daily.cgi" cannot be
displayed, because it contains errors.

What could case this issue?


echo "Content-Type: image/png"

rrdtool graph - \
--imgformat PNG \
--interlaced \
--start="-86400" \
--title 'ISP Traffic Inbound' \
--base="1000" \
--width="750" \
--height="200" \
--alt-autoscale-max \
--vertical-label "Kilobytes Per Second" \
DEF:if="/var/www/mrtg/traffic/isp/fastethernet2_0.rrd":ds0:AVERAGE \
CDEF:infuse="if,8,*" \
CDEF:inoar="io,8,*" \
LINE2:infuse#00CF00:"isp1" \
GPRINT:inuse:LAST:" Current\:%8.2lf %s" \
GPRINT:inuse:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:inuse:MAX:"Maximum\:%8.2lf %s\n" \
LINE2:inoar#002A97:"isp2" \
GPRINT:inoar:LAST:"Current\:%8.2lf %s" \
GPRINT:inoar:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:inoar:MAX:"Maximum\:%8.2lf %s"



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