tow problem

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

Moderators: Developers, Moderators

Post Reply
yardian
Posts: 2
Joined: Tue Feb 05, 2013 7:57 pm

tow problem

Post by yardian »

1.why 10G's interface |query_ifSpeed|=4294967295

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1370435760 \
--end=1370439360 \
--title='6509-1 - Traffic - Te2/3' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2013/06/05 20\:36\:00 To 2013/06/05 21\:36\:00\c" \
COMMENT:"  \n" \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/2/38.rrd":'traffic_in':AVERAGE \
DEF:b="/var/www/html/rra/2/38.rrd":'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdeff='b,8,*' \
CDEF:cdefbb='b,8,*,-1,*' \
CDEF:cdefbc='a,4294967295,/,100,*,8,*' \
AREA:cdefa#00CF0033:"Inbound"  \
LINE1:cdefa#00CF00FF:""  \
GPRINT:cdefa:LAST:"        Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdeff#002A97FF:"Outbound"  \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s"  \
AREA:cdeff#002A9733:""  \
GPRINT:cdeff:AVERAGE:"        Average\:%8.2lf %s"  \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefa#000000FF:""  \
LINE1:cdefbb#000000FF:""  \
GPRINT:cdefbc:MAX:"        UTR%8.2lf %%\n" 
2.why rra of interface over interface's BW? example:10G's interface rra=10112948083(10.11G)?
2.jpg
2.jpg (40.84 KiB) Viewed 401 times
how to resolve?
thx all!
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: tow problem

Post by phalek »

For number 2, change the "Base" from 1000 to 1024 and it should be fine ( --base=1000 )

Why ? because it converts 1 kbit to 1000 bits otherwise which is just wrong ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests