Interface graph error

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

Moderators: Developers, Moderators

Post Reply
Kernel Panic
Posts: 12
Joined: Wed Feb 21, 2007 12:28 pm

Interface graph error

Post by Kernel Panic »

Code: Select all

Notice: Undefined offset: 1 in /usr/local/share/cacti/lib/rrd.php on line 1129
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="myrouter - Traffic - ethernet2/1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/usr/local/share/cacti/rra/myrouter_traffic_in_464.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/share/cacti/rra/myrouter_traffic_in_464.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=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"  \
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"  \
HRULE:0#FF0000:""  \
VRULE:1174262400#9FA4EE:"" 

All the other routers have no problems graphing bits in or out. Graphs of the errors/discards of that same interface works just fine. I'm not proficient enough at php to figure out what is failing here.

Any ideas?
Kernel Panic
Posts: 12
Joined: Wed Feb 21, 2007 12:28 pm

Post by Kernel Panic »

Figured it out.

Those HRULE and VRULE entries were garbage/invalid. Once I removed them, it displayed the graphs properly.
decals74
Posts: 6
Joined: Sat Jun 09, 2007 4:37 pm

Post by decals74 »

this fixed my prob with a foundry fesx424 too. Thanks!!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests