0.8.7c Bug ? CDEF
Moderators: Developers, Moderators
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
0.8.7c Bug ? CDEF
When clicking selecting CDEF's from console, error message is displayed
Notice: Undefined variable: get_request_var_request in C:\wamp\www\cacti\cdef.php on line 550
Fatal error: Function name must be a string in C:\wamp\www\cacti\cdef.php on line 550
Notice: Undefined variable: get_request_var_request in C:\wamp\www\cacti\cdef.php on line 550
Fatal error: Function name must be a string in C:\wamp\www\cacti\cdef.php on line 550
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Yes...
Download the latest cdef.php from the SVN 0.8.7 branch.
We will be issuing patches this weekend for this issue and others.
Download the latest cdef.php from the SVN 0.8.7 branch.
We will be issuing patches this weekend for this issue and others.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
I'm having other CDEF problemsrony wrote:Yes...
Download the latest cdef.php from the SVN 0.8.7 branch.
We will be issuing patches this weekend for this issue and others.
(
Code: Select all
ERROR: String ends after the = sign on 'CDEF:cdefbc='
Do you expect this to be fixed by this weekend's patches, or should I be starting another thread/opening a bug on this?
Thanks!
How about just the text? Let me know if you need the actual screenshot..gandalf wrote:Please post DEBUG screenshot from Graph Management. Then I can tell you exactly.
Reinhard
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="aacontrol1 - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
CDEF:cdefbc= \
AREA:#FF0000FF:"System" \
GPRINT::LAST:"Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#0000FFFF:"User":STACK \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#00FF00FF:"Nice":STACK \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefbc#000000FF:"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: String ends after the = sign on 'CDEF:cdefbc='
(It's the ucd/net - CPU Usage graph, and the problem appeared after going to 7c from 7b)
Upgrade, via RPM, from Dag.wieers.com (upgraded from a previous Dag RPM), which I'm generally willing to trust a great deal.gandalf wrote:The DEFs are missing, this is why the CDEF breaks.
Were did you get the code from? Upgrade or pristine install?
Reinhard
(cacti-0.8.7c-1.el5.rf, "Source RPM: cacti-0.8.7c-1.el5.rf.src.rpm", except, fascinatingly, that package seems to have vanished. I'm mailing Dag about that now.)
Re: 0.8.7c Bug ? CDEF
0.8.7g
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Sql01 [Hardware] - CPU Usage' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='percent' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
CDEF:cdefbc= \
AREA:#FF0000FF:"System" \
GPRINT::LAST:"Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#0000FFFF:"User":STACK \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#00FF00FF:"Nice":STACK \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefbc#000000FF:"Total" \
GPRINT:cdefbc:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: String ends after the = sign on 'CDEF:cdefbc='
UCD/NET Cpu Usage
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Sql01 [Hardware] - CPU Usage' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='percent' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
CDEF:cdefbc= \
AREA:#FF0000FF:"System" \
GPRINT::LAST:"Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#0000FFFF:"User":STACK \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
AREA:#00FF00FF:"Nice":STACK \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefbc#000000FF:"Total" \
GPRINT:cdefbc:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: String ends after the = sign on 'CDEF:cdefbc='
UCD/NET Cpu Usage
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: 0.8.7c Bug ? CDEF
There's no DEF statement in that rrdtool graph.
This will happen, if no data source has been selected
R.
This will happen, if no data source has been selected
R.
Who is online
Users browsing this forum: No registered users and 4 guests