Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next

ProcedureTo Examine JMX-MBEAN-SERVER-MIB Using easymanager

  1. Add the JMX-MBEAN-SERVER-MIBOidTable.class to your classpath.

    Type the following command if you are using a UNIX platform:

    $ export CLASSPATH=$CLASSPATH:examplesDir/current/Snmp/MBeanVirtualTable/

    Type the following command if you are using a Windows platform:

    set classpath=%classpath%;examplesDir/current/Snmp/MBeanVirtualTable/

  2. Open installDir/contributions/easymanager/bin

  3. Start easymanager.

    If the SNMP agent has been started with the default example port, type the following command.

    $ easymanager.sh -port 16161 

    You can now use easymanager to perform the following operations.

    • Pop up a MIB discovery window.

      discovermib -p JDMK_STD_V2_profile

    • Create a new MBean.

      set:2 -w private :<<jmxMBeanObjectName.998,4,Test:name=test1>,
      <jmxMBeanClassName.998,4,Agent$Simple>,
      <jmxMBeanRowStatus.998,2,4>>

    • Click on resynch in the MIB discovery window to observer the changes in the MIB.

    • Destroy the MBean you created.

      set:2 -w private :<<jmxMBeanRowStatus.998,2,6>>

Previous Previous     Contents     Index     Next Next