[rrd-users] Re: [rrd] my cgi script error

Tobias Oetiker oetiker at ee.ethz.ch
Fri Mar 7 09:08:49 MET 2003


Today adi wrote:

Hi _SENDER_,  (This is a Recording)

I just got your mail regarding  _SUBJECT_.

I have read your mail, but:

* I do not know the answer to your question without
  doing research myself.

and then,

* I develop rrdtool fully in my spare time, so answering the 50+
  user questions PER DAY as well is just too much for me.

Don't get me wrong, if you want to contract me for helping you with
your monitoring requirements or you want me to write a modification
to rrdtool, let me know I will be glad to make an offer.

If I missed a bug report or a patch you also included with the mail,
I am sorry. Please send it again, without the question. :-)

Please use the rrd-users mailinglist to ask your questions. Describe your
problem and maybe add a few (!) lines of example code to your posting.

cheers
tobi

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

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, ETZ J97, ETH, CH-8092 Zurich, Switzerland
 / // _ \/ _ \/ /  System Manager Coach Time Lord Developer Designer
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/~oetiker +41(0)1-632-5286

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