# OpenAM Administration Guide
17.1. Monitoring Interfaces

Sidebar | Prev | Up | Next

### 17.1.2. JMX Monitoring

You can configure OpenAM to allow you to listen for Java Management eXtension (JMX) clients, by default on port 9999. Either use the OpenAM console page under Configuration > System > Monitoring and make sure both Monitoring Status and Monitoring RMI interface status are both set to Enabled, or use the ssoadm command.

    $ ssoadm
     set-attr-defs
     --servicename iPlanetAMMonitoringService
     --schematype Global
     --adminid amadmin
     --password-file /tmp/pwd.txt
     --attributevalues iplanet-am-monitoring-enabled=true
     iplanet-am-monitoring-rmi-enabled=true

A number of tools support JMX, including jvisualvm and jconsole. When you use jconsole to browse OpenAM MBeans for example, the default URL for the OpenAM running on the local system is `service:jmx:rmi:///jndi/rmi://localhost:9999/server`.

    $ jconsole service:jmx:rmi:///jndi/rmi://localhost:9999/server &

You can also browse the MBeans by connecting to your web application container, and browsing to the OpenAM MBeans. By default, JMX monitoring for your container is likely to be accessible only locally, using the process ID.

[D]

Also see Monitoring and Management Using JMX for instructions on how to connect remotely, how to use SSL, and so forth.