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

MikeS
Posts: 2
Joined: Thu May 22, 2008 2:07 am

Post by MikeS »

I had this problem.

Changing LAST to AVERAGE worked for me!

Thanks.
Findarato
Posts: 29
Joined: Wed Feb 06, 2008 2:56 pm

Post by Findarato »

Thanks I just had this problem, added the rra stuff and it worked.
[b]Cacti Version[/b] - 0.8.7d [b]Plugin Architecture[/b] - 2.4 [b]Poller Type[/b] - CMD.php [b]Server Info[/b] - Linux 2.6.18-164.9.1.el5 [b]Web Server[/b] - Apache/2.2.3 (CentOS) [b]PHP[/b] - 5.1.6 [b]PHP Extensions[/b] - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, dbase, gd, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp[b]MySQL[/b] - 5.0.77 [b]RRDTool[/b] - 1.4.2 [b]SNMP[/b] - 5.3.2.2
Mickey3D
Posts: 4
Joined: Mon Dec 01, 2008 1:45 pm
Location: Silicon Valley

Change RRA to include Avg, Min, Last

Post by Mickey3D »

Same problem here. In fact my old graphs are working fine, but new graphs get this error. I don't know what caused the problem.

If I change CF>> RRA to include Avg, Min, Last, will it break my already working graphs?

Using Version 0.8.6j
Operating System: unix
PHP SNMP Support: no
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

That depends. To be honest, such an error is new to me for 086j. And we do not support this old version any more = no more patches.
For a more precise answer, the exact rrdtool info of the file along with the graph from Graph Management/DEBUG is required
Reinhard
Mickey3D
Posts: 4
Joined: Mon Dec 01, 2008 1:45 pm
Location: Silicon Valley

Post by Mickey3D »

This is the information I have on the error. Thank you.

RRDTool Command:
/opt/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Traffic - 1/1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Fiber" \
--slope-mode \
DEF:a="/Library/WebServer/Documents/cacti/rra/hillview_traffic_in_367.rrd":traffic_in:AVERAGE \
DEF:b="/Library/WebServer/Documents/cacti/rra/hillview_traffic_in_367.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,9,* \
CDEF:cdefe=b,9,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"

RRDTool Says:
ERROR: the RRD does not contain an RRA matching the chosen CF
Attachments
cacti rra.PNG
cacti rra.PNG (20.13 KiB) Viewed 7856 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Ok, So you dropped the AVG. That's why the graph fails. I'm quite sure, that 086j requires the AVG consolidation function (IMHO, this was fixed in later versions).
Reinhard
kido
Posts: 37
Joined: Thu Mar 19, 2009 3:56 am
Location: Bucharest

Post by kido »

Hello,

similar errors for me, too. Bytes Read/Written works fine, but Load Averages and Reads/Writes do not.
Load Averages has only nan values.
Reads / Writes is not displayed at all.

I modified LAST to AVERAGE, still no change...



Thank you!
Attachments
1.PNG
1.PNG (21.3 KiB) Viewed 7583 times
2.PNG
2.PNG (17.24 KiB) Viewed 7583 times
3.PNG
3.PNG (19.53 KiB) Viewed 7583 times
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

I bet this CF is missing from the RRA section....

CACTI > Management > Data Sources > RRAs . Select each RRA and enable LAST > Save

Delete the graphs and recreate them.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
kido
Posts: 37
Joined: Thu Mar 19, 2009 3:56 am
Location: Bucharest

Post by kido »

great advice, thank you!

now I have another problem: even though for some device both Reads/Writes and Bytes Read/Written are showing data, for Load Averages the graph is empty, all values being 0 (zero).

any ideas?

thank you!
kido
Posts: 37
Joined: Thu Mar 19, 2009 3:56 am
Location: Bucharest

Post by kido »

ok, I guess my snmp doesn't support that:

Code: Select all

# snmptable -c xxx -v2c somehost diskIO
SNMP table: UCD-DISKIO-MIB::diskIOTable

 diskIOIndex diskIODevice diskIONRead diskIONWritten diskIOReads diskIOWrites diskIOLA1 diskIOLA5 diskIOLA15 diskIONReadX diskIONWrittenX
           1         ram0           0              0           0            0         ?         ?          ?            0               0
           2         ram1           0              0           0            0         ?         ?          ?            0               0
           3         ram2           0              0           0            0         ?         ?          ?            0               0
           4         ram3           0              0           0            0         ?         ?          ?            0               0
           5         ram4           0              0           0            0         ?         ?          ?            0               0
           6         ram5           0              0           0            0         ?         ?          ?            0               0
           7         ram6           0              0           0            0         ?         ?          ?            0               0
           8         ram7           0              0           0            0         ?         ?          ?            0               0
           9         ram8           0              0           0            0         ?         ?          ?            0               0
          10         ram9           0              0           0            0         ?         ?          ?            0               0
          11        ram10           0              0           0            0         ?         ?          ?            0               0
          12        ram11           0              0           0            0         ?         ?          ?            0               0
          13        ram12           0              0           0            0         ?         ?          ?            0               0
          14        ram13           0              0           0            0         ?         ?          ?            0               0
          15        ram14           0              0           0            0         ?         ?          ?            0               0
          16        ram15           0              0           0            0         ?         ?          ?            0               0
          17          sda  3855421952      809659392      385187     80437736         ?         ?          ?   3855421952    511910767616
          18         sda1      912384          11264         879           11         ?         ?          ?       912384           11264
          19         sda2      766464         192512        1305           47         ?         ?          ?       766464          192512
          20         sda3  3853485056      807886848      427889    124977796         ?         ?          ?   3853485056    511909109760
          21          sdb   317171200      267431936    30445156    196776838         ?         ?          ? 348209522176   2061852299264
          22         sdb1   299410944      206098432    37513968    503367423         ?         ?          ? 348191761920   2061790965760
          23          sdc           0              0           0            0         ?         ?          ?            0               0
          24          sr0           0              0           0            0         ?         ?          ?            0               0
          25          hda           0              0           0            0         ?         ?          ?            0               0
          26          md0           0              0           0            0         ?         ?          ?            0               0
Is there a way to enable that?
sektorNBA
Posts: 10
Joined: Tue Dec 08, 2009 9:06 am

Post by sektorNBA »

Here it´s other example.

I am using this: http://www.eric-a-hall.com/software/cac ... nt-memory/


RRDTool Command:
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="DC.autopass.com.br - Memory Usage" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/local/share/cacti/rra/dc_autopass_com_br_usedreal_25.rrd":usedReal:LAST \
DEF:b="/usr/local/share/cacti/rra/dc_autopass_com_br_usedreal_25.rrd":memCached:LAST \
DEF:c="/usr/local/share/cacti/rra/dc_autopass_com_br_usedreal_25.rrd":availReal:LAST \
DEF:d="/usr/local/share/cacti/rra/dc_autopass_com_br_usedreal_25.rrd":usedSwap:LAST \
DEF:e="/usr/local/share/cacti/rra/dc_autopass_com_br_usedreal_25.rrd":totalReal:LAST \
AREA:a#862F2FFF:"Used Real" \
GPRINT:a:LAST:" Current\:%8.2lf%s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:a:MIN:"Minimum\:%8.2lf%s" \
GPRINT:a:MAX:"Maximum\:%8.2lf%s\n" \
AREA:b#FFC73BFF:"Cache":STACK \
GPRINT:b:LAST:" Current\:%8.2lf%s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:b:MIN:"Minimum\:%8.2lf%s" \
GPRINT:b:MAX:"Maximum\:%8.2lf%s\n" \
AREA:c#74C366FF:"Free Real":STACK \
GPRINT:c:LAST:" Current\:%8.2lf%s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:c:MIN:"Minimum\:%8.2lf%s" \
GPRINT:c:MAX:"Maximum\:%8.2lf%s\n" \
AREA:d#FFC3C0FF:"Used Swap":STACK \
GPRINT:d:LAST:" Current\:%8.2lf%s" \
GPRINT:d:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:d:MIN:"Minimum\:%8.2lf%s" \
GPRINT:d:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:e#000000FF:"Total Real" \
GPRINT:e:AVERAGE:"Current\:%8.2lf%s\n"
RRDTool Says:
ERROR: the RRD does not contain an RRA matching the chosen CF
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The same solution applies.
R.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Gandalf,

You are too patient ;)

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

TheWitness wrote:Gandalf,

You are too patient ;)

TheWitness
That's why I'm above 15k replies :lol: :lol: :lol:
R.
sunnyaj
Posts: 11
Joined: Mon Jul 18, 2011 6:41 am

Re: ERROR:the RRD does not contain an RRA matching the chose

Post by sunnyaj »

I came across a similar issue. The same graph template works for certain hosts and does not for few other hosts.
The graph template uses LAST as the CF.
Also the rra has all values (AVG, MIN, MAX and LAST) selected.

Is there a way i can debug the .rrd files of the affected linux hosts.

I am using RRDtool 1.4.4 with cacti-0.8.7g-2

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='bt-xxx01.xxx - Remote Mail Statistics - Current' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='Messages per Poll' \
--slope-mode \
--font TITLE:10: \
--font AXIS:6: \
--font LEGEND:7: \
--font UNIT:6: \
DEF:a="/var/www/cacti/rra/btxxx01_mail_to_556.rrd":mail_to:LAST \
DEF:b="/var/www/cacti/rra/btxxx01_mail_to_556.rrd":mail_from:LAST \
DEF:c="/var/www/cacti/rra/btxxx01_mail_to_556.rrd":mail_discard:LAST \
DEF:d="/var/www/cacti/rra/btxxx01_mail_to_556.rrd":mail_reject:LAST \
CDEF:cdefa=a,300,* \
CDEF:cdeff=b,300,* \
CDEF:cdefba=c,300,* \
CDEF:cdefbf=d,300,* \
AREA:cdefa#0000FFFF:"Current Outbound\:" \
GPRINT:cdefa:LAST:" %8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %s" \
GPRINT:cdefa:MIN:"Min\:%8.2lf %s\n" \
AREA:cdeff#FF0000FF:"Current Inbound\:" \
GPRINT:cdeff:LAST:" %8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Max\:%8.2lf %s" \
GPRINT:cdeff:MIN:"Min\:%8.2lf %s\n" \
LINE1:cdefba#F5F800FF:"Current Discarded\:" \
GPRINT:cdefba:LAST:"%8.2lf %s" \
GPRINT:cdefba:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefba:MAX:"Max\:%8.2lf %s" \
GPRINT:cdefba:MIN:"Min\:%8.2lf %s\n" \
LINE2:cdefbf#EA8F00FF:"Current Rejected\:" \
GPRINT:cdefbf:LAST:" %8.2lf %s" \
GPRINT:cdefbf:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbf:MAX:"Max\:%8.2lf %s" \
GPRINT:cdefbf:MIN:"Min\:%8.2lf %s\n" \
COMMENT:"Last Update\: Tue 09 Aug 05\:30\:08 PDT 2011\n"

RRDTool Says:

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

Who is online

Users browsing this forum: No registered users and 2 guests