ucd/net - CPU Usage error: ERROR: can't parse CDEF 'cdefbc='

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
buddhabadboy
Posts: 2
Joined: Fri Sep 19, 2008 3:18 pm

ucd/net - CPU Usage error: ERROR: can't parse CDEF 'cdefbc='

Post by buddhabadboy »

Can anyone help me with regards to figuring out this error?
I get: ERROR: can't parse CDEF 'cdefbc='

When I use the "ucd/net - CPU Usage"

I'm using: cacti-0.8.7b.tar.gz

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="nat228 (tools) - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
CDEF:cdefbc= \
AREA:#FF0000:"System" \
GPRINT::LAST:"Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
STACK:#0000FF:"User" \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
STACK:#00FF00:"Nice" \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefbc#000000:"Total" \
GPRINT:cdefbc:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:

ERROR: can't parse CDEF 'cdefbc='
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The tenplate seems to be broken. All references to data sources (rrdtool DEF statements) are missing. Visit the Graph template, select all LINx/AREA graph items and associate correct data sources
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests