---
title: Installing the JMX Monitoring Agent - Step-by-Step Installation Guide
description: Step-by-step installation guide for the Nodinite JMX Monitoring Agent. Install OpenJDK, configure IIS, and run the agent as a Windows Service using NSSM to monitor JVM CPU and memory.
---

<a class="nodinite-release-notes" href="https://portal.nodinite.com/marketplace/monitoringAgents/JMX" data-url="https://portal.nodinite.com/marketplace/monitoringAgents/JMX"><i class="fal fa-fw fa-file-alt" aria-hidden="true"></i> Release Notes</a>

# <i class="fal fa-rocket" aria-hidden="true"></i> Installing the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> JMX Monitoring Agent

>This guide teaches how to install the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [JMX Monitoring Agent][JMXAgent] for use with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> in order to Monitor JVM **CPU** and **Memory**.

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>You must be a local administrator to have the right to install Windows Services and IIS Web Applications.</p></div>
</aside>

## Nodinite version 7

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>The JMX Monitoring Agent is <strong>not yet available</strong> for automated Portal-based installation in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7. Please contact <a href="https://support.nodinite.com">Nodinite Support</a> for installation details and assistance.</p></div>
</aside>

<h3 id="future-portal-based-scripted-installation">Future: Portal-Based CLI Installation</h3>

Once available, agent installation will be automated through the [Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>-based CLI installation. This modern approach will:

✅ **Automate agent installation and configuration** with the Installer CLI  
✅ **Configure multiple agents simultaneously** with consistent settings  
✅ **Eliminate manual installations** and reduce human error  
✅ **Centrally manage all environments** from the Portal  

## Nodinite version 6 <i class="fal fa-skull-crossbones" aria-hidden="true"></i> (Manual Installation - Current Method)

<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>The manual installation method for Nodinite v6 is the <strong>current installation method</strong> for the JMX Monitoring Agent. This may be replaced with Portal-based CLI installation in a future release.</p></div>
</aside>

## <i class="fal fa-square-plus" aria-hidden="true"></i> Before you begin

Make sure you comply with the [prerequisites for JMX Monitoring Agent][Prerequisites].

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 1: Install OpenJDK

First, download and install OpenJDK.

* [OpenJDK](https://jdk.java.net/)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>

Then, review the following environment paths:

* <i class="fal fa-terminal" aria-hidden="true"></i> **JAVA_HOME** - Default
* <i class="fal fa-terminal" aria-hidden="true"></i> **ORACLE_HOME** - IF you are using the Oracle JDK

>Verify the environment variable points to the folder where you installed the Open JDK version to use.

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 2: Download and Extract files for the Nodinite JMX Agent

From the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Portal][NodinitePortal], download the version to use and extract the files to folder: `C:\Program Files\Nodinite\Monitoring Agent - JMX` on the target server.

``` python
C:\Program Files\Nodinite\Monitoring Agent - JMX
```

>Make sure to **Unblock** the extracted files.  

``` powershell
Get-ChildItem -Path 'C:\Program Files\Nodinite\Monitoring Agent - JMX\' -Recurse|Unblock-File
```

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 3: Create IIS Application

You can opt to use a new Web Site or create a new Web Application. Depending on your choice, the Service URI will look different. This guide simply creates a new Web Application in the Default Web Site.

In IIS, point the Web Site or the Web Application to the folder with the agent.

`C:\Program Files\Nodinite\Monitoring Agent - JMX`

### IIS Application Pool

* Application Pool Identity
* Unmanaged code

Next, please verify the Web Application is operational. In the IIS MMC, open the Web Application; then, you should be able to explore the [Swagger][]-enabled API.  
![Swagger enabled API][1]  
*Example of the Swagger-enabled API for the JMX Monitoring Agent.*  

Instructions on how to add the [JMX Monitoring agent][JMXAgent] as a [Monitoring Agents][] is detailed in a shared article, click on the link below to learn more:  

* <i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Add or manage a Monitoring Agent Configuration][]

## <i class="fal fa-forward-step" aria-hidden="true"></i> Step 4: Run agent as a Windows Service

In this step, you will download NSSM, a free 3rd party tool, to run the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> JMX Monitoring agent as a Windows Service for the Spring Boot gateway.

Download [NSSM][] and place it in the same folder as the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> JMX Monitoring Agent:

``` python
nssm install "Nodinite JMX API" "%JAVA_HOME%\bin\java.exe" "-jar C:\Program Files\Nodinite\Monitoring Agent - JMX" nodinitejmxapi-1.0.2.jar
```

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>The version may be different and you may have to adjust accordingly.</p></div>
</aside>

___

## <i class="fal fa-user-md" aria-hidden="true"></i> Support

Contact our [Support][] for additional guidance if you fail to resolve the installation problem.

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>Additional information to aid the troubleshooting may exist in the Windows Event Logs.</p></div>
</aside>

## <i class="fal fa-question" aria-hidden="true"></i> Frequently asked questions

Additional solutions to common problems and the FAQ for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [JMX Monitoring agent][JMXAgent] exist in the [Troubleshooting][] user guide.

___

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

<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Add or manage a Monitoring Agent Configuration][]  
<i class="fal fa-screwdriver-wrench" aria-hidden="true"></i> [Troubleshooting][]  

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

<i class="fal fa-edit" aria-hidden="true"></i> [Configuration][]  
<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Monitoring Agents][]  
<i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/JMX/Swagger.png

[Add or manage a Monitoring Agent Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/jmx/getting-started/configuration/
[JMXAgent]:https://docs.nodinite.com/logging-and-monitoring/jmx/overview/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[NodinitePortal]:https://portal.nodinite.com/
[NSSM]:https://nssm.cc/download
[Prerequisites]:https://docs.nodinite.com/logging-and-monitoring/jmx/getting-started/prerequisites/
[Support]:https://support.nodinite.com
[Swagger]:https://swagger.io/
[Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/jmx/troubleshooting/overview/