ERROR:the RRD does not contain an RRA matching the chosen CF
Moderators: Developers, Moderators
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
thx
rt
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
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
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
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
There is a fix for cacti 0.8.7a in the announcement forum; you need an updated functions.php.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
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]
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.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
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
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
-
- Posts: 21
- Joined: Sun Nov 04, 2007 8:19 am
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 ... ).
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 ... ).
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.gandalf wrote:This one should be fixed by now. Will be published with next bugfix release.
Reinhard
ideas?
Reinhard,
Here's an example for you:
Graph Debug
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 \
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
Who is online
Users browsing this forum: No registered users and 2 guests