Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Interface - Traffic (bits/sec, Total Bandwidth)

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: General
Author Message
bunyas



Joined: 11 May 2006
Posts: 9

PostPosted: Mon Aug 25, 2008 10:12 am    Post subject: Interface - Traffic (bits/sec, Total Bandwidth) Reply with quote

I'm using the Interface - Traffic (bits/sec, Total Bandwidth) graph for our Cisco 3750 switches to create interface usage graphs for our network team.

They are concerned that the graphs are not displaying the correct value for interface throughput. Their calculations and what is being displayed are off. They are thinking the graphs are displyaing Bytes instead of Bits....

How can I verify the graph CDEF function of Bytes to Bits is working correctly? The following is the debug information from a graph using the Interface - Traffic (bits/sec, Total Bandwidth).

Any assistance would be greatly appreciated.

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="DIST-SW-WDM-SFARM2 - Traffic - Gi5/0/19" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="D\:/htdocs/cacti/rra/dist-sw-wdm-sfarm2_traffic_in_7886.rrd":traffic_in:AVERAGE \
DEF:b="D\:/htdocs/cacti/rra/dist-sw-wdm-sfarm2_traffic_in_7886.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=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" \
COMMENT:"Total In\: 49.29 GB\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 348.76 GB" \
COMMENT:" PHOCVMEDIA04,,,,,,AUTO,KC\n"
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12295
Location: Muenster, Germany

PostPosted: Fri Aug 29, 2008 2:14 pm    Post subject: Re: Interface - Traffic (bits/sec, Total Bandwidth) Reply with quote

bunyas wrote:
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
This is the math and it's correct
Reinhard
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group