AndrewRobinson
Joined: 04 Dec 2006 Posts: 10
|
Posted: Thu Nov 08, 2007 4:16 am Post subject: Graph problem - Invalid RPN expression |
|
|
Trying to graph temperature from a Dell PE2950 server, I downloaded the XML templates from a thread on this site.
When I try to graph them I just get red X, turned on debugging mode and this is the error report:
C:/cacti/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="UK-DRO-FS01 - Temperature" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
--font TITLE:10:C:/Windows/Fonts/calibri.TTF \
--font AXIS:7:C:/Windows/Fonts/calibri.TTF \
--font LEGEND:7:C:/Windows/Fonts/calibri.TTF \
--font UNIT:7:C:/Windows/Fonts/calibri.TTF \
DEF:a="c\:/Inetpub/cacti/rra/uk-dro-fs01_dellpe_therm_ambien_536.rrd":dellpe_therm_ambien:AVERAGE \
CDEF:cdefa=a,b,+,c,+,d,+,e,+,50,/ \
CDEF:cdeff=a,10,/ \
CDEF:cdefj=a,10,/ \
AREA:cdefa#FFD660:"Mean Temperature\:" \
GPRINT:cdefa:LAST:" Current\:%1.1lf C" \
GPRINT:cdefa:MIN:"Min\:%1.1lf C" \
GPRINT:cdefa:MAX:"Max\:%1.1lf C\n" \
LINE1:cdefa#FF5700:"" \
LINE1:cdeff#0000FF:"Ambient\:" \
GPRINT:cdeff:LAST:" Current\:%1.1lf C" \
GPRINT:cdeff:MIN:"Min\:%1.1lf C" \
GPRINT:cdeff:MAX:"Max\:%1.1lf C\n" \
LINE1:cdefj#00A348:"Planar\:" \
GPRINT:cdefj:LAST:" Current\:%1.1lf C" \
GPRINT:cdefj:MIN:"Min\:%1.1lf C" \
GPRINT:cdefj:MAX:"Max\:%1.1lf C\n" \
LINE1:cdefj#008A77:"Riser\:" \
GPRINT:cdefj:AVERAGE:" Current\:%1.1lf C" \
GPRINT:cdefj:MIN:"Min\:%1.1lf C" \
GPRINT:cdefj:MAX:"Max\:%1.1lf C\n" \
LINE1:cdefj#FF0000:"P1\:" \
GPRINT:cdefj:AVERAGE:" Current\:%1.1lf C" \
GPRINT:cdefj:MIN:"Min\:%1.1lf C" \
GPRINT:cdefj:MAX:"Max\:%1.1lf C\n" \
LINE1:cdefj#FF6044:"P2\:" \
GPRINT:cdefj:AVERAGE:" Current\:%1.1lf C" \
GPRINT:cdefj:MIN:"Min\:%1.1lf C" \
GPRINT:cdefj:MAX:"Max\:%1.1lf C\n"
RRDTool Says:
ERROR: invalid rpn expression in: a,b,+,c,+,d,+,e,+,50,/
Any suggestions please! |
|