I have applied the patch that was just recently posted due to an issue where my graphs were pulling the same datasource for anything printed on the graph. When my script runs I show data being supplied for each of the data sources, but when the image is rendered all of the cdefs are out of order...see the output below:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="CISCO-ATM-PVCS - Traffic - 1/130" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
DEF:a="/var/www/html/cacti/rra/ciscoatmpvcs_traffic_total_365.rrd":Traffic_In:AVERAGE \
DEF:b="/var/www/html/cacti/rra/ciscoatmpvcs_traffic_total_365.rrd":Traffic_Out:AVERAGE \
DEF:c="/var/www/html/cacti/rra/ciscoatmpvcs_traffic_total_365.rrd":Traffic_Total:AVERAGE \
DEF:d="/var/www/html/cacti/rra/ciscoatmpvcs_traffic_total_365.rrd":Traffic_Total:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefc=b,8,* \
CDEF:cdefe=d,8,* \
AREA:cdefa#FFC73B:"Cells In" \
GPRINT:cdefa:AVERAGE:" Current\:%8.2lf %s\n" \
STACK:cdefc#FF6044:"Cells Out" \
GPRINT:cdefc:AVERAGE:" Current\:%8.2lf %s\n" \
STACK:cdefe#FF0000:"Cell Total" \
GPRINT:cdefe:AVERAGE:" Current\:%8.2lf %s\n" \
LINE1:cdefe#00004D:""
I may be mistaken...I appreciate the help..
Graph creation still buggy after patch..
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 3 guests