Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Graph problem - Invalid RPN expression

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: General
Author Message
AndrewRobinson



Joined: 04 Dec 2006
Posts: 10

PostPosted: Thu Nov 08, 2007 4:16 am    Post subject: Graph problem - Invalid RPN expression Reply with quote

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!
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12186
Location: Muenster, Germany

PostPosted: Thu Nov 08, 2007 5:08 am    Post subject: Reply with quote

The CDEF refers to 5 DEFs where only one is given. Please post your question to the thread where you've found the Templates
Reinhard
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group