[rrd-users] php embedded rrdtool

D.Walsh info at daleenterprise.com
Sun Jan 9 15:52:29 MET 2005


I've built PHP with rrdtool embeded but there appears to be a problem 
using the embedded rrdtool.
When I don't run the PHP embeded rrdtool I don't receive any errors and 
the graphs are built and everything works properly.

I've built debugging features into my app so I can get some feedback to 
what's going on and this is the results when I use the PHP embedded 
rrdtool.
(these values are also identical to the values used with the non PHP 
embedded rrdtool and no errors are encountered.)

  rrd_graph(): unknown variable 'gvt3'

debug: Array


Array
(
     [0] => --start=1104676500
     [1] => --end=1105281300
     [2] => --title=Messages Scanned on daleenterprise.com (by week)
     [3] => --width=520
     [4] => --vertical-label=msgs/min
     [5] => DEF:v1=/usr/share/mail/graphs/1.rrd:hits:AVERAGE
     [6] => CDEF:gv1=v1,UN,0,v1,IF
     [7] => CDEF:gvt1=gv1,604800,*
     [8] => CDEF:gtvt1=gv1,60,*
     [9] => AREA:gtvt1#6A5ACD:Passed
     [10] => GPRINT:gvt1:AVERAGE:%.0lf
     [11] => COMMENT:\n
     [12] => DEF:v2=/usr/share/mail/graphs/2.rrd:hits:AVERAGE
     [13] => CDEF:gv2=v2,UN,0,v2,IF
     [14] => CDEF:gvt2=gv2,604800,*
     [15] => CDEF:gtvt2=gv2,60,*
     [16] => STACK:gtvt2#ffdd00:Infected
     [17] => GPRINT:gvt2:AVERAGE:%.0lf
     [18] => COMMENT:\n
     [19] => COMMENT:Mail-Stats v0.1.12
     [20] => COMMENT:Sun Jan  9 09:35:00 2005 \r
)


rrd_graph(): invalid rpn expression 'v1,UN,0,v1,IF'
debug: Array


Array
(
     [xsize] => 0
     [ysize] => 0
     [calcpr] => Array
         (
             [0] => 0
             [1] => 0
             [2] => 223
             [3] => 0
         )

)



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