|
|
| Author |
Message |
RyanT
Joined: 02 Dec 2003 Posts: 11
|
Posted: Mon Apr 05, 2004 11:53 am Post subject: ERROR:the RRD does not contain an RRA matching the chosen CF |
|
|
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
|
Posted: Sat Apr 10, 2004 1:54 am Post subject: me too |
|
|
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
|
Posted: Sat Apr 10, 2004 3:14 am Post subject: FIXED |
|
|
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
|
Posted: Sat Dec 22, 2007 7:03 am Post subject: Thank you! |
|
|
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
|
Posted: Sat Dec 22, 2007 4:12 pm Post subject: |
|
|
| 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
|
Posted: Thu Jan 10, 2008 1:25 pm Post subject: |
|
|
| 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
|
Posted: Thu Jan 10, 2008 1:49 pm Post subject: |
|
|
| Have you confirmed that LAST is selected in the defined RRA?
|
|
| Back to top |
|
 |
cinergi
Joined: 24 Jan 2005 Posts: 10
|
|
| Back to top |
|
 |
otisbrown
Joined: 02 May 2007 Posts: 41
|
Posted: Thu Jan 10, 2008 5:46 pm Post subject: |
|
|
| 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
|
Posted: Mon Jan 14, 2008 11:30 am Post subject: |
|
|
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
|
Posted: Sat Feb 02, 2008 10:53 am Post subject: |
|
|
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
|
Posted: Sat Feb 02, 2008 12:49 pm Post subject: |
|
|
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
|
Posted: Wed Feb 20, 2008 9:29 pm Post subject: |
|
|
| 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
|
Posted: Thu Feb 21, 2008 3:51 pm Post subject: |
|
|
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
|
Posted: Thu Feb 21, 2008 4:52 pm Post subject: |
|
|
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
|
| Description: |
| WeatherBug wind graph template export. |
|
 Download |
| Filename: |
cacti_graph_template_weatherbug_-_wind.xml |
| Filesize: |
16.11 KB |
| Downloaded: |
494 Time(s) |
| Description: |
|
 Download |
| Filename: |
maitland_fl_dewpoint_30.rrd.info.txt |
| Filesize: |
8.01 KB |
| Downloaded: |
309 Time(s) |
|
|
| Back to top |
|
 |
|