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    


ERROR:the RRD does not contain an RRA matching the chosen CF
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Help: General
Author Message
RyanT



Joined: 02 Dec 2003
Posts: 11

PostPosted: Mon Apr 05, 2004 11:53 am    Post subject: ERROR:the RRD does not contain an RRA matching the chosen CF Reply with quote

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

thx

rt
Back to top
fletch
Cacti User


Joined: 06 Oct 2003
Posts: 108
Location: Stanford, CA

PostPosted: Sat Apr 10, 2004 1:54 am    Post subject: me too Reply with quote

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
Back to top
fletch
Cacti User


Joined: 06 Oct 2003
Posts: 108
Location: Stanford, CA

PostPosted: Sat Apr 10, 2004 3:14 am    Post subject: FIXED Reply with quote

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
Back to top
jongreen



Joined: 22 Dec 2007
Posts: 1

PostPosted: Sat Dec 22, 2007 7:03 am    Post subject: Thank you! Reply with quote

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
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 9568
Location: WA, USA

PostPosted: Sat Dec 22, 2007 4:12 pm    Post subject: Reply with quote

There is a fix for cacti 0.8.7a in the announcement forum; you need an updated functions.php.
Back to top
jacobskp



Joined: 09 Aug 2004
Posts: 13

PostPosted: Thu Jan 10, 2008 1:25 pm    Post subject: Reply with quote

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.
Back to top
otisbrown



Joined: 02 May 2007
Posts: 41

PostPosted: Thu Jan 10, 2008 1:49 pm    Post subject: Reply with quote

Have you confirmed that LAST is selected in the defined RRA?
Back to top
cinergi



Joined: 24 Jan 2005
Posts: 10

PostPosted: Thu Jan 10, 2008 4:48 pm    Post subject: Reply with quote

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
Back to top
otisbrown



Joined: 02 May 2007
Posts: 41

PostPosted: Thu Jan 10, 2008 5:46 pm    Post subject: Reply with quote

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


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

PostPosted: Mon Jan 14, 2008 11:30 am    Post subject: Reply with quote

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
Back to top
markokobal



Joined: 04 Nov 2007
Posts: 21

PostPosted: Sat Feb 02, 2008 10:53 am    Post subject: Reply with quote

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


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

PostPosted: Sat Feb 02, 2008 12:49 pm    Post subject: Reply with quote

This one should be fixed by now. Will be published with next bugfix release.
Reinhard
Back to top
mjc
Cacti User


Joined: 12 May 2005
Posts: 51

PostPosted: Wed Feb 20, 2008 9:29 pm    Post subject: Reply with quote

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


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

PostPosted: Thu Feb 21, 2008 3:51 pm    Post subject: Reply with quote

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
Back to top
helzerr



Joined: 01 Feb 2004
Posts: 44
Location: Orlando, FL

PostPosted: Thu Feb 21, 2008 4:52 pm    Post subject: Reply with quote

Reinhard,

Here's an example for you:

Code:
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:

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



cacti_graph_template_weatherbug_-_wind.xml
 Description:
WeatherBug wind graph template export.

Download
 Filename:  cacti_graph_template_weatherbug_-_wind.xml
 Filesize:  16.11 KB
 Downloaded:  494 Time(s)


maitland_fl_dewpoint_30.rrd.info.txt
 Description:
RRD file info.

Download
 Filename:  maitland_fl_dewpoint_30.rrd.info.txt
 Filesize:  8.01 KB
 Downloaded:  309 Time(s)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: General All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 



Powered by phpBB © 2001, 2005 phpBB Group