Cacti 1.2.16 Has error: ERROR: Cannot parse CF

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Cacti 1.2.16 Has error: ERROR: Cannot parse CF

Post by TFC »

Hi,
I duplicate In/out Bits graph and datasource templates , and, create new query and data profiles. And based on those templates I try to create an Interface graph. But I get this error. This is fresh install cacti. what is wrong ?
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-60' \
--pango-markup \
--title='dudullu - Traffic - GigabitEthernet0/0/0' \
--vertical-label='bits per second' \
--slope-mode \
--base=1000 \
--height=200 \
--width=700 \
--rigid \
--alt-autoscale \
COMMENT:"From 2020-12-16 11\:14\:34 To 2020-12-17 11\:13\:34\c" \
COMMENT:" \n" \
--color BACK#F3F3F3 \
--color CANVAS#FDFDFD \
--color SHADEA#CBCBCB \
--color SHADEB#999999 \
--color FONT#000000 \
--color AXIS#2C4D43 \
--color ARROW#2C4D43 \
--color FRAME#2C4D43 \
--border 1 --font TITLE:11:'Arial' \
--font AXIS:8:'Arial' \
--font LEGEND:8:'Courier' \
--font UNIT:8:'Arial' \
--font WATERMARK:6:'Arial' \
--slope-mode \
--watermark 'Yasar Bilgi®' \
DEF:a='/opt/cacti-1.2.x/rra/dudullu_test_in_20.rrd':'test_in':MAX \
DEF:b='/opt/cacti-1.2.x/rra/dudullu_test_in_20.rrd':'test_in': \
DEF:c='/opt/cacti-1.2.x/rra/dudullu_test_in_20.rrd':'test_in':LAST \
DEF:d='/opt/cacti-1.2.x/rra/dudullu_test_in_20.rrd':'test_out':MAX \
DEF:e='/opt/cacti-1.2.x/rra/dudullu_test_in_20.rrd':'test_out': \
DEF:f='/opt/cacti-1.2.x/rra/dudullu_test_in_20.rrd':'test_out':LAST \
CDEF:cdefa='a,8,*' \
CDEF:cdefb='b,8,*' \
CDEF:cdefc='c,8,*' \
CDEF:cdeff='d,8,*' \
CDEF:cdefg='e,8,*' \
CDEF:cdefh='f,8,*' \
LINE1:cdefa#00CF00FF: \
AREA:cdefb#00CF007F:'Inbound ' \
GPRINT:cdefc:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefb:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:cdeff#002A97FF: \
AREA:cdefg#002A977F:'Outbound' \
GPRINT:cdefh:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefg:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdeff:MAX:'Maximum\:%8.2lf %s\n'
RRDtool Command lengths = 1583 charaters.
RRDtool Says:
ERROR: Cannot parse CF in 'DEF:b=/opt/cacti-1.2.x/rra/dudullu_test_in_20.rrd:test_in:'
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cacti 1.2.16 Has error: ERROR: Cannot parse CF

Post by Osiris »

You need to do a youtube video of how you achieves this. You have no cf's selected. That's done at the data source profile level.
Before history, there was a paradise, now dust.
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Re: Cacti 1.2.16 Has error: ERROR: Cannot parse CF

Post by TFC »

:)
Data Source Debug
/usr/bin/rrdtool create \
/opt/cacti-1.2.x/rra/dudullu_test_in_20.rrd \
--start 0 --step 60 \
DS:test_in:COUNTER:600:0:40000000 \
DS:test_out:COUNTER:600:0:40000000 \
RRA:MAX:0.5:5:2016 \
RRA:MAX:0.5:15:2883 \
RRA:MAX:0.5:30:17532 \
RRA:MAX:0.5:1:525960 \
RRA:LAST:0.5:5:2016 \
RRA:LAST:0.5:15:2883 \
RRA:LAST:0.5:30:17532 \
RRA:LAST:0.5:1:525960 \
And rdata Source active switch is ON.
Data profile is like that:
1.png
1.png (56.49 KiB) Viewed 819 times
I just duplicate temaplare and rename it and linked Data Profiles and Data Queries. But problem noccured
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests