Solved

Where are SNMP OID's defined

Posted on 2014-09-09
6
255 Views
Last Modified: 2014-09-17
Is there a way to look up an OID and see what value it is supposed to return?  I don't see how a MIB file maps a friendly name to an OID without any reference to the OID in the MIB file.  I am properly misunderstanding how this all works.

Example:
JVM-MANAGEMENT-MIB::jvmMemoryHeapUsed <maps-to> 1.3.6.1.4.1.42.2.145.3.163.1.1.2, but how would one know this??

If someone could please explain, that would be great!
0
Comment
Question by:lconnell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 81

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 40314276
1.3.6.1.4.1.42.2.145.3.163.1.1.2

From JVM-MANAGEMENT-MIB - JSR 163 Final Release 1.0
-- Enterprise OIDs
--        internet          OBJECT IDENTIFIER ::= { iso(1) org(3) dod(6) 1 }
--        private           OBJECT IDENTIFIER ::= { internet 4 }
--        enterprises       OBJECT IDENTIFIER ::= { private 1 }
      sun                OBJECT IDENTIFIER ::= { enterprises 42 }
      jmgt              OBJECT IDENTIFIER ::= { sun products(2) 145 }
      -- experimental      OBJECT IDENTIFIER ::= { jmgt 1 }
        standard          OBJECT IDENTIFIER ::= { jmgt 3 }sample breakdown
0
 
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 40314293
0
 

Author Comment

by:lconnell
ID: 40319163
Excellent, thank you very much.

Where does this come from?
3.163.1.1.2

Also, how would I access the value jvmOSName? Would it be like this... MANAGEMENT-MIB::jvmOSGroup::jvmOSName ??

jvmOSGroup OBJECT-GROUP
    OBJECTS {
             jvmOSName,
           jvmOSArch,
           jvmOSVersion,
           jvmOSProcessorCount
0
Retailers - Is your network secure?

With the prevalence of social media & networking tools, for retailers, reputation is critical. Have you considered the impact your network security could have in your customer's experience? Learn more in our Retail Security Resource Kit Today!

 

Author Comment

by:lconnell
ID: 40323021
Can someone explain where the "3.163.1.1.2" comes from? Where is that defined in the MIB?
0
 
LVL 81

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 500 total points
ID: 40323233
VALUE standard [UNIVERSAL 6] OBJECT IDENTIFIER
    ::= 1.3.6.1.4.1.42.2.145.3 from MIB Browser http://www.mibble.org/

you can peruse the source if you want more.. also if you open the mib in a text editor you can find what you can use and the values returned.
0
 

Author Comment

by:lconnell
ID: 40329413
Hi,

I understand where 1.3.6.1.4.1.42.2.145 come from as you explained that very clearly. Am I misunderstanding an important concept here? I am assuming that the MIB: JVM would define the 3.163.1.1.2 section which must point to a specific piece of information.

How would I know what the OID 3.163.1.1.2 is referencing?

After looking at this site: IPMonitor I can see what I was expecting, a mapping between OID and the name.

So I see where I can see the mapping, but it's only possible using a MIB browser?

Thanks!
0

Featured Post

Schedule a Tour of the ATEN booth at InfoComm 2017

Tour the ATEN booth to see the the Latest Addition to the Modular Matrix Switch Series, New 4K HDMI Over IP Extender and more! Enter ATEN's Ultimate Giveaway Sweepstakes for a chance to win one of several great prizes, including an ATEN US7220 2-Port Thunderbolt 2 Sharing Switch!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question