org.snmp4j.agent.mo.jmx.mibs
Class JvmManagementMibInst

java.lang.Object
  extended by org.snmp4j.agent.mo.jmx.mibs.JvmManagementMib
      extended by org.snmp4j.agent.mo.jmx.mibs.JvmManagementMibInst
All Implemented Interfaces:
org.snmp4j.agent.MOGroup

public class JvmManagementMibInst
extends JvmManagementMib

The JvmManagementMibInst demonstrates how an AgenPro generated MIB module class can be extended to provide JMX instrumentation for it. The instrumentation is done mostly descriptive. Only for value mapping some code is necessary.

Version:
1.0
Author:
Frank Fock

Nested Class Summary
 
Nested classes/interfaces inherited from class org.snmp4j.agent.mo.jmx.mibs.JvmManagementMib
JvmManagementMib.JvmClassesVerboseLevelEnum, JvmManagementMib.JvmJITCompilerTimeMonitoringEnum, JvmManagementMib.JvmMemoryGCCallEnum, JvmManagementMib.JvmMemoryGCVerboseLevelEnum, JvmManagementMib.JvmRTBootClassPathSupportEnum, JvmManagementMib.JvmThreadContentionMonitoringEnum, JvmManagementMib.JvmThreadCpuTimeMonitoringEnum
 
Field Summary
 
Fields inherited from class org.snmp4j.agent.mo.jmx.mibs.JvmManagementMib
colJvmMemGCCount, colJvmMemGCTimeMs, colJvmMemManagerName, colJvmMemManagerState, colJvmMemMgrRelManagerName, colJvmMemMgrRelPoolName, colJvmMemPoolCollectCommitted, colJvmMemPoolCollectMaxSize, colJvmMemPoolCollectThreshdCount, colJvmMemPoolCollectThreshdSupport, colJvmMemPoolCollectThreshold, colJvmMemPoolCollectUsed, colJvmMemPoolCommitted, colJvmMemPoolInitSize, colJvmMemPoolMaxSize, colJvmMemPoolName, colJvmMemPoolPeakCommitted, colJvmMemPoolPeakMaxSize, colJvmMemPoolPeakReset, colJvmMemPoolPeakUsed, colJvmMemPoolState, colJvmMemPoolThreshdCount, colJvmMemPoolThreshdSupport, colJvmMemPoolThreshold, colJvmMemPoolType, colJvmMemPoolUsed, colJvmRTBootClassPathItem, colJvmRTClassPathItem, colJvmRTInputArgsItem, colJvmRTLibraryPathItem, colJvmThreadInstBlockCount, colJvmThreadInstBlockTimeMs, colJvmThreadInstCpuTimeNs, colJvmThreadInstId, colJvmThreadInstLockName, colJvmThreadInstLockOwnerPtr, colJvmThreadInstName, colJvmThreadInstState, colJvmThreadInstWaitCount, colJvmThreadInstWaitTimeMs, idxJvmMemGCCount, idxJvmMemGCTimeMs, idxJvmMemManagerName, idxJvmMemManagerState, idxJvmMemMgrRelManagerName, idxJvmMemMgrRelPoolName, idxJvmMemPoolCollectCommitted, idxJvmMemPoolCollectMaxSize, idxJvmMemPoolCollectThreshdCount, idxJvmMemPoolCollectThreshdSupport, idxJvmMemPoolCollectThreshold, idxJvmMemPoolCollectUsed, idxJvmMemPoolCommitted, idxJvmMemPoolInitSize, idxJvmMemPoolMaxSize, idxJvmMemPoolName, idxJvmMemPoolPeakCommitted, idxJvmMemPoolPeakMaxSize, idxJvmMemPoolPeakReset, idxJvmMemPoolPeakUsed, idxJvmMemPoolState, idxJvmMemPoolThreshdCount, idxJvmMemPoolThreshdSupport, idxJvmMemPoolThreshold, idxJvmMemPoolType, idxJvmMemPoolUsed, idxJvmRTBootClassPathItem, idxJvmRTClassPathItem, idxJvmRTInputArgsItem, idxJvmRTLibraryPathItem, idxJvmThreadInstBlockCount, idxJvmThreadInstBlockTimeMs, idxJvmThreadInstCpuTimeNs, idxJvmThreadInstId, idxJvmThreadInstLockName, idxJvmThreadInstLockOwnerPtr, idxJvmThreadInstName, idxJvmThreadInstState, idxJvmThreadInstWaitCount, idxJvmThreadInstWaitTimeMs, oidJvmClassesLoadedCount, oidJvmClassesTotalLoadedCount, oidJvmClassesUnloadedCount, oidJvmClassesVerboseLevel, oidJvmJITCompilerName, oidJvmJITCompilerTimeMonitoring, oidJvmJITCompilerTimeMs, oidJvmLowMemoryPoolCollectNotif, oidJvmLowMemoryPoolUsageNotif, oidJvmMemGCEntry, oidJvmMemManagerEntry, oidJvmMemMgrPoolRelEntry, oidJvmMemoryGCCall, oidJvmMemoryGCVerboseLevel, oidJvmMemoryHeapCommitted, oidJvmMemoryHeapInitSize, oidJvmMemoryHeapMaxSize, oidJvmMemoryHeapUsed, oidJvmMemoryNonHeapCommitted, oidJvmMemoryNonHeapInitSize, oidJvmMemoryNonHeapMaxSize, oidJvmMemoryNonHeapUsed, oidJvmMemoryPendingFinalCount, oidJvmMemPoolEntry, oidJvmOSArch, oidJvmOSName, oidJvmOSProcessorCount, oidJvmOSVersion, oidJvmRTBootClassPathEntry, oidJvmRTBootClassPathSupport, oidJvmRTClassPathEntry, oidJvmRTInputArgsCount, oidJvmRTInputArgsEntry, oidJvmRTLibraryPathEntry, oidJvmRTManagementSpecVersion, oidJvmRTName, oidJvmRTSpecName, oidJvmRTSpecVendor, oidJvmRTSpecVersion, oidJvmRTStartTimeMs, oidJvmRTUptimeMs, oidJvmRTVMName, oidJvmRTVMVendor, oidJvmRTVMVersion, oidJvmThreadContentionMonitoring, oidJvmThreadCount, oidJvmThreadCpuTimeMonitoring, oidJvmThreadDaemonCount, oidJvmThreadInstanceEntry, oidJvmThreadPeakCount, oidJvmThreadPeakCountReset, oidJvmThreadTotalStartedCount, oidTrapVarJvmMemPoolCollectThreshdCount, oidTrapVarJvmMemPoolCollectUsed, oidTrapVarJvmMemPoolName, oidTrapVarJvmMemPoolThreshdCount, oidTrapVarJvmMemPoolUsed
 
Constructor Summary
JvmManagementMibInst(org.snmp4j.agent.NotificationOriginator notificationOriginator)
           
 
Method Summary
 void registerMOs(org.snmp4j.agent.MOServer server, org.snmp4j.smi.OctetString context)
           
 
Methods inherited from class org.snmp4j.agent.mo.jmx.mibs.JvmManagementMib
createMO, getJvmMemGCEntry, getJvmMemManagerEntry, getJvmMemMgrPoolRelEntry, getJvmMemPoolEntry, getJvmRTBootClassPathEntry, getJvmRTClassPathEntry, getJvmRTInputArgsEntry, getJvmRTLibraryPathEntry, getJvmThreadInstanceEntry, jvmLowMemoryPoolCollectNotif, jvmLowMemoryPoolUsageNotif, unregisterMOs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JvmManagementMibInst

public JvmManagementMibInst(org.snmp4j.agent.NotificationOriginator notificationOriginator)
Method Detail

registerMOs

public void registerMOs(org.snmp4j.agent.MOServer server,
                        org.snmp4j.smi.OctetString context)
                 throws org.snmp4j.agent.DuplicateRegistrationException
Specified by:
registerMOs in interface org.snmp4j.agent.MOGroup
Overrides:
registerMOs in class JvmManagementMib
Throws:
org.snmp4j.agent.DuplicateRegistrationException

Copyright 2006-2007 Frank Fock (SNMP4J.org)