Here is the correct output I am getting from the browser, not sure why
my first post did not include the #!/usr/bin/rrdcgi  ( I believe this to
be the shebang line)

#!/usr/bin/rrdcgi /-daily.png --imginfo '/%s WIDTH=%lu HEIGHT=%lu >' -s
-2000m -e now -a PNG -w 400 -h 100 -v "Bits per Second" -b 1000 -u 
--title "'Daily' graph (5 Minute Average) //.rrd '%F %T' >" -c
MGRID#ee0000 -c GRID#000000 DEF:in=//.rrd:ds0:AVERAGE
DEF:out=//.rrd:ds1:AVERAGE CDEF:fin=in,8,* CDEF:fout=out,8,*
CDEF:pin=fin,,/,100,* CDEF:pout=fout,,/,100,* DEF:min=//.rrd:ds0:MAX
DEF:mout=//.rrd:ds1:MAX CDEF:fmin=min,8,* CDEF:fmout=mout,8,*
CDEF:pmin=fmin,,/,100,* CDEF:pmout=fmout,,/,100,*
AREA:fin#00cc00:"Incoming in bits/sec" LINE1:fout#0000ff:"Outgoing in
bits/sec\l" GPRINT:fmin:MAX:"Maximal In\: %8.3lf %s"
GPRINT:pmin:MAX:"(%6.2lf%%)" GPRINT:fmout:MAX:"Maximal Out\: %8.3lf %s"
GPRINT:pmout:MAX:"(%6.2lf%%)\l" GPRINT:fin:AVERAGE:"Average In\: %8.3lf
%s" GPRINT:pin:AVERAGE:"(%6.2lf%%)" GPRINT:fout:AVERAGE:"Average Out\:
%8.3lf %s" GPRINT:pout:AVERAGE:"(%6.2lf%%)\l" GPRINT:fin:LAST:"Current
In\: %8.3lf %s" GPRINT:pin:LAST:"(%6.2lf%%)" GPRINT:fout:LAST:"Current
Out\: %8.3lf %s" GPRINT:pout:LAST:"(%6.2lf%%)" > 



>>> "Leigh Sharpe" <[EMAIL PROTECTED]> 09/09/03 07:22PM
>>>
Looks like you don't have a shebang line. Your web server is simply
serving
up the file, not processing it.

----- Original Message -----
From: "Michael Earls" <[EMAIL PROTECTED]>
To: "Michael Earls" <[EMAIL PROTECTED]>;
<[email protected]>
Sent: Wednesday, September 10, 2003 4:23 AM
Subject: [rrd-users] Re: rrdcgi


> Can someone look at the below code to help try and figure out why i
can
> not display my graph / create the graph.
>


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

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