Changed Legend color now get, ERROR invalid rpn exp: a,300,*

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
jeffkatyspanky
Posts: 19
Joined: Fri Oct 21, 2005 4:19 pm

Changed Legend color now get, ERROR invalid rpn exp: a,300,*

Post by jeffkatyspanky »

This graph was working fine but I had set the color to yellow. I changed it and immediately got the error:

ERROR: invalid rpn expression in: a, 300, *

This appears to be a valid CDEF expression, what am I missing?

Thanks

Win2K, apache 2, rrdtool 1.12, php 5.0.1,
jeffkatyspanky
Posts: 19
Joined: Fri Oct 21, 2005 4:19 pm

Post by jeffkatyspanky »

So when I changed the color, the Data Source [snmp-oid] showed as "None" When I changed the data source to the proper data source the graph now displays, but all the data is gone as if it wrote a new rrd.

Help?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Dump the rrd file contents to help yourself verify the data is still there. rrdtool export file.rrd > file.xml. I bet it still is, unless you deleted and recreated the graph/data source.

Also, paste the rrdtool command by going to: Graphs | click on a graph | click on the wrench.

You're using the cygwin build of rrdtool and not the win32 one, right?
jeffkatyspanky
Posts: 19
Joined: Fri Oct 21, 2005 4:19 pm

Post by jeffkatyspanky »

Well . . . I'm learning.

First of all, yes it is the Cygwin version of RRDTOOL.

I suppose (though I didn't explicitly delete it) I must have somehow deleted the rrd file because the only non NaN entries begin at the time I changed the color.

Thanks for answering. If nothing else I learned a little about RRDtool. By the way I used 'dump' not 'xport' because 'dump' uses less brain power.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Cacti will not delete the rrd files, you must manually do that. If you deleted teh data source, cacti would have created a new new rrd file for you...

Back to the graph problem though. Please paste the rrdtool graph command. One that works and another that does not.

Are you running the latest version of cacti and the patches?
jeffkatyspanky
Posts: 19
Joined: Fri Oct 21, 2005 4:19 pm

Post by jeffkatyspanky »

I deleted the data source . . . Oops.

All is well, now. At least I realized what I've done.

This really is an incredible tool. I can't believe I spent so much time with MRTG trying to do what this tool does so easily.

Thanks for your help.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest