ERROR:the RRD does not contain an RRA matching the chosen CF

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

Moderators: Developers, Moderators

RyanT
Posts: 11
Joined: Tue Dec 02, 2003 11:07 am

ERROR:the RRD does not contain an RRA matching the chosen CF

Post by RyanT »

Anyone get this before? This is the error message from the graph debug. What is a CF?

thx

rt
fletch
Cacti User
Posts: 132
Joined: Mon Oct 06, 2003 5:40 pm
Location: Stanford, CA

me too

Post by fletch »

Just installed 0.8.5a upgrade - getting these now

RRDTool Says:

ERROR: the RRD does not contain an RRA matching the chosen CF


instead of the parse errors from 0.8.5
fletch
Cacti User
Posts: 132
Joined: Mon Oct 06, 2003 5:40 pm
Location: Stanford, CA

FIXED

Post by fletch »

CF is a consolidation function.

I remembered I had chosen LAST for my graph template instead of the default Average.

Change the lasts to averages and resaved the template.
Deleted the old graphs, created new ones - golden
jongreen
Posts: 1
Joined: Sat Dec 22, 2007 7:01 am

Thank you!

Post by jongreen »

Hi,

Just stumbled across this through Google and I can confirm I was using a consolidation function of 'Last' in my graph; changed this to 'Average' and all working ok.

Many thanks!

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

Post by BSOD2600 »

There is a fix for cacti 0.8.7a in the announcement forum; you need an updated functions.php.
jacobskp
Posts: 13
Joined: Mon Aug 09, 2004 8:51 am

Post by jacobskp »

The updated functions.php did not get rid of this problem. I can still fix it by changing LAST to AVERAGE, but my graph doesn't look the way that I want it.
otisbrown
Posts: 39
Joined: Wed May 02, 2007 9:11 am

Post by otisbrown »

Have you confirmed that LAST is selected in the defined RRA?
cinergi
Posts: 10
Joined: Mon Jan 24, 2005 6:36 pm

Post by cinergi »

I suffer the same problem and the posted fix doesn't help. See my post here (which should answer otisbrown's question): http://forums.cacti.net/viewtopic.php?p=122040#122040
[size=75]Cacti 0.8.7a|Spine 0.8.7a|RRDTool 1.2.26 (win32)|MySQL 5.0.45 (x64)|Net-SNMP 5.4.1-3 (win32)|PHP 5.2.5|Windows Server 2003 SE x64[/size]
otisbrown
Posts: 39
Joined: Wed May 02, 2007 9:11 am

Post by otisbrown »

I ran into the same issue as the OP and this is what I found. If the RRA that is used by the data template that is used by the graph template does not have LAST selected as the consolidation function, when you modify your graph template to use LAST as the consolidation function your graph will not draw. After you make the change to the RRA I believe you will have to recreate the graphs, so the new RRA is generated.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Not REALLY REALLY sure, but quite:
I suppose that this drawback only hold, if you are using the LAST CF for a graph element as LINEx, AREA or STACK. It should not matter on a GPRINT.
To be honest, Up to now, personally I did not find any use of the LAST CF on a LINE. If anyone could please tell me, where this is required? Then I would like to add this as an example to the docs.cacti.net site.
Reinhard
markokobal
Posts: 21
Joined: Sun Nov 04, 2007 8:19 am

Post by markokobal »

Hi,

I had the same problem with some of my graphs when upgrading cacti from 0.8.6 to 0.8.7.a (I have also updated rrdtool to 1.2.26) - I was sure nothing was wrong with graph templates, and as I could not find any other solution I just deleted the problematic .rrd files ... and than the error dissapeard (and also the hystory from deleted .rrd files ... :( ).
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This one should be fixed by now. Will be published with next bugfix release.
Reinhard
mjc
Cacti User
Posts: 53
Joined: Thu May 12, 2005 7:26 pm

Post by mjc »

gandalf wrote:This one should be fixed by now. Will be published with next bugfix release.
Reinhard
what release is the fix incorporated into? i have just rolled out a new box running cacti 0.8.7b & rrdtool 1.2.23 with the updated functions.php and am hitting this error when attempting to use LAST in a graph. i have blown away the graph and associated files and started from scratch to no avail.

ideas?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

There are currently two different answers to the same problem. Some users have their problems fixed, some don't. I hope to work at least with one user to get it solved. Please post the whole failing rrdtool graph statement and rrdtool info for the rrd file used to help me debug it
Reinhard
helzerr
Cacti User
Posts: 54
Joined: Sun Feb 01, 2004 3:10 am
Location: Orlando, FL
Contact:

Post by helzerr »

Reinhard,

Here's an example for you:

Code: Select all

Data Source Debug

/usr/bin/rrdtool create \
/var/www/localhost/htdocs/cacti/rra/maitland_fl_dewpoint_30.rrd \
--step 300  \
DS:DewPoint:GAUGE:600:-200:200 \
DS:Pressure:GAUGE:600:0:1000 \
DS:Temp:GAUGE:600:-200:200 \
DS:Rain:GAUGE:600:0:500 \
DS:WindSpeed:GAUGE:600:0:1000 \
DS:Humidity:GAUGE:600:0:100 \
DS:FeelsLike:GAUGE:600:-200:200 \
DS:Tries:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Graph Debug

Code: Select all

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Maitland, FL - Humidity" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=100 \
--lower-limit=0 \
--vertical-label="%" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/localhost/htdocs/cacti/rra/maitland_fl_dewpoint_30.rrd":Humidity:LAST \
DEF:b="/var/www/localhost/htdocs/cacti/rra/maitland_fl_dewpoint_30.rrd":Humidity:MAX \
AREA:a#157419FF:"Humidity\n"  \
GPRINT:a:LAST:"Current\:%8.2lf %s"  \
GPRINT:b:MIN:"Minimum\:%8.2lf %s"  \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" 

RRDTool Says:

ERROR: the RRD does not contain an RRA matching the chosen CF
Attachments
cacti_graph_template_weatherbug_-_wind.xml
WeatherBug wind graph template export.
(16.11 KiB) Downloaded 4826 times
maitland_fl_dewpoint_30.rrd.info.txt
RRD file info.
(8.01 KiB) Downloaded 4707 times
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests