Using JMX to monitor Sun Identity Manager Services

In the Sun Identity Manager documentation, there’s reference to JMX hooks that can be used to monitor the health of your Sun Identity Manager Deployment and its related components. My goal was to figure out how to do this and here’s the steps that I used:

  1. Login to the admin interface of IDM and navigate to Configure->Servers and choose one server
  2. The next widget that appears has four tabs, choose JMX
  3. Uncheck Use default (false) and check JMX Enabled.
  4. Save your changes and then restart your app server (in my case this is Glassfish)
  5. Next, run jconsole.exe which is located in your $JDK/bin directory, my jconsole was found here: c:Program FilesJavajdk1.5.0_08bin
  6. A new JConsole window appears titled JConsole: Connect to Agent
  7. Click on the Advanced tab and in the URL enter the JMX URL for your app server. For Glassfish this is: service:jmx:rmi:///jndi/rmi://localhost:8686/jmxrmi

    That’s all!