I have a cgi script that is writing the output of RRDs::graph to STDOUT.
When I run the cgi from my web browser, all I get is a "cannot be displayed
error". The script runs fine from command line.
Any suggestions on how to accomplish this would be appreciated. Here is a
snippet of my code that is failing.
 print "Content-type: image/png\n\n";
 RRDs::graph("-", @args);
 my $ERR = RRDs::error;
 print "ERROR while creating $host: $ERR\n" if $ERR;
 print qq(<img src="/cgi-bin/rrdgraph3.cgi" alt="">);


Ryan Block
WAN Engineer
Citco Technology Mgt.
[EMAIL PROTECTED]





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

Reply via email to