Solved

Where are SNMP OID's defined

Posted on 2014-09-09
6
250 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
  • 3
  • 3
6 Comments
 
LVL 80

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 80

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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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 80

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

821 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