[rrd-users] Re: Junk characters instead of graph
Serge Maandag
serge.maandag at staff.zeelandnet.nl
Thu Nov 13 11:22:28 MET 2003
replace the:
print `cat image.gif`;
with:
RRDs::graph( '-', @args);
my $ERR=RRDs::error;
warn ("$ERR") if $ERR;
and see if it works and if not: check the errorlog of your webserver for
interesting stuff.
Serge.
-----Original Message-----
From: Chitman Kaur [mailto:chitmankaur at yahoo.com]
Sent: Thursday, November 13, 2003 11:12 AM
To: Serge Maandag; rrd-users at list.ee.ethz.ch
Subject: Re: [rrd-users] Re: Junk characters instead of graph
Yes , It works....
What next....
Chitman
put a gif image "image.gif" in your cgi directory along with this cgi
script:
#!/usr/bin/perl
$| = 1;
print "Content-type: image/gif\n\n";
print `cat image.gif`;
--
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