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 ".220.127.116.11.18.104.22.168.22.214.171.124.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,
Solved! Go to Solution.
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
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
let's start by typing the following OID
into SNMP object navigator
a web page will be displayed
then click on
the page is redrawn showing you the underlying options
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
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 "126.96.36.199.188.8.131.52" 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
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
and some practice and patience
Hope to help