SNMP OID

Answered Question
Sep 28th, 2009

Dear Experts,

For a very long time I face difficulties to get SNMP OID and Object Name.

I know that I can use "SNMP Object Navigator" in cisco site. But to use this

I should know either OID value or Object Name.

For Instance, one of my requirement was like to "sending

a trap message when TEMPERATURE OF THE ROUTER INCREASES", I donot know where to get either OID value or Object Name for the this requirement so that I can use RMON command to meet this need.

Ofcourse using TAC help, I found out the value as ".1.3.6.1.4.1.9.9.13.1.3.1.3".In fact I used SNMP WALK command also.

But what is the logic and method to find the exact OID value or Object Name, if i donot know either, But only have the requirement.

Please share your ideas

Thanks in advance,

sairam

I have this problem too.
0 votes
Correct Answer by Giuseppe Larosa about 5 years 9 months ago

Hello Sairam,

I've attached a networkers presentation from networkers 2005.

This is very good and it has an appendix about useful OIDs

Hope to help

Giuseppe

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Giuseppe Larosa Mon, 09/28/2009 - 11:48

Hello Sairam,

experience can help.

However, your starting point can be:

to look in the MIB tree under the public part of the tree

or under the vendor specific part of the tree

second case starts with:

. iso (1) . org (3) . dod (6) . internet (1) . private (4). enterprises (1). cisco(9)

first case starts with:

iso (1) . org (3) . dod (6)

|

- -- internet (1)

|

| -- directory (1)

|

- -- mgmt (2)

| |

| - -- mib-2 (1) object Detail

in these two subtrees are almost all of the possible MIBs of interest.

You can use SNMP object navigator to browse the OID tree.

in a case like this one could think to go under system in the standard subtree

but there is no temperature there.

going to the cisco subtree there is a management MIB that is the right place to look at.

Suggestion is to browse the OID tree to have an idea of where a specific MIB can be.

Hope to help

Giuseppe

snarayanaraju Mon, 09/28/2009 - 12:09

Hi Giuseppe,

Hope you are doing well. Thanks for your quick reply.

First I have to admit that I am not good in SNMP OIDs. But I commit I will work hard to understand this with you people help.

I have gone thru your post thrice, but not able to get the clue how to get used to this.

I opened the SNMP OBJECT NAVIGATOR and I am seeing the options either to enter Object Name or OID value.

You are saying to find the "public part of the tree". Where to find this information.

Can you please help me with an example as, for novice like me some time "Example will be better than Instruction"

I know it may be a time consuming task. Hope you will help me. Thanks

Sairam

Giuseppe Larosa Mon, 09/28/2009 - 12:37

Hello Sairam,

let's start by typing the following OID

1.3.6.1.2.1.31.1

into SNMP object navigator

a web page will be displayed

then click on

snmpDot3RptrMgt (22)

the page is redrawn showing you the underlying options

then click

rptrAddrTrackPackage

then go up to the page if you click on internet the page is redrawn and you can dig the private tree for example

so if you click on private, then enterprises, then Cisco you are at the subtree.

Sorry if you already know all this basic stuff.

also you can use SNMP MIB navigator to see MIB source code and to see dependencies.

the same browsing of OID tree can be done on a MIB browser.

Hope to help

Giuseppe

snarayanaraju Fri, 10/02/2009 - 09:55

Hi Giuseppe,

Thanks for your reply and patience. I am bit worried that I am not aware of these basic stuffs. Thanks for educating me on this. More over I couldnt reply your post immediately as I was away from internet.

You started by using "1.3.6.1.2.1.31.1" the first and foremost doubt is

1. "HOW & WHERE YOU GOT THIS NUMBER FROM"

2. "HOW TO GET THE NUMBER FOR SPECIFIC REQUIREMENT (FOR EXAMPLE TEMPERATURE OF THE ROUTER)

I googled and referred enough documents. No where i am getting these details behind the concept. Finally I am taking your help

sairam

Giuseppe Larosa Fri, 10/02/2009 - 12:59

Hello Sairam,

1) I took an OID as an example starting on the public tree I've mentioned in first post.

2) Actually, I'm not an expert on this too. I think that making some practices can help.

Also looking at some networkers slides can be of help.

also you should read the network management config guide

http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_cfg_snmp_sup_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1125774

and some practice and patience

Hope to help

Giuseppe

snarayanaraju Fri, 10/02/2009 - 22:17

Hi Giuseppe,

It a very good document & helped a ton and resolved the requirement

regards,

sairam

Actions

This Discussion