[rrd-users] Re: Junk characters instead of graph

Serge Maandag serge.maandag at staff.zeelandnet.nl
Thu Nov 13 10:51:43 MET 2003

It seems you first need to solve the content header problem before you
dive into the displaying of the rrdtool graph.

put a gif image "image.gif" in your cgi directory along with this cgi

$| = 1;

print "Content-type: image/gif\n\n";
print `cat image.gif`;

Does that work?


-----Original Message-----
From: Chitman Kaur [mailto:chitmankaur at yahoo.com] 
Sent: Thursday, November 13, 2003 10:29 AM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Junk characters instead of graph

 Hi All
I am trying to write a perl script which queries the RRD and displays
the graph on the standard output... i.e. my webpage which called this
perl file...
But no image is displayed.... only junk characters....

Any ideas...



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