Need to adjust burstable speed

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

Moderators: Developers, Moderators

Post Reply
asidko
Posts: 1
Joined: Tue Dec 23, 2008 2:33 pm

Need to adjust burstable speed

Post by asidko »

Hi.
At first my explanation.
I have link to provider with 7 mbit speed and bustable speed up to 10 mbit.
I'd like to make graphical representation by Cacti. Download, install it. Create access by SNMP from Cacti to my router. Assign to interface 95th percentile template.

Now I got this output (find it please attached)
and this code:

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Gate2 - Traffic - Gi0/3.173264" \
--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="/var/www/htdocs/cacti/rra/gate2_traffic_in_17.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/htdocs/cacti/rra/gate2_traffic_in_17.rrd":traffic_in:MAX \
DEF:c="/var/www/htdocs/cacti/rra/gate2_traffic_in_17.rrd":traffic_out:AVERAGE \
DEF:d="/var/www/htdocs/cacti/rra/gate2_traffic_in_17.rrd":traffic_out:MAX \
CDEF:cdefa=a,8,* \
CDEF:cdefd=b,8,* \
CDEF:cdefe=c,8,* \
CDEF:cdefh=d,8,* \
AREA:cdefa#0D006AFF:"Inbound"  \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefe#FFF200FF:"Outbound"  \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefh:MAX:"Maximum\:%8.2lf %s\n"  \
COMMENT:"\n"  \
HRULE:4507814.24#FF0000FF:"95th Percentile"  \
COMMENT:"(4507814.24 mbit in+out)" 
1. Could you help me, where can I edited HRULE parameter, because currently I get :4507814.24 ~4.5 mbit and I have to change it to 10 mbit.

2. Can I customize templaite for different subinterface? I mean, I have to create different graphs for different interface with different burstable speed.

Thank you in advice.
Andrew.
Attachments
gate2-gi03.173264.png
gate2-gi03.173264.png (34.25 KiB) Viewed 967 times
fmerrill
Posts: 12
Joined: Tue Oct 28, 2008 7:56 pm
Location: North Carolina

Post by fmerrill »

95th Percentile is a factor of the traffic passing through the interface, not the capability of the bandwidth allowed through, so the only way that changes is if the traffic actually changes.

If you have a 10Mbs burstable limit, and your actual traffic through the interface was 10Mbs, then the 95th percentile would be 9.5Mbs.
It's a dynamically changing number, not a static fixed number.

It sounds to me like what you want is an HRULE that shows the maximum bandwidth allowed through the interface.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests