Cisco QOS Monitoring | I need two different indexes!

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

Moderators: Developers, Moderators

Post Reply
User avatar
bpablo
Posts: 6
Joined: Tue Feb 15, 2011 8:47 am
Location: Buenos Aires, Argentina

Cisco QOS Monitoring | I need two different indexes!

Post by bpablo »

Hi, this is my first post, and my english it's so so bad.

Ok, going to the thing, I'm doing an XML file for the Data Query, working with the CISCO-CLASS-BASED-QOS-MIB and I have a little problem.

First, I'm trying to do this without using a Perl Script.

I need to do a query that inform me the following items:

- cbQosIfIndex (I Will use this value to get the related interface in which the policy map is affecting) index A

- cbQosPolicyDirection (get the direction in that the policy map is applied) index A

- cbQosConfigIndex (it bring me the second index, and i will use that to get the values of traffic) index A

- cbQosPolicyMapName (inform us the administrative name of the policy map, and it use the second index!!) index A

- cbQosConfigIndex (parsing the OID will get the class maps configured) index A + subindex B

- cbQosCMName (bring the name of the class map, with the oid parsed from cbQosConfigIndex) Index from the value returned of cbQosConfigIndex items

Then i need to use cbQosCMPostPolicyBitRate to extract the traffic, but it uses as index the "Index B".

Do anyone know how to use multiple indexes in a xml file, and how to use different indexes in different fields? or i do not have any option that use a script?

Best Regards!! :lol:


it is a couple of snmpwalks and gets.
cbQosIfIndex 1.3.6.1.4.1.9.9.166.1.1.1.1.4

SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.4.18 = INTEGER: 1

cbQosPolicyDirection 1.3.6.1.4.1.9.9.166.1.1.1.1.3

SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.3.18 = INTEGER: 2

cbQosConfigIndex 1.3.6.1.4.1.9.9.166.1.5.1.1.2

SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.18.18 = Gauge32: 10794208
SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.18.861074 = Gauge32: 2036898
SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.18.1056161 = Gauge32: 4690465
SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.18.1535953 = Gauge32: 11508561
SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.18.3613906 = Gauge32: 1736498
SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.18.6534690 = Gauge32: 1129410
SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.18.7778625 = Gauge32: 10696401
SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.18.8312657 = Gauge32: 2933313
SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.18.12182370 = Gauge32: 9529458
SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.18.13497762 = Gauge32: 1594
SNMPv2-SMI::enterprises.9.9.166.1.5.1.1.2.18.14844913 = Gauge32: 1593

cbQosPolicyMapName 1.3.6.1.4.1.9.9.166.1.6.1.1.1

SNMPv2-SMI::enterprises.9.9.166.1.6.1.1.1.10794208 = STRING: "dif_serv"

cbQosObjectsType.index 1.3.6.1.4.1.9.9.166.1.5.1.1.3 --.18--

luego hace

cbQosConfigIndex.valor de objeto 1.3.6.1.4.1.9.9.166.1.5.1.1.2.valor de objeto (obtiene el svcclassconfig number) (WALK)

luego hace

cbQosCMName.svclassconfig = Nombre 1.3.6.1.4.1.9.9.166.1.7.1.1.1.svcclassconfig#


pboscari@cactiq:/var/www/cacti$ snmpget -v 1 -c cpmon1536 192.168.252.200 1.3.6.1.4.1.9.9.166.1.7.1.1.1.4690465
SNMPv2-SMI::enterprises.9.9.166.1.7.1.1.1.4690465 = STRING: "CLASS_DATOS_TRANS"
pboscari@cactiq:/var/www/cacti$ snmpget -v 1 -c cpmon1536 192.168.252.200 1.3.6.1.4.1.9.9.166.1.7.1.1.1.11508561
SNMPv2-SMI::enterprises.9.9.166.1.7.1.1.1.11508561 = STRING: "CLASS_DATOS_CRIT"
pboscari@cactiq:/var/www/cacti$ snmpget -v 1 -c cpmon1536 192.168.252.200 1.3.6.1.4.1.9.9.166.1.7.1.1.1.10696401
SNMPv2-SMI::enterprises.9.9.166.1.7.1.1.1.10696401 = STRING: "CLASS_VOIP"
pboscari@cactiq:/var/www/cacti$ snmpget -v 1 -c cpmon1536 192.168.252.200 1.3.6.1.4.1.9.9.166.1.7.1.1.1.11508561
SNMPv2-SMI::enterprises.9.9.166.1.7.1.1.1.11508561 = STRING: "CLASS_DATOS_CRIT"
User avatar
bpablo
Posts: 6
Joined: Tue Feb 15, 2011 8:47 am
Location: Buenos Aires, Argentina

Re: Cisco QOS Monitoring | I need two different indexes!

Post by bpablo »

I see that there is no answer to this thread... . Ok, I'm working in Monitoring QOS with the script that is in this forum too, but doing only one graph per class, monitoring the postclass value, in both directions of the interfaces.

I will post it when was finished. I have too a Query to monitor BGP prefixes (quantity) of a BGP Peer (on cisco devices only!)
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests