[rrd-users] my cgi script error

adi aadi2010 at hotpop.com
Fri Mar 7 09:04:45 MET 2003


is there someone help me, why when i execution my cgi there error like
this in web browser

                           Traffic by Service
last updated: Friday, March 07, 2003 02:51PM
—— to     —— from 

HTTP Port 80
[ERROR: Opening 'port80.png' for write: Permission denied]


and this is my script cgi

#!/rrdtool/bin/rrdcgi
<html>
<head><title>Port Monitoring</title>
    <META HTTP-EQUIV=Refresh CONTENT="120"/>
</head>
<body>
<p><h1 align=center><b>Traffic by Service</b></h1> <br/>
last updated:
<RRD::TIME::LAST /rrdtool/bin/tcpservice.rrd "%A, %B %d, %Y
%I:%M%p"><br/>
<span style='color: #00FF00;'>&mdash;&mdash; to</span>
&nbsp; &nbsp;
<span style='color: #0000FF;'>&mdash;&mdash; from</span>
</p>

<p><b>HTTP Port 80</b><br/>
<RRD::GRAPH port80.png --lazy 
        -s -6hours 
        -v 'Bits per second'
        DEF:in=/rrdtool/bin/tcpservice.rrd:80_in:AVERAGE
        DEF:out=/rrdtool/bin/tcpservice.rrd:80_out:AVERAGE
        CDEF:out_bits=out,8,*
        CDEF:in_bits=in,8,*
        AREA:in_bits#00FF00
        LINE1:out_bits#0000FF>

</p>

<body>
</html>

please help me 


-- 
adi <aadi2010 at hotpop.com>



--
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