but when i view these graph at graph tree mode,there is no images,but when i click on the broken images of a host, it wil show me the correct 4 images,include daily weekly monthly and yearly.
i have tried to find there differents using Graph Properties:
this is the broken image code:
Code: Select all
/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=1137570233 \
--end=1137656633 \
--title="hazz-3com-86 - 3com Gateway Call Statics" \
--rigid \
--base=1000 \
--height=220 \
--width=500 \
--alt-autoscale-max \
--lower-limit=-65 \
COMMENT:"From 2006/01/18 15:43:53 To 2006/01/19 15:43:53\c" \
COMMENT:" \n" \
--vertical-label="Calls(100X)" \
DEF:a="/usr/local/apache/htdocs/cacti/rra/hazz3com86_3comgwallcallstry_350.rrd":3comGwAllCallsTry:AVERAGE \
DEF:b="/usr/local/apache/htdocs/cacti/rra/hazz3com86_3comgwcallssuccess_351.rrd":3comGwCallsSuccess:AVERAGE \
DEF:c="/usr/local/apache/htdocs/cacti/rra/hazz3com86_3comgwcallsactive_349.rrd":3comGwCallsActive:AVERAGE \
CDEF:cdefa=a,100,* \
CDEF:cdefe=b,100,* \
CDEF:cdefbd=b,a,/,100,*,-1,* \
CDEF:cdefbf=b,a,/,100,* \
AREA:cdefa#DA4725:"Total Calls\:" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maxinum\:%8.2lf %s\n" \
AREA:cdefe#FFFF00:"Sucessful Call\:" \
GPRINT:b:LAST:" Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maxinum\:%8.2lf %s\n" \
LINE1:c#4668E4:"ActiveCalls\:" \
GPRINT:c:LAST:" Current\:%8.2lf %s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:c:MAX:"Maxinum\:%8.2lf %s\n" \
HRULE:0#000000:"" \
LINE2:cdefbd#009F67:"" \
AREA:cdefbd#00BD27:"Call Sucess Rate\:" \
GPRINT:cdefbf:LAST:"Current\:(%5.2lf %%)" \
GPRINT:cdefbf:AVERAGE:"Average\:(%5.2lf %%)" \
GPRINT:cdefbf:MAX:"Maxinum\:(%5.2lf %%)\n"
Code: Select all
/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="hazz-3com-86 - 3com Gateway Call Statics" \
--rigid \
--base=1000 \
--height=220 \
--width=500 \
--alt-autoscale-max \
--lower-limit=-65 \
--vertical-label="Calls(100X)" \
DEF:a="/usr/local/apache/htdocs/cacti/rra/hazz3com86_3comgwallcallstry_350.rrd":3comGwAllCallsTry:AVERAGE \
DEF:b="/usr/local/apache/htdocs/cacti/rra/hazz3com86_3comgwcallssuccess_351.rrd":3comGwCallsSuccess:AVERAGE \
DEF:c="/usr/local/apache/htdocs/cacti/rra/hazz3com86_3comgwcallsactive_349.rrd":3comGwCallsActive:AVERAGE \
CDEF:cdefa=a,100,* \
CDEF:cdefe=b,100,* \
CDEF:cdefbd=b,a,/,100,*,-1,* \
CDEF:cdefbf=b,a,/,100,* \
AREA:cdefa#DA4725:"Total Calls\:" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maxinum\:%8.2lf %s\n" \
AREA:cdefe#FFFF00:"Sucessful Call\:" \
GPRINT:b:LAST:" Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maxinum\:%8.2lf %s\n" \
LINE1:c#4668E4:"ActiveCalls\:" \
GPRINT:c:LAST:" Current\:%8.2lf %s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:c:MAX:"Maxinum\:%8.2lf %s\n" \
HRULE:0#000000:"" \
LINE2:cdefbd#009F67:"" \
AREA:cdefbd#00BD27:"Call Sucess Rate\:" \
GPRINT:cdefbf:LAST:"Current\:(%5.2lf %%)" \
GPRINT:cdefbf:AVERAGE:"Average\:(%5.2lf %%)" \
GPRINT:cdefbf:MAX:"Maxinum\:(%5.2lf %%)\n"
--start=
--end=
but i do not know how to correct it,please help me and share your idea, thanks.