I am creating one for a fairly large router (about 30 sub interfaces) and have added 60 total items to the graph ( 15 sub interfaces + 15*3 for each description current, average, max). if i try to add any more the graph stops displaying.
here is my rrdtool debug for it. (with names removed)
Code: Select all
c:/rrdtool/rrdtool/release/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Total DSL In" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
DEF:a="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_157.rrd":traffic_in:AVERAGE \
DEF:b="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_163.rrd":traffic_in:AVERAGE \
DEF:c="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_165.rrd":traffic_in:AVERAGE \
DEF:d="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_167.rrd":traffic_in:AVERAGE \
DEF:e="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_169.rrd":traffic_in:AVERAGE \
DEF:f="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_159.rrd":traffic_in:AVERAGE \
DEF:g="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_171.rrd":traffic_in:AVERAGE \
DEF:h="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_175.rrd":traffic_in:AVERAGE \
DEF:i="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_177.rrd":traffic_in:AVERAGE \
DEF:j="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_179.rrd":traffic_in:AVERAGE \
DEF:ba="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_181.rrd":traffic_in:AVERAGE \
DEF:bb="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_183.rrd":traffic_in:AVERAGE \
DEF:bc="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_185.rrd":traffic_in:AVERAGE \
DEF:bd="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_187.rrd":traffic_in:AVERAGE \
DEF:be="c\:/easyphp/www/cacti/rra/dsl_router_traffic_in_189.rrd":traffic_in:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
CDEF:cdefi=c,8,* \
CDEF:cdefbc=d,8,* \
CDEF:cdefbg=e,8,* \
CDEF:cdefca=f,8,* \
CDEF:cdefce=g,8,* \
CDEF:cdefci=h,8,* \
CDEF:cdefdc=i,8,* \
CDEF:cdefdg=j,8,* \
CDEF:cdefea=ba,8,* \
CDEF:cdefee=bb,8,* \
CDEF:cdefei=bc,8,* \
CDEF:cdeffc=bd,8,* \
CDEF:cdeffg=be,8,* \
AREA:cdefa#FFF200:"**********" \
GPRINT:cdefa:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefe#000000:"**********":STACK \
GPRINT:cdefe:LAST:"Current\:%8.2lf%s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefi#FF7D00:"**********":STACK \
GPRINT:c:LAST:" Current\:%8.2lf%s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:c:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefbc#8D00BA:"**********":STACK \
GPRINT:d:LAST:" Current\:%8.2lf%s" \
GPRINT:d:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:d:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefbg#FF00FF:"**********":STACK \
GPRINT:e:LAST:" Current\:%8.2lf%s" \
GPRINT:e:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:e:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefca#96E78A:"**********e":STACK \
GPRINT:f:LAST:" Current\:%8.2lf%s" \
GPRINT:f:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:f:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefce#837C04:"**********":STACK \
GPRINT:g:LAST:" Current\:%8.2lf%s" \
GPRINT:g:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:g:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefci#00A348:"**********":STACK \
GPRINT:h:LAST:" Current\:%8.2lf%s" \
GPRINT:h:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:h:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefdc#FF0000:"**********":STACK \
GPRINT:i:LAST:" Current\:%8.2lf%s" \
GPRINT:i:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:i:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefdg#00234B:"**********":STACK \
GPRINT:cdefdg:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefdg:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefdg:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefea#FF00FF:"**********":STACK \
GPRINT:ba:LAST:" Current\:%8.2lf%s" \
GPRINT:ba:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:ba:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefee#35962B:"**********":STACK \
GPRINT:bb:LAST:" Current\:%8.2lf%s" \
GPRINT:bb:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:bb:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefei#FF4105:"**********":STACK \
GPRINT:bc:LAST:" Current\:%8.2lf%s" \
GPRINT:bc:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:bc:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdeffc#D2D8F9:"**********":STACK \
GPRINT:bd:LAST:" Current\:%8.2lf%s" \
GPRINT:bd:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:bd:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdeffg#8D00BA:"**********":STACK \
GPRINT:be:LAST:" Current\:%8.2lf%s" \
GPRINT:be:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:be:MAX:"Maximum\:%8.2lf%s\n"
Thanks for any help
GeeKman.
[edit]
Ok in internet explorer it does give me a broken image box, but not in firefox :/
[/edit]