[rrd-users] Re: Graphing to STDOUT
Thies Lehmann
Thies.Lehmann at vectoris.ch
Thu Aug 14 16:00:35 MEST 2003
> Having a few problems with RRDs::graph under win2k.
> I am able to create graphs OK if I create a file, but I have
> a need to send them to STDOUT instaed. According to the
> RRDTool docs, using '-' as the filename will send the output
> to STDOUT. However, doing this in my perl script simply
> crashes Perl. (Illegal operation and Windows terminates trhe
> Perl ineterpreter.)
It should work with perl scripts, it seems there are problems
with asp/perlscript.
Did you set perl to unbuffered output and provide the proper mime-type?
e.g. somewhere at the beginning:
$| = 1; print "Content-type:image/png\n\n";
Thies
--
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