RMON and SNMP Objects

4 July, 2009 Posted by Zarar As CCIE, CCIE SP (0) Comment

There are 4 items you need to understand to tackle any RMON questions.

they are:-

RFC 1213
OLD-CISCO-CPU-MIB
OLD-CISCO-SYS-MIB
CISCO-PROCESS-MIB

Lets begin with RFC1213

Lets take the ifEntry object in RFC1213 as an example. ifEntry contains the following objects.

ifIndex { ifEntry 1 }
ifDescr { ifEntry 2 }
ifType { ifEntry 3 }
ifMtu { ifEntry 4 }
ifSpeed { ifEntry 5 }
ifPhysAddress { ifEntry 6 }
ifAdminStatus { ifEntry 7 }
ifOperStatus { ifEntry 8 }
ifLastChange { ifEntry 9 }
ifInOctets { ifEntry 10 }
ifInUcastPkts { ifEntry 11 }
ifInNUcastPkts { ifEntry 12 }
ifInDiscards { ifEntry 13 }
ifInErrors { ifEntry 14 }
ifInUnknownProtos { ifEntry 15 }
ifOutOctets { ifEntry 16 }
ifOutUcastPkts { ifEntry 17 }
ifOutNUcastPkts { ifEntry 18 }
ifOutDiscards { ifEntry 19 }
ifOutErrors { ifEntry 20 }
ifOutQLen { ifEntry 21 }
ifSpecific { ifEntry 22 }

You can see the above objects in IOS using the command

show snmp mib

If you want to refer to the number of output interface errors you can use either of the following two statements.

ifOutErrors
ifEntry.20

If you want the output interface errors for a specific interface you will need to append the interface index(ifIndex) to the above statement. To obtain the ifIndex use the command below.

show snmp mib ifmib ifindex

GigabitEthernet0/1: Ifindex = 2
Serial0/1/0: Ifindex = 4

Therefore our 2 options for monitoring output interface errors for gig0/1 become.

ifOutErrors.2
ifEntry.20.2

Now lets create a RMON alarm using the above 2 options.

option 1
rmon alarm 5 ifOutErrors.2 10 delta rising-threshold 100 1 falling-threshold 50 owner config

option 2
rmon alarm 6 ifEntry.20.2 10 delta rising-threshold 100 1 falling-threshold 50 owner config

The interesting thing to note if you use option 2 is that IOS changes the syntax to that of option 1 in the running config. See below

show run | in rmon alarm 6
rmon alarm 6 ifOutErrors.2 10 delta rising-threshold 100 1 falling-threshold 50 owner config

now lets monitor the CPU usage on a box.

For this we need to refer to the MIBs below.

OLD-CISCO-CPU-MIB
OLD-CISCO-SYS-MIB
CISCO-PROCESS-MIB

The first two MIBs ie the ones which begin with the word old refer the the CPU usage as follows:

The main object is lcpu which also known as lsystem. This object contains the following objects(I’ve only listed some of the objects below – Please see the links above for more info.

busyPer { lcpu 56 } – Monitors the CPU over a 5 second interval
avgBusy1 { lcpu 57 } – Monitors the CPU over a 1 minute interval
avgBusy5 { lcpu 58 } – Monitors the CPU over a 5 minute interval

Lets suppose we want to use RMON to monitor the cpu utilisation over a 1 minute period.

we could use any of the following to refer to the SNMP 1 minute monitoring object.

lcpu.57.0
lsystem.57.0

However when we enter the rmon alarm commands, both of the above options will show as lsystem.57.0. (If you are wondering where the .0 came from, it refers to the CPU I think, without it the rmon command wont take lsystem.57 alone.)

The SNMP MIB CISCO-PROCESS-MIB contains also contains some MIBs for monitoring the CPU (see below). It also states that it deprecates the avgBusy1 in the OLD-CISCO-SYSTEM-MIB.

cpmCPUTotal1min OBJECT-TYPE
SYNTAX Gauge32 (1..100)
MAX-ACCESS read-only
STATUS deprecated
DESCRIPTION
“The overall CPU busy percentage in the last 1 minute
period. This object obsoletes the avgBusy1 object from
the OLD-CISCO-SYSTEM-MIB. This object is deprecated
by cpmCPUTotal1minRev which has the changed range
of value (0..100).”
::= { cpmCPUTotalEntry 4 }

The tree for this object would be as follows:

cpmCPUTotalTable.1.5.0

however when I punch this into the router it doesn’t seem to like it. If anyone else has any experiences with this please share it.

Bookmark and Share
Categories : CCIE, CCIE SP

No comments yet.

Leave a comment

(required)

(required)


temporal
pcos
loved
farsi
whole
nom
meats
integrating
outfit
grinders
giant
investigation
choose
southport
baths
k2
witt
freedman
norelco
norstar
units
wink
kevin
obstacle
cali
peninsula
ballistic
bensalem
warehouse
tidewater
antigone
crepes
mayer
rx7
right
bakersfield
bach
sb
duplicator
hippies
pampered
keg
halliburton
challenge
sato
burleson
clients
drawers
camaro
mucus
quo
kleen
phillip
chair
ds
juggling
televison
billard
kemp
submarine
manners
mich
pedals
epson
banyan
wii
kline
lyics
toile
nero
aces
turnkey
mormon
actuators
yang
topping
saddleback
alkaline
brides
user
avondale
borax
telecharger
hobbs
tumbling
rove
amphibian
ssl
ministries
bead
mania
hough
failures
lm
reformat
ssn
adviser
mott
emission
whos
synagogue
kamloops
alterations
rollercoaster
cough
mario
month
minorities
kidz
tie
trail
hayward
cemetaries
srx
fantasia
garda
mozambique
dinners
nations
martha
inferno
centers
root
waves
votive
ova
kirkpatrick
racing
bus
migrant
matthews
brokeback
yorba
course
jonathon
brand
humor
ophthalmology
hillsong
klux
clippers
rockville
circa
decoder
institutional
watchdog
sales
intensity
loans
collier
email
crain
stations
involved
turkish
great
ottumwa
retailer
nad
antennas
boundaries
seater
porter
longbow
williamstown
gillian
swiss
hospice
awnings
corning
supplies
convertibles
examinations
plath
paranormal
sg
request
immigrants
mask
treadmills
persuasion
transition
greystone
baritone
ralph
come
radiant
iss
shook
lable
steele
outlines
descartes
lavasoft
cushions
c2
uhf
tenn
rotisserie
crusader
platt
riverfront
legged
shear
petticoat
excalibur
trolling
timelines
turkish
greenbelt
beets
chatroom
dolphins
qualified
keira
waterfront
documentaries
cardiologist
dim
schweiz
minot
streetcar
gum
creole
organized
macau
flor
cowell
marino
dor
arapahoe
roundtable
shielding
charitable
outboards
brick
co
machines
blouse
virus
cruising
extras
bicycles
whirlwind
che
comic
canoe
lexi
hybrid
bonnie
daniela
prop
ki
gloucestershire
earliest
libertarian
springtime
caring
last
covina
fillings
pillow
tos
tatto
marshalls
sante
reporters
luke
cutaway
salamander
bisque
belgian
tips
lancer
hemorrhoids
semester
astoria
goebel
staffing
speeches
arrangement
tourism
cav
fill
lake
glens
taurus
cimarron
gnc
clermont
chisel
intended
drowning
realism
clarkston
sharp
borders
witnesses
silent
environments
option
radiologic
themes
coby
orthodontic
vibration
twilight
lulu