Please Help - ERROR: invalid rpn expression 'a,8,*'

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
dhill
Posts: 1
Joined: Mon Sep 27, 2004 9:56 am

Please Help - ERROR: invalid rpn expression 'a,8,*'

Post by dhill »

I am new to cacti and I am not sure what this error is telling me. Anyone have any suggestions on why this is happening and what the fix is??

ERROR: invalid rpn expression 'a,8,*'

Any help or suggestions is appreciated.

Thanks
Elian

Invalid rpn expression 'a,8,*'

Post by Elian »

I got the same error when i try to graph some interfaces using "create graphs for this host" into devices section.

When i create the graph the resulting name look like this:
"Router -Traffic - |query_ifName|" (yes, |query_ifName|)

If i turn on the graph debug mode this message appears:

RRDTool Says:
ERROR: invalid rpn expression 'a,8,*'

I'm using cacti-0.8.6 and rrdtool-1.0.49 and Apache/2.0.40

Thanks in advance.
Elian.
lorenzo

Same issue

Post by lorenzo »

Got the same issue when a change the title of a graph that was running well, in the "Graph Fields" section, do i have to keep the default title ?

ERROR: invalid rpn expression 'a,8,*'

I'm using cacti-0.8.6b + rrdtool-1.0.46 + Apache/2.0.48
FILIN
Posts: 3
Joined: Tue Jan 24, 2006 4:18 am

Re: Invalid rpn expression 'a,8,*'

Post by FILIN »

Elian wrote:I got the same error when i try to graph some interfaces using "create graphs for this host" into devices section.

When i create the graph the resulting name look like this:
"Router -Traffic - |query_ifName|" (yes, |query_ifName|)

If i turn on the graph debug mode this message appears:

RRDTool Says:
ERROR: invalid rpn expression 'a,8,*'

I'm using cacti-0.8.6 and rrdtool-1.0.49 and Apache/2.0.40

Thanks in advance.
Elian.
i have this trouble too
anybody tell us whats happening?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Typically, this is because the graph template has been added directly, without using the data query.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
FILIN
Posts: 3
Joined: Tue Jan 24, 2006 4:18 am

Post by FILIN »

rony wrote:Typically, this is because the graph template has been added directly, without using the data query.
im only install cacti on new computer, than copy *.rrd and mysql data
from old computer to new

tell me plz what im did wrong...

or give me manual for transfer working copy of cacti to new machine

thanks
Attachments
err.jpg
err.jpg (215.25 KiB) Viewed 21916 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

See the Inbound and Outbound data sources, they are NONE. That is why this is not working. Typically, this is because the graph template is added directly, but not using a data query.

Btw, read the docs... :)
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
FILIN
Posts: 3
Joined: Tue Jan 24, 2006 4:18 am

Post by FILIN »

rony wrote:See the Inbound and Outbound data sources, they are NONE. That is why this is not working. Typically, this is because the graph template is added directly, but not using a data query.

Btw, read the docs... :)
plz give me link

im do that

1. install a fresh copy of cacti
2. dump old database and restore into new mashine
3. copy all rra files

but Inbound and Outbound data sources are NONE!!!
whats wrong in my steps??

im use search bit not find anything?
xxlray
Posts: 3
Joined: Tue Jun 16, 2009 9:47 am

Post by xxlray »

I had the same problem when I was playing around with my graph template design after having created a graph instance from this template. I had been adding multiple snmp data sources directly (not by query) to my graph template. I just had to delete the graph instance and create it again. The problem had vanished.
channelasian
Posts: 5
Joined: Sat Nov 21, 2009 11:04 pm

Post by channelasian »

i also face the same problem.

Code: Select all

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Mikrotik RT - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
CDEF:cdefa=a,8,* \
CDEF:cdefe=a,8,* \
AREA:cdefa#00CF00FF:"Inbound"  \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefe#002A97FF:"Outbound"  \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 

RRDTool Says:

ERROR: invalid rpn expression in: a,8,*
Please help.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Same hint applies as told by Tony:
Create graphs through "Create Graphs for this host" from the host edit screen.
You current graph has no data associated hence it displays nothing
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests