RRD.php Error with new graphs

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
greenskidog
Posts: 2
Joined: Wed Jun 28, 2006 2:02 pm

RRD.php Error with new graphs

Post by greenskidog »

I have been using Cacti for a couple of months. I recently upgraded RRDtool to version 1.2.15. After upgrading any new graphs that I create don't work. When I go into graph management and turn on debug mode I get the following:

Notice: Undefined offset: 1 in /usr/local/share/cacti/lib/rrd.php on line 1075
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title=" Traffic 1" \
--rigid \
--base=1000 \
--height=125 \
--width=500 \
--alt-autoscale \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/usr/local/share/cacti/rra/switch_traffic_in_979.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/share/cacti/rra/switch_traffic_in_979.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,-8,* \
CDEF:cdeff=b,8,* \
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" \
AREA:cdefe#96E78A:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
HRULE:0#FF0000:"" \
VRULE:1157691600#9FA4EE:""
RRDTool Says:


Notice: Undefined offset: 1 in /usr/local/share/cacti/lib/rrd.php on line 1075
OK

Graphs that were previously created still work, so RRDtool appears to be functioning properly. The cacti version is 0.8.6h running on FreeBSD.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Do you have any alterations to you Cacti, plugins, unofficial patches, etc?
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests