Does some body have CAR rate limit scripts for cacti ..
thx any where
Does some body have C A R rate limit scripts
Moderators: Developers, Moderators
C A R is..
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.
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.
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
http://www.mibdepot.com/cgi-bin/getmib3 ... =v2&t=tree
I'm not sure which stats you're looking for in particular.
Aaron
-
- Posts: 2
- Joined: Fri Jul 15, 2005 3:15 pm
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
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
I have the problem about CAR,Rate Limit.
I have the OID about CAR as
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?
I have the OID about CAR as
But when I run snmpwalk with this OID ı get:.1.3.6.1.4.1.9.9.113.1.2.1.1.13
I think that :[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
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?
Commited Access Rate
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 504 times
CAR Rate-limit
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,
Wass,
Who is online
Users browsing this forum: No registered users and 1 guest