ERROR:the RRD does not contain an RRA matching the chosen CF
Moderators: Developers, Moderators
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
Change RRA to include Avg, Min, Last
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
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
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
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 (20.13 KiB) Viewed 7859 times
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!
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 (21.3 KiB) Viewed 7586 times
-
- 2.PNG (17.24 KiB) Viewed 7586 times
-
- 3.PNG (19.53 KiB) Viewed 7586 times
ok, I guess my snmp doesn't support that:
Is there a way to enable 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
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" \
GPRINTLAST:" Current\:%8.2lf%s" \
GPRINTAVERAGE:"Average\:%8.2lf%s" \
GPRINTMIN:"Minimum\:%8.2lf%s" \
GPRINTMAX:"Maximum\:%8.2lf%s\n" \
AREA:b#FFC73BFF:"Cache":STACK \
GPRINTLAST:" Current\:%8.2lf%s" \
GPRINTAVERAGE:"Average\:%8.2lf%s" \
GPRINTMIN:"Minimum\:%8.2lf%s" \
GPRINTMAX:"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
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" \
GPRINTLAST:" Current\:%8.2lf%s" \
GPRINTAVERAGE:"Average\:%8.2lf%s" \
GPRINTMIN:"Minimum\:%8.2lf%s" \
GPRINTMAX:"Maximum\:%8.2lf%s\n" \
AREA:b#FFC73BFF:"Cache":STACK \
GPRINTLAST:" Current\:%8.2lf%s" \
GPRINTAVERAGE:"Average\:%8.2lf%s" \
GPRINTMIN:"Minimum\:%8.2lf%s" \
GPRINTMAX:"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
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Gandalf,
You are too patient
TheWitness
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?
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?
Re: ERROR:the RRD does not contain an RRA matching the chose
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
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
Who is online
Users browsing this forum: No registered users and 1 guest