---
title: Monitor WSO2 Enterprise Integrator with the Nodinite JMX Monitoring Agent
description: Monitor WSO2 Enterprise Integrator and WSO2 Micro Integrator with the Nodinite JMX Monitoring Agent. Track JVM CPU and heap memory over JMX, alert on thresholds, and share status in Monitor Views.
---

# WSO2 Enterprise Integrator - Monitoring

WSO2 Enterprise Integrator and WSO2 Micro Integrator run on the Java Virtual Machine (JVM) and expose JMX (Java Management Extensions). <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> monitors them with the [JMX Monitoring Agent][], the same agent that monitors any other JVM workload. There is no separate WSO2 [Monitoring Agent][Monitoring Agents]: you enable JMX remote access on each WSO2 server, add it as an Application Host in the JMX Monitoring Agent, and <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> alerts you when CPU or heap memory crosses your thresholds.

* ✅ **One agent for every JVM** - Monitor WSO2 Enterprise Integrator, WSO2 Micro Integrator, Boomi Atoms, and your own Java applications with the same JMX Monitoring Agent  
* ✅ **No code changes** - Enable JMX remote with JVM startup options; your WSO2 artifacts stay untouched  
* ✅ **Threshold alerts** - Get Warning and Error states for JVM CPU and free heap memory, with a duration before alerting  
* ✅ **Shared status** - Show WSO2 runtime health in [Monitor Views][] and route alerts with [Alarm Plugins][]  
* ✅ **Logging too** - Combine JVM monitoring with [WSO2 Enterprise Integrator - Logging][] for business transaction visibility  

## <i class="fal fa-diagram-project" aria-hidden="true"></i> How It Works

<div class="mermaid">
graph LR
    subgraph "Nodinite Core Services Server"
        roMon["fa:fa-watch-fitness Monitoring Service"]
    end
    subgraph "Nodinite Agent Server"
        roAgent["fa:fa-monitor-waveform JMX Monitoring Agent"]
        roGW["fa:fa-hard-drive Spring Boot JMX Gateway"]
    end
    subgraph "WSO2 server"
        roEI["fab:fa-java WSO2 EI or Micro Integrator JVM"]
    end
    roMon --> roAgent
    roAgent --> roGW
    roGW -->|"JMX remote port"| roEI
    roMon --> roOK["OK: CPU and heap within thresholds"]
    roMon --> roWarn["Warning: Warning threshold exceeded"]
    roMon --> roErr["Error: Error threshold exceeded"]
    style roMon fill:#2678BD
    style roOK fill:#93d16d
    style roWarn fill:#FFD525
    style roErr fill:#c33d34
</div>

*The [Monitoring Service][] polls the JMX Monitoring Agent, the Spring Boot JMX Gateway reads each WSO2 JVM over JMX, and every [Resource][Resources] gets an OK (green), Warning (yellow), or Error (red) state from your thresholds. Ports for every hop are in the [JMX firewall section][JMX Firewall].*

## <i class="fal fa-binoculars" aria-hidden="true"></i> What You Can Monitor

The JMX Monitoring Agent reads JVM-level values, so it sees each WSO2 server as a JVM. Per WSO2 server (an Application Host in the agent's [Configuration][JMX Configuration]) you can monitor:

* **CPU** - Warning and Error thresholds in percent, with a duration before the state changes
* **Heap Size** - Warning and Error thresholds on free heap in percent, with a duration before the state changes

The agent groups the [Resources][] by [Application][Applications] and [Category][Categories], so you can put each WSO2 environment in its own [Monitor View][Monitor Views] and give each environment its own thresholds ([Environment-Specific Thresholds][]).

### What JMX Monitoring Doesn't Cover

The JMX Monitoring Agent doesn't read WSO2 artifacts. It doesn't list or change the state of proxy services, APIs, sequences, endpoints, or message processors, it doesn't use the WSO2 Management API or the Carbon management console, and it can't start, stop, or restart WSO2 artifacts or servers. To cover more than JVM health, combine it with:

* <i class="fal fa-globe" aria-hidden="true"></i> [Web Services Monitoring Agent][] - Call WSO2 proxy services and APIs over HTTP(S) and alert when they don't respond as expected
* <i class="fab fa-windows" aria-hidden="true"></i> [Windows Server Monitoring Agent][] - Watch the Windows service and the host when WSO2 runs as a Windows service
* <i class="fal fa-stopwatch" aria-hidden="true"></i> [Non-Events][] - Alert on missing or unexpected message volumes, based on events from [WSO2 Enterprise Integrator - Logging][]

## <i class="fal fa-unlock" aria-hidden="true"></i> Enable JMX Remote on WSO2

JMX must be reachable from the Spring Boot JMX Gateway. The general steps, JVM options, and security guidance are in [Enable JMX Remote Monitoring][]; the WSO2-specific points are below. Verify the file names and defaults for your WSO2 version.

### WSO2 Enterprise Integrator 6.x (Carbon-based)

WSO2 Carbon products start their own JMX server. According to the [WSO2 Carbon administration guide](https://wso2docs.atlassian.net/wiki/spaces/ADMIN44x/pages/6684710/JMX-Based+Monitoring)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>:

* The default ports are `RMIRegistryPort` **9999** and `RMIServerPort` **11111**, set in `<PRODUCT_HOME>/repository/conf/carbon.xml`; a client behind a firewall needs both ports.
* `<StartRMIServer>` in `<PRODUCT_HOME>/repository/conf/etc/jmx.xml` turns the built-in JMX server on or off.
* Remote clients sign in with a WSO2 user in the **admin** role, and `-Djava.rmi.server.hostname=<IP_ADDRESS>` binds the JMX service to an external address.

The JMX Monitoring Agent's Application Host settings hold an address and a port, so the simplest setup is to give the WSO2 JVM a standard JMX remote port with the options in [Enable JMX Remote Monitoring][]: add them to the JVM options of the startup script (for example `<EI_HOME>/bin/integrator.sh` or `integrator.bat`), and set `com.sun.management.jmxremote.rmi.port` to the same value as `com.sun.management.jmxremote.port` so only one port needs to be open.

### WSO2 Micro Integrator (EI 7.x and MI 4.x)

The Micro Integrator exposes JMX MBeans as well ([WSO2 EI 7.0 JMX Monitoring](https://ei.docs.wso2.com/en/7.0.0/micro-integrator/administer-and-observe/jmx_monitoring/)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, [WSO2 MI 4.2 JMX Monitoring](https://mi.docs.wso2.com/en/4.2.0/observe-and-manage/classic-observability-metrics/jmx-monitoring)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>). WSO2 documents local JConsole access and no remote JMX port, so add the standard JMX remote options to the JVM options of `<MI_HOME>/bin/micro-integrator.sh` or `micro-integrator.bat`, the same way as for EI 6.x.

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p>An unauthenticated JMX port without TLS gives anyone who can reach it control over the JVM. Restrict it with the firewall to the Agent Server, and follow the security guidance in <a href="https://docs.nodinite.com/logging-and-monitoring/jmx/troubleshooting/enable-jmx-remote-monitoring/">Enable JMX Remote Monitoring</a>.</p></div>
</aside>

## <i class="fal fa-rocket" aria-hidden="true"></i> Get Started

1. Check the [JMX Monitoring Agent prerequisites][JMX Prerequisites], including the [firewall rules][JMX Firewall] between the agent, the Spring Boot JMX Gateway, and each WSO2 server.
1. [Install the JMX Monitoring Agent][JMX Install].
1. Enable JMX remote on each WSO2 server (see above).
1. Add each WSO2 server as an Application Host and set the CPU and Heap Size thresholds in the [JMX Monitoring Agent configuration][JMX Configuration], done from the [Web Client][] with [Remote Configuration][].
1. Add the Resources to [Monitor Views][] and connect [Alarm Plugins][].

WSO2 in Docker or Kubernetes works the same way once the JMX port is published; see [Docker Container Monitoring][].

## <i class="fal fa-circle-question" aria-hidden="true"></i> Common Questions

See the [WSO2 monitoring FAQ][Troubleshooting Overview] for answers about credentials, permissions, supported versions, containers, detection speed, and licensing.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [JMX Monitoring Agent prerequisites][JMX Prerequisites]  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Install the JMX Monitoring Agent][JMX Install]  
* <i class="fal fa-gear" aria-hidden="true"></i> [Configure the JMX Monitoring Agent][JMX Configuration]  
* <i class="fal fa-list" aria-hidden="true"></i> [WSO2 monitoring FAQ][Troubleshooting Overview]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fab fa-java" aria-hidden="true"></i> [JMX Monitoring Agent][]  
* <i class="fal fa-file-lines" aria-hidden="true"></i> [WSO2 Enterprise Integrator - Logging][]  
* <i class="fal fa-display" aria-hidden="true"></i> [Monitor Views][]  
* <i class="fal fa-bell" aria-hidden="true"></i> [Alarm Plugins][]  
* <i class="fal fa-flask" aria-hidden="true"></i> [POC][]  
* <i class="fal fa-life-ring" aria-hidden="true"></i> [Monitoring Agents Troubleshooting][] – Install, diagnostics, and multiple instances for any Monitoring Agent  

[Alarm Plugins]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/what-is-an-alarm-plugin/
[Applications]:https://docs.nodinite.com/administration/monitor-management/applications/features/what-is-an-application/
[Categories]:https://docs.nodinite.com/administration/monitor-management/categories/features/what-is-a-category/
[Docker Container Monitoring]:https://docs.nodinite.com/logging-and-monitoring/jmx/troubleshooting/docker-container-monitoring/
[Enable JMX Remote Monitoring]:https://docs.nodinite.com/logging-and-monitoring/jmx/troubleshooting/enable-jmx-remote-monitoring/
[Environment-Specific Thresholds]:https://docs.nodinite.com/logging-and-monitoring/jmx/troubleshooting/environment-specific-thresholds/
[JMX Configuration]:https://docs.nodinite.com/logging-and-monitoring/jmx/getting-started/configuration/
[JMX Firewall]:https://docs.nodinite.com/logging-and-monitoring/jmx/getting-started/prerequisites/#fa-shield-check-firewall
[JMX Install]:https://docs.nodinite.com/logging-and-monitoring/jmx/getting-started/install/
[JMX Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/jmx/overview/
[JMX Prerequisites]:https://docs.nodinite.com/logging-and-monitoring/jmx/getting-started/prerequisites/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[Monitoring Agents Troubleshooting]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/troubleshooting/overview/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[Non-Events]:https://docs.nodinite.com/logging-and-monitoring/non-events/overview/
[POC]:https://docs.nodinite.com/install-and-update/getting-started/poc/
[Remote Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/how-do-i-configure-a-monitor-agent/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Troubleshooting Overview]:https://docs.nodinite.com/logging-and-monitoring/wso2-enterprise-integrator-monitoring/troubleshooting/overview/
[Web Client]:https://docs.nodinite.com/getting-started/overview/
[Web Services Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/web-services/overview/
[Windows Server Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/windows-server/overview/
[WSO2 Enterprise Integrator - Logging]:https://docs.nodinite.com/logging-and-monitoring/wso2-enterprise-integrator-logging/overview/