[rrd-users] Re: php4-rrtool

Michael Earls Michael.Earls at cchmc.org
Fri Nov 21 04:25:02 MET 2003


That does not work,  the only way was to use the short cut on some
options.

  $opts = array( "--start", "-86400",
                  "-t ISP Traffic",
                  "-R",
                  "--width=750",
                  "--height=200",
                  "--base=1000",
                  "--alt-autoscale-max",
                  "-v Kilobytes Per Second",
                  "DEF:if=/traffic/test.rrd:ds0:AVERAGE",
                  "DEF:io=/traffic/test.rrd:ds0:AVERAGE",
                  "CDEF:infuse=if,8,*",
                  "CDEF:inoar=io,8,*",
                  "LINE2:infuse#00CF00:test",
                  "GPRINT:infuse:LAST:Current\:%8.2lf %s",
                  "GPRINT:infuse:AVERAGE:Average\:%8.2lf %s",
                  "GPRINT:infuse:MAX:Maximum\:%8.2lf %s \n",
                  "LINE2:inoar#002A97:test",
                  "GPRINT:inoar:LAST:Current\:%8.2lf %s",
                  "GPRINT:inoar:AVERAGE:Average\:%8.2lf %s",
                  "GPRINT:inoar:MAX:Maximum\:%8.2lf %s \n",
                  "PRINT:infuse:LAST:Currnet\:%8.2lf %s<br>",
                  "PRINT:inoar:LAST: Currnet\:%8.2lf %s<br>",
                );

Thanks, again

michael

>>> "Graeme Donaldson" <graeme at toxicbunny.net> 11/20/03 03:09PM >>>
Michael Earls said:
> php4-rrdtool,
>
> What options can be used on rrd_graph.php.
>
>    $opts = array( "--start", "-86400",
> //                "--title ISP Traffic",   errors out
> //                "--vertical-label Kilobytes Per Second",  errors
out
>                 );
>
> Thanks,
>
> Michael


This is purely an educated guess.  Try:

"--title \"ISP Traffic\""

and

"--vertical-label \"Kilobytes Per Second\""


HTH
Graeme

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

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