Does some body have C A R rate limit scripts

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
fonda
Posts: 2
Joined: Mon Nov 04, 2002 1:03 am
Location: Jakarta
Contact:

Does some body have C A R rate limit scripts

Post by fonda »

Does some body have CAR rate limit scripts for cacti ..

thx any where
BSDeality
Posts: 35
Joined: Tue Oct 08, 2002 7:56 am
Location: Connecticut
Contact:

Post by BSDeality »

what in the world is CAR?
[url=http://geekfort.com/cacti/graph_view.php?action=tree]Geekfort.com/cacti[/url]
fonda
Posts: 2
Joined: Mon Nov 04, 2002 1:03 am
Location: Jakarta
Contact:

C A R is..

Post by fonda »

Committed Access Rate ( CAR ) Rate Limit..

this is from Cisco

The Committed Access Rate (CAR) feature performs the following functions:

Limits the input or output transmission rate on an interface or subinterface based on a flexible set of criteria.


Classifies packets by setting the IP precedence or QoS group. A QoS group is a QoS class identifier internal to the router.



--------------------------------------------------------------------------------
Note QoS group classification is only available for Cisco IOS Release 11.1(20)CC and later 11.1 CC releases.
--------------------------------------------------------------------------------

CAR can be used to rate-limit traffic based on certain matching criteria, such as incoming interface, IP precedence, QoS group, or IP access list criteria. CAR provides configurable actions, such as transmit, drop, set precedence, or set QoS group, when traffic conforms to or exceeds the rate limit.
yid
Cacti User
Posts: 83
Joined: Sat Apr 20, 2002 8:26 pm

Post by yid »

Here's a breakdown of the MIB for car config/stats

http://www.mibdepot.com/cgi-bin/getmib3 ... =v2&t=tree

I'm not sure which stats you're looking for in particular.

Aaron
userlerueda
Posts: 2
Joined: Fri Jul 15, 2005 3:15 pm

Post by userlerueda »

I'm trying to, any help would be appreciated, I have narrowed it down to the following:
CISCO-CAR-MIB::ccarConfigRate.13.input.1 = INTEGER: 18432000 bits/second
CISCO-CAR-MIB::ccarConfigRate.13.output.1 = INTEGER: 18432000 bits/second

13 is the ifIndex, but then it goes through input and output, but on an XML file, how do you write the OID so that it may have a variable parameter, for instance something like :

<oid>ccarConfigRate.$ifIndexVariable.input</oid> anyone know what i'm talkiing about ?

thanks
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

I have the problem about CAR,Rate Limit.
I have the OID about CAR as
.1.3.6.1.4.1.9.9.113.1.2.1.1.13
But when I run snmpwalk with this OID ı get:
[root@localhost rra]# snmpwalk -c tazmania -v 2c 10.200.100.12 .1.3.6.1.4.1.9.9.113.1.2.1.1.13
enterprises.9.9.113.1.2.1.1.13.22.1.1 = Counter64: 0
enterprises.9.9.113.1.2.1.1.13.22.2.1 = Counter64: 26285346816
I think that :
22.1.1 --> 22 is ifIndex and input value
22.2.1 --> 22 is ifIndex and output value.
I need to write graph per interface.
Also I need an xml code that runs like In/Out Bits-Interface .
Actually, How can show 22.2.1 nad 22.2.1 as MIB Instance?
How can I do this?
rsharpe
Posts: 6
Joined: Mon Dec 12, 2005 12:38 pm

Commited Access Rate

Post by rsharpe »

I have created a script to monitor CAR. I would have preferred to do it via the built in SNMP tools in cacti. But for me I found it a little too complicated. If someone has a more efficient way of polling CAR then please let me know. Attached is the script I created one date and graphs template for Bits Conformed, one data and graphs template for Bits Filtered, as well as a screen shot on how to set up the script/command. Thanks!
Attachments
car.zip
Templates, Script, JPEG
(48.05 KiB) Downloaded 503 times
ubud
Posts: 1
Joined: Wed Jan 04, 2006 11:23 pm

CAR Rate-limit

Post by ubud »

Hello i success create rate-limit in my mrtg mechine, i think it will successfull to in cacti machine, couse its running in same methode,You can access the manual in http://yudi.jalawave.net

Wass,
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests