JVM-MANAGEMENT-MIB

Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved.

This module defines the MIB that provides access to the
 Java[tm] Virtual Machine monitoring data.
 This module is derived from the Java[tm] programming language APIs
described in the java.lang.management package of 
Java[tm] 2, Standard Edition, 5.0.

 See the Java programming language APIs of JSR 163 for
'Monitoring and Management of the Java[TM] Virtual Machine'
for more details.

 Where the Java programming language API uses long, or int, 
the MIB often uses the corresponding unsigned quantity - 
which is closer to the object semantics.

In those cases, it often happens that the -1 value that might be used by the API to indicate an unknown/unimplemented value cannot be used. Instead the MIB uses the value 0, which stricly speaking cannot be distinguished from a valid value. In many cases however, a running system will have non-zero values, so using 0 instead of -1 to indicate an unknown quantity does not lose any functionality.

Source file
JVM-MANAGEMENT-MIB
Last revised
Identity
jvmMgtMIB
Base OID
1.3.6.1.4.1.42.2.145.3.163.1
Objects
41 scalars · 47 columns
Tables
9 tables
Net-SNMP examples using the oracle MIB directory

These commands use the standard Observium installation path and load the selected MIB variant before the RFC and Net-SNMP directories.

Translate the module identity
/usr/bin/snmptranslate -Pud -Ir -On -m 'JVM-MANAGEMENT-MIB' -M '/opt/observium/mibs/oracle:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'JVM-MANAGEMENT-MIB::jvmMgtMIB'
Walk the MIB subtree
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'JVM-MANAGEMENT-MIB' -M '/opt/observium/mibs/oracle:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'JVM-MANAGEMENT-MIB::jvmMgtMIB'
Command help
Imported Objects
SNMPv2-CONF MODULE-COMPLIANCE (no object page) NOTIFICATION-GROUP (no object page) OBJECT-GROUP (no object page)
SNMPv2-SMI Counter32 Counter64 enterprises Gauge32 Integer32 MODULE-IDENTITY (no object page) NOTIFICATION-TYPE (no object page) OBJECT-TYPE (no object page)
SNMPv2-TC DisplayString RowPointer TEXTUAL-CONVENTION (no object page)

ScalarsjvmClassLoading

jvmMgtMIBObjects · .1.3.6.1.4.1.42.2.145.3.163.1.1.1
Object Syntax OID
jvmClassesLoadedCountSNMPv2-SMIGauge32.1.3.6.1.4.1.42.2.145.3.163.1.1.1.1
jvmClassesTotalLoadedCountSNMPv2-SMICounter64.1.3.6.1.4.1.42.2.145.3.163.1.1.1.2
jvmClassesUnloadedCountSNMPv2-SMICounter64.1.3.6.1.4.1.42.2.145.3.163.1.1.1.3
jvmClassesVerboseLevelJvmVerboseLevelTCr/w.1.3.6.1.4.1.42.2.145.3.163.1.1.1.4

ScalarsjvmMemory

jvmMgtMIBObjects · .1.3.6.1.4.1.42.2.145.3.163.1.1.2
Object Syntax OID
jvmMemoryPendingFinalCountSNMPv2-SMIGauge32.1.3.6.1.4.1.42.2.145.3.163.1.1.2.1
jvmMemoryGCVerboseLevelJvmVerboseLevelTCr/w.1.3.6.1.4.1.42.2.145.3.163.1.1.2.2
jvmMemoryGCCallEnumerationr/w.1.3.6.1.4.1.42.2.145.3.163.1.1.2.3
jvmMemoryHeapInitSizebytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.10
jvmMemoryHeapUsedbytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.11
jvmMemoryHeapCommittedbytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.12
jvmMemoryHeapMaxSizebytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.13
jvmMemoryNonHeapInitSizebytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.20
jvmMemoryNonHeapUsedbytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.21
jvmMemoryNonHeapCommittedbytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.22
jvmMemoryNonHeapMaxSizebytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.23
.1.3.6.1.4.1.42.2.145.3.163.1.1.2.100 · 3 columns
OID Tree
The Memory Manager Table contains the whole list of Memory 
          Managers  as returned by ManagementFactory.getMemoryManagerMXBeans(). 

When a MemoryManagerMXBean object is an instance of GarbageCollectorMXBean, the…

jvmMemManagerEntry .1.3.6.1.4.1.42.2.145.3.163.1.1.2.100.1
Column Syntax OID
jvmMemManagerIndexJvmPositive32TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.100.1.1
jvmMemManagerNameJvmJavaObjectNameTC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.100.1.2
jvmMemManagerStateJvmValidityStateTC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.100.1.3
.1.3.6.1.4.1.42.2.145.3.163.1.1.2.101 · 2 columns
OID Tree

…

jvmMemGCEntry .1.3.6.1.4.1.42.2.145.3.163.1.1.2.101.1
Column Syntax OID
jvmMemGCCountSNMPv2-SMICounter64.1.3.6.1.4.1.42.2.145.3.163.1.1.2.101.1.2
jvmMemGCTimeMsmillisecondsJvmTimeMillis64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.101.1.3
.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110 · 21 columns
OID Tree

The Memory Pool Table contains the whole list of MemoryPools as returned by ManagementFactory.getMemoryPoolMXBeans().

jvmMemPoolEntry .1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1
Column Syntax OID
jvmMemPoolIndexJvmPositive32TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.1
jvmMemPoolNameJvmJavaObjectNameTC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.2
jvmMemPoolTypeJvmManagedMemoryTypeTC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.3
jvmMemPoolStateJvmValidityStateTC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.4
jvmMemPoolPeakResetmillisecondsJvmTimeMillis64TCr/w.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.5
jvmMemPoolInitSizebytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.10
jvmMemPoolUsedbytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.11
jvmMemPoolCommittedbytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.12
jvmMemPoolMaxSizebytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.13
jvmMemPoolPeakUsedbytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.21
jvmMemPoolPeakCommittedbytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.22
jvmMemPoolPeakMaxSizebytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.23
jvmMemPoolCollectUsedbytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.31
jvmMemPoolCollectCommittedbytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.32
jvmMemPoolCollectMaxSizebytesJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.33
jvmMemPoolThresholdbytesJvmUnsigned64TCr/w.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.110
jvmMemPoolThreshdCountSNMPv2-SMICounter64.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.111
jvmMemPoolThreshdSupportJvmImplSupportStateTC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.112
jvmMemPoolCollectThresholdbytesJvmUnsigned64TCr/w.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.131
jvmMemPoolCollectThreshdCountSNMPv2-SMICounter64.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.132
jvmMemPoolCollectThreshdSupportJvmImplSupportStateTC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.133
.1.3.6.1.4.1.42.2.145.3.163.1.1.2.120 · 2 columns
OID Tree

…

jvmMemMgrPoolRelEntry .1.3.6.1.4.1.42.2.145.3.163.1.1.2.120.1
Column Syntax OID
jvmMemMgrRelManagerNameJvmJavaObjectNameTC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.120.1.2
jvmMemMgrRelPoolNameJvmJavaObjectNameTC.1.3.6.1.4.1.42.2.145.3.163.1.1.2.120.1.3

ScalarsjvmThreading

jvmMgtMIBObjects · .1.3.6.1.4.1.42.2.145.3.163.1.1.3
Object Syntax OID
jvmThreadCountSNMPv2-SMIGauge32.1.3.6.1.4.1.42.2.145.3.163.1.1.3.1
jvmThreadDaemonCountSNMPv2-SMIGauge32.1.3.6.1.4.1.42.2.145.3.163.1.1.3.2
jvmThreadPeakCountSNMPv2-SMICounter32.1.3.6.1.4.1.42.2.145.3.163.1.1.3.3
jvmThreadTotalStartedCountSNMPv2-SMICounter64.1.3.6.1.4.1.42.2.145.3.163.1.1.3.4
jvmThreadContentionMonitoringJvmImplOptFeatureStateTCr/w.1.3.6.1.4.1.42.2.145.3.163.1.1.3.5
jvmThreadCpuTimeMonitoringJvmImplOptFeatureStateTCr/w.1.3.6.1.4.1.42.2.145.3.163.1.1.3.6
jvmThreadPeakCountResetmillisecondsJvmTimeMillis64TCr/w.1.3.6.1.4.1.42.2.145.3.163.1.1.3.7
.1.3.6.1.4.1.42.2.145.3.163.1.1.3.10 · 11 columns
OID Tree

The Thread Instance Table is built from all the methods of ThreadMXBean that take a ThreadID as parameter.

          See java.lang.management.ThreadMXBean.getAllThreadIds()
jvmThreadInstanceEntry .1.3.6.1.4.1.42.2.145.3.163.1.1.3.10.1
Column Syntax OID
jvmThreadInstIndexJvmIndex64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.3.10.1.1
jvmThreadInstIdJvmUnsigned64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.3.10.1.2
jvmThreadInstStateJvmThreadStateTC.1.3.6.1.4.1.42.2.145.3.163.1.1.3.10.1.3
jvmThreadInstBlockCountSNMPv2-SMICounter64.1.3.6.1.4.1.42.2.145.3.163.1.1.3.10.1.4
jvmThreadInstBlockTimeMsmillisecondsJvmTimeMillis64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.3.10.1.5
jvmThreadInstWaitCountSNMPv2-SMICounter64.1.3.6.1.4.1.42.2.145.3.163.1.1.3.10.1.6
jvmThreadInstWaitTimeMsmillisecondsJvmTimeMillis64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.3.10.1.7
jvmThreadInstCpuTimeNsnanosecondsJvmTimeNanos64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.3.10.1.8
jvmThreadInstNameJvmJavaObjectNameTC.1.3.6.1.4.1.42.2.145.3.163.1.1.3.10.1.9
jvmThreadInstLockNameJvmJavaObjectNameTC.1.3.6.1.4.1.42.2.145.3.163.1.1.3.10.1.10
jvmThreadInstLockOwnerPtrSNMPv2-TCRowPointer.1.3.6.1.4.1.42.2.145.3.163.1.1.3.10.1.11

ScalarsjvmRuntime

jvmMgtMIBObjects · .1.3.6.1.4.1.42.2.145.3.163.1.1.4
Object Syntax OID
jvmRTNameSNMPv2-TCDisplayString.1.3.6.1.4.1.42.2.145.3.163.1.1.4.1
jvmRTVMNameJvmJavaObjectNameTC.1.3.6.1.4.1.42.2.145.3.163.1.1.4.2
jvmRTVMVendorSNMPv2-TCDisplayString.1.3.6.1.4.1.42.2.145.3.163.1.1.4.3
jvmRTVMVersionSNMPv2-TCDisplayString.1.3.6.1.4.1.42.2.145.3.163.1.1.4.4
jvmRTSpecNameSNMPv2-TCDisplayString.1.3.6.1.4.1.42.2.145.3.163.1.1.4.5
jvmRTSpecVendorSNMPv2-TCDisplayString.1.3.6.1.4.1.42.2.145.3.163.1.1.4.6
jvmRTSpecVersionSNMPv2-TCDisplayString.1.3.6.1.4.1.42.2.145.3.163.1.1.4.7
jvmRTManagementSpecVersionSNMPv2-TCDisplayString.1.3.6.1.4.1.42.2.145.3.163.1.1.4.8
jvmRTBootClassPathSupportJvmImplSupportStateTC.1.3.6.1.4.1.42.2.145.3.163.1.1.4.9
jvmRTInputArgsCountJvmPositive32TC.1.3.6.1.4.1.42.2.145.3.163.1.1.4.10
jvmRTUptimeMsmillisecondsJvmTimeMillis64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.4.11
jvmRTStartTimeMsmillisecondsJvmTimeMillis64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.4.12
.1.3.6.1.4.1.42.2.145.3.163.1.1.4.20 · 2 columns
OID Tree

The Input Argument Table lists the input arguments passed to the Java Virtual Machine.

The jvmRTInputArgsIndex is the index of the argument in the array returned by RuntimeMXBean.getInputArguments().

…

jvmRTInputArgsEntry .1.3.6.1.4.1.42.2.145.3.163.1.1.4.20.1
Column Syntax OID
jvmRTInputArgsIndexJvmPositive32TC.1.3.6.1.4.1.42.2.145.3.163.1.1.4.20.1.1
jvmRTInputArgsItemJvmArgValueTC.1.3.6.1.4.1.42.2.145.3.163.1.1.4.20.1.2
.1.3.6.1.4.1.42.2.145.3.163.1.1.4.21 · 2 columns
OID Tree

The boot class path that is used by the bootstrap class loader to search for a class file for loading.

Note that the SNMP agent may have to truncate the bootclasspath elements contained in the string returned by the unde…

jvmRTBootClassPathEntry .1.3.6.1.4.1.42.2.145.3.163.1.1.4.21.1
Column Syntax OID
jvmRTBootClassPathIndexJvmPositive32TC.1.3.6.1.4.1.42.2.145.3.163.1.1.4.21.1.1
jvmRTBootClassPathItemJvmPathElementTC.1.3.6.1.4.1.42.2.145.3.163.1.1.4.21.1.2
.1.3.6.1.4.1.42.2.145.3.163.1.1.4.22 · 2 columns
OID Tree
The  class path that is used by the system class loader 
          to search for a class file.

Note that the SNMP agent may have to truncate the classpath elements contained in the string returned by the underlying API i…

jvmRTClassPathEntry .1.3.6.1.4.1.42.2.145.3.163.1.1.4.22.1
Column Syntax OID
jvmRTClassPathIndexJvmPositive32TC.1.3.6.1.4.1.42.2.145.3.163.1.1.4.22.1.1
jvmRTClassPathItemJvmPathElementTC.1.3.6.1.4.1.42.2.145.3.163.1.1.4.22.1.2
.1.3.6.1.4.1.42.2.145.3.163.1.1.4.23 · 2 columns
OID Tree
The  library path.

Note that the SNMP agent may have to truncate the librarypath elements contained in the string returned by the underlying API if it does not fit in the JvmPathElementTC (1023 bytes max).

…

jvmRTLibraryPathEntry .1.3.6.1.4.1.42.2.145.3.163.1.1.4.23.1
Column Syntax OID
jvmRTLibraryPathIndexJvmPositive32TC.1.3.6.1.4.1.42.2.145.3.163.1.1.4.23.1.1
jvmRTLibraryPathItemJvmPathElementTC.1.3.6.1.4.1.42.2.145.3.163.1.1.4.23.1.2

ScalarsjvmCompilation

jvmMgtMIBObjects · .1.3.6.1.4.1.42.2.145.3.163.1.1.5
Object Syntax OID
jvmJITCompilerNameJvmJavaObjectNameTC.1.3.6.1.4.1.42.2.145.3.163.1.1.5.1
jvmJITCompilerTimeMsmillisecondsJvmTimeMillis64TC.1.3.6.1.4.1.42.2.145.3.163.1.1.5.2
jvmJITCompilerTimeMonitoringJvmImplSupportStateTC.1.3.6.1.4.1.42.2.145.3.163.1.1.5.3

ScalarsjvmOS

jvmMgtMIBObjects · .1.3.6.1.4.1.42.2.145.3.163.1.1.6
Object Syntax OID
jvmOSNameJvmJavaObjectNameTC.1.3.6.1.4.1.42.2.145.3.163.1.1.6.1
jvmOSArchSNMPv2-TCDisplayString.1.3.6.1.4.1.42.2.145.3.163.1.1.6.2
jvmOSVersionSNMPv2-TCDisplayString.1.3.6.1.4.1.42.2.145.3.163.1.1.6.3
jvmOSProcessorCountSNMPv2-SMIInteger32.1.3.6.1.4.1.42.2.145.3.163.1.1.6.4

Notifications / Traps (2)

NotificationVariable bindingsOID
jvmLowMemoryPoolUsageNotif
  1. jvmMemPoolName
  2. jvmMemPoolUsed
  3. jvmMemPoolThreshdCount
.1.3.6.1.4.1.42.2.145.3.163.1.2.2.1.0.1
jvmLowMemoryPoolCollectNotif
  1. jvmMemPoolName
  2. jvmMemPoolCollectUsed
  3. jvmMemPoolCollectThreshdCount
.1.3.6.1.4.1.42.2.145.3.163.1.2.2.1.0.2

Type Definitions (14)

TypeSyntaxConstraints
JvmArgValueTC OctetString 1 constraints
JvmImplOptFeatureStateTC Enumeration 3 values
JvmImplSupportStateTC Enumeration 2 values
JvmIndex64TC OctetString 1 constraints
JvmJavaObjectNameTC OctetString 1 constraints
JvmManagedMemoryTypeTC Enumeration 2 values
JvmPathElementTC OctetString 1 constraints
JvmPositive32TC Integer32 1 constraints
JvmThreadStateTC Bits 9 values
JvmTimeMillis64TC Unsigned64
JvmTimeNanos64TC Unsigned64
JvmUnsigned64TC Unsigned64
JvmValidityStateTC Enumeration 2 values
JvmVerboseLevelTC Enumeration 2 values

Conformance Groups (26)

jvmClassLoadingBasicGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.1.1 Members (3)
jvmClassLoadingSetGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.1.2 Members (1)
jvmMemoryBasicGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.2.1 Members (1)
jvmMemoryHeapUsageGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.2.2 Members (4)
jvmMemoryNonHeapUsageGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.2.3 Members (4)
jvmMemorySetGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.2.4 Members (2)
jvmMemManagerGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.2.5 Members (2)
jvmMemGCGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.2.6 Members (2)
jvmMemPoolBasicGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.2.7.1 Members (6)
jvmMemPoolMonitoringGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.2.7.2 Members (2)
jvmMemPoolUsageGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.2.7.3 Members (4)
jvmMemPoolPeakUsageGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.2.7.4 Members (3)
jvmMemPoolCollectUsageGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.2.7.5 Members (3)
jvmMemPoolCollectMonitoringGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.2.7.6 Members (2)
jvmMemMgrPoolRelationGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.2.8 Members (2)
jvmThreadBasicGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.3.1 Members (7)
jvmThreadInstanceBasicGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.3.2.1 Members (5)
jvmThreadInstanceCpuGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.3.2.2 Members (1)
jvmThreadInstanceBlockGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.3.2.3 Members (4)
jvmRuntimeBasicGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.4.1 Members (15)
jvmRuntimeBootCPGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.4.2 Members (1)
jvmJITCompilerBasicGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.5.1 Members (2)
jvmJITCompilerTimeStatGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.5.2 Members (1)
jvmOSGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.6 Members (4)
jvmLowMemoryUsageNotifGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.7 Notifications (1)
jvmLowMemoryCollectNotifGroup .1.3.6.1.4.1.42.2.145.3.163.1.3.2.8 Notifications (1)

Compliance Statements (1)

jvmManagementCompliance .1.3.6.1.4.1.42.2.145.3.163.1.3.1.1
Dependencies (3) 3 direct Show tree and compile order Hide dependency details

Each imported module is resolved in the importing module's source directory first, then through the normal default-variant rules.

Dependency tree
Dependency-first compile order
  1. SNMPv2-SMIrfc
  2. SNMPv2-CONFrfc
  3. SNMPv2-TCrfc
  4. JVM-MANAGEMENT-MIBoracleselected