Why does curve is not compatible to legend value?

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

Moderators: Developers, Moderators

Post Reply
joe_hznm
Posts: 29
Joined: Thu May 19, 2005 12:29 am

Why does curve is not compatible to legend value?

Post by joe_hznm »

Hi,


I use cacti to monitor 130Gbps bandwidth. By adding up all link bandwidth value, we got total bandwidth inbound and outbound.

But, we noticed that the curve on summary graph does NOT conform to maximum value shown below it. Wh?


Joe
Attachments
3-13-outbound-total-pasted.PNG
3-13-outbound-total-pasted.PNG (31.61 KiB) Viewed 2009 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Post the rrdtool graph debug output (click the little wrench icon).
joe_hznm
Posts: 29
Joined: Thu May 19, 2005 12:29 am

Post by joe_hznm »

RRDTool Command:

/usr/local/rrdtool-1.2.12/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Outbound Traffic Bandwidth Summary" \
--base=1000 \
--height=120 \
--width=580 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
DEF:a="/home/apache/htdocs/netmon/rra/testinghighspeed_traffic_in_124.rrd":traffic_out:AVERAGE \
DEF:b="/home/apache/htdocs/netmon/rra/testinghighspeed_traffic_in_126.rrd":traffic_out:AVERAGE \
DEF:c="/home/apache/htdocs/netmon/rra/testinghighspeed_traffic_in_127.rrd":traffic_out:AVERAGE \
DEF:d="/home/apache/htdocs/netmon/rra/testinghighspeed_traffic_in_128.rrd":traffic_out:AVERAGE \
DEF:e="/home/apache/htdocs/netmon/rra/testinghighspeed_traffic_in_130.rrd":traffic_out:AVERAGE \
DEF:f="/home/apache/htdocs/netmon/rra/testinghighspeed_traffic_in_129.rrd":traffic_out:AVERAGE \
DEF:g="/home/apache/htdocs/netmon/rra/chinanetzjegresswz_traffic_in_131.rrd":traffic_out:AVERAGE \
DEF:h="/home/apache/htdocs/netmon/rra/chinanetzjegresswz_traffic_in_135.rrd":traffic_out:AVERAGE \
DEF:i="/home/apache/htdocs/netmon/rra/chinanetzjegresswz_traffic_in_134.rrd":traffic_out:AVERAGE \
DEF:j="/home/apache/htdocs/netmon/rra/chinanetzjegresswz_traffic_in_136.rrd":traffic_out:AVERAGE \
DEF:ba="/home/apache/htdocs/netmon/rra/chinanetzjegresswz_traffic_in_133.rrd":traffic_out:AVERAGE \
DEF:bb="/home/apache/htdocs/netmon/rra/chinanetzjegresswz_traffic_in_258.rrd":traffic_out:AVERAGE \
DEF:bc="/home/apache/htdocs/netmon/rra/chinanetzjegresswz_traffic_in_132.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefb=b,8,* \
CDEF:cdefc=c,8,* \
CDEF:cdefd=d,8,* \
CDEF:cdefe=e,8,* \
CDEF:cdeff=f,8,* \
CDEF:cdefg=g,8,* \
CDEF:cdefh=h,8,* \
CDEF:cdefi=i,8,* \
CDEF:cdefj=j,8,* \
CDEF:cdefba=ba,8,* \
CDEF:cdefbc=bc,8,* \
CDEF:cdefbd=TIME,1142219551,GT,a,a,UN,0,a,IF,IF,TIME,1142219551,GT,b,b,UN,0,b,IF,IF,TIME,1142219551,GT,c,c,UN,0,c,IF,IF,TIME,1142219551,GT,d,d,UN,0,d,IF,IF,TIME,1142219551,GT,e,e,UN,0,e,IF,IF,TIME,1142219551,GT,f,f,UN,0,f,IF,IF,TIME,1142219551,GT,g,g,UN,0,g,IF,IF,TIME,1142219551,GT,h,h,UN,0,h,IF,IF,TIME,1142219551,GT,i,i,UN,0,i,IF,IF,TIME,1142219551,GT,j,j,UN,0,j,IF,IF,TIME,1142219551,GT,ba,ba,UN,0,ba,IF,IF,TIME,1142219551,GT,bb,bb,UN,0,bb,IF,IF,TIME,1142219551,GT,bc,bc,UN,0,bc,IF,IF,+,+,+,+,+,+,+,+,+,+,+,+,8,* \
AREA:cdefa#FF0000:"" \
AREA:cdefb#FF0000:"":STACK \
AREA:cdefc#FF0000:"":STACK \
AREA:cdefd#FF0000:"":STACK \
AREA:cdefe#FF0000:"":STACK \
AREA:cdeff#FF0000:"":STACK \
AREA:cdefg#FF0000:"":STACK \
AREA:cdefh#FF0000:"":STACK \
AREA:cdefi#FF0000:"":STACK \
AREA:cdefj#FF0000:"":STACK \
AREA:cdefba#FF0000:"":STACK \
AREA:bb#FF0000:"":STACK \
AREA:cdefbc#FF0000:"Total Traffic\:\n":STACK \
GPRINT:cdefbd:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefbd:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbd:MAX:"Maximum\:%8.2lf %s" \
GPRINT:cdefbd:MIN:"Minimum\:%8.2lf %s\n" \
COMMENT:"Available Bandwidth\: 130Gbps Mon 13 Mar 11\:15\:01 CST 2006 \n"
RRDTool Says:

OK
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please try changing the Base Value from 1000 to 1024 and check, whether the numbers fit
Reinhard
joe_hznm
Posts: 29
Joined: Thu May 19, 2005 12:29 am

Post by joe_hznm »

No. It does not help.
nugai
Posts: 49
Joined: Thu Nov 03, 2005 10:48 pm

Post by nugai »

joe_hznm: Is your issue that the vertical axis shows a range of 100 G only?

If so, there is no problem because rrdtool adjusts the values according to the Max value in the file (i.e. if you select a time range of 07:00 - 08:00 on 12-Mar-06, you'll probably see the vertical axis labeled as 40 G only).
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests