Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QoS Monitoring

Status
Not open for further replies.

pmoorey

Technical User
Joined
Mar 19, 2007
Messages
144
Location
GB
Hi,

Please could someone advise the best method of monitoring QoS policy maps using SNMP.

I use a combination of Castle Rock SNMPc and SolarWinds Orion.

Please could someone tell me the appropriate SNMP Object IDs to graph the data.

Kind regards,


Peter
CCNA, Cisco Qualified Specialist
 
here is some documentation I put together to monitor QoS with MRTG...minus the screen shots:
Setup MRTG to monitor QoS Policies
1. Install MRTG on system
a. Follow instructions 2. Do a snmpwalk of ifDescr to get all interfaces
a. Make note of the number following ifDescr.xx for the interface that is desired to be monitored
3. Do a snmpwalk of cbQoSIfIndex (oid = 1.3.6.1.4.1.9.9.166.1.1.1.1.4) to get the list of ‘logical’ interface for which a policy map is assigned.
a. Example: Serial interface 5/2:0 in Image1 is mapped to 1549 in Image2
i. From Image1:
1. IF-MIB::ifDescr.16 = Serial5/2:0
ii. From Image2:
1. SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.4.1549 = 16
4. Do a snmpwalk of cbQoSCMCfgEntry (oid = 1.3.6.1.4.1.9.9.166.1.7.1.1) to get the arbitrary numbers that are assigned to the configured class-maps on the router.

5. Do a snmpwalk of cbQosConfigIndex (oid=1.3.6.1.4.1.9.9.166.1.5.1.1.2). This will return the arbitrary number combination of the interface ID and the Class map. **Generates a long list, so recommend sending to a text file, which would also allow for search features.
a. Continuing example above, to find the OID to watch with MRTG, to monitor the CM-Scavenger class map on Serial 5/2:0, would want to scroll in the text file to the lines starting with: .1.3.6.1.4.1.9.9.166.1.5.1.1.2.1549.xxxx = yyyy
b. Then look for a yyyy value of 1091
i. From above example:
.1.3.6.1.4.1.9.9.166.1.5.1.1.2.1549.1613 = 1091
ii. The OID is that would be added into the MRTG Configuration file.
.1.3.6.1.4.1.9.9.166.1.15.1.1.11.1549.1613
iii. The last 2 values in the oid are taken from the previous snmpwalk
6. Example of MRTG Configuration file for example above:

EnableIPv6: no
WorkDir: /var/Options[_]: bits,growright
RunAsDaemon: Yes
######################################################
# Utilisation report for 10.31.254.253
######################################################

Target[Default]:1.3.6.1.4.1.9.9.166.1.15.1.1.11.1549.1613&1.3.6.1.4.1.9.9.166.1.15.1.1.11.1549.1613:public@127.0.0.1
MaxBytes[default]: 100
LegendI[default]: In
LegendO[default]: Out
Title[default]: Scavenger Utilization report for 127.0.0.1
Background[default]: #FFFFFF
PageTop[default]: <h1><B> Scavenger Utilization Class Usage Analysis for 127.0.0.1 Interface 5/2:0</b></h1>
<br><font face='Arial' size=2>Link Description : Serial 5/2:0
<br><font face='Arial' size=2>Device : 127.0.0.1
<br><font face='Arial' size=2>Speed : T1
<br><font face='Arial' size=2>System Location :
<br><font face='Arial' size=2>System Description:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top