---
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.
---

:ReleaseNotes(https://portal.nodinite.com/marketplace/monitoringAgents/JMX):

# :fa-rocket: Installing the :Nodinite: JMX Monitoring Agent

>This guide teaches how to install the :Nodinite: [JMX Monitoring Agent][JMXAgent] for use with :Nodinite: in order to Monitor JVM **CPU** and **Memory**.

>[!NOTE]
>You must be a local administrator to have the right to install Windows Services and IIS Web Applications.

## Nodinite version 7

>[!IMPORTANT]
>The JMX Monitoring Agent is **not yet available** for automated Portal-based installation in :Nodinite: v7. Please contact [Nodinite Support][Support] for installation details and assistance.

### Future: Portal-Based CLI Installation {#future-portal-based-scripted-installation}

Once available, agent installation will be automated through the [Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</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 :fa-skull-crossbones: (Manual Installation - Current Method)

>[!WARNING]
>The manual installation method for Nodinite v6 is the **current installation method** for the JMX Monitoring Agent. This may be replaced with Portal-based CLI installation in a future release.

## :fa-square-plus: Before you begin

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

## :fa-forward-step: Step 1: Install OpenJDK

First, download and install OpenJDK.

* [OpenJDK](https://jdk.java.net/)<sup>:fa-arrow-up-right-from-square:</sup>

Then, review the following environment paths:

* :fa-terminal: **JAVA_HOME** - Default
* :fa-terminal: **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.

## :fa-forward-step: Step 2: Download and Extract files for the Nodinite JMX Agent

From the :Nodinite: [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
```

## :fa-forward-step: 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:  

* :fa-monitor-waveform: [Add or manage a Monitoring Agent Configuration][]

## :fa-forward-step: Step 4: Run agent as a Windows Service

In this step, you will download NSSM, a free 3rd party tool, to run the :Nodinite: JMX Monitoring agent as a Windows Service for the Spring Boot gateway.

Download [NSSM][] and place it in the same folder as the :Nodinite: 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
```

>[!NOTE]
>The version may be different and you may have to adjust accordingly.

___

## :fa-user-md: Support

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

>[!NOTE]
>Additional information to aid the troubleshooting may exist in the Windows Event Logs.  

## :fa-question: Frequently asked questions

Additional solutions to common problems and the FAQ for the :Nodinite: [JMX Monitoring agent][JMXAgent] exist in the [Troubleshooting][] user guide.

___

## :fa-hand-point-right: Next Steps

:fa-monitor-waveform: [Add or manage a Monitoring Agent Configuration][]  
:fa-screwdriver-wrench: [Troubleshooting][]  

## :fa-link-horizontal: Related Topics

:fa-edit: [Configuration][]  
:fa-monitor-waveform: [Monitoring Agents][]  
:fa-clipboard-check: [Prerequisites][]  

[1]:{ndm}/Documentation%20Pictures/MonitorAgent/JMX/Swagger.png

[Add or manage a Monitoring Agent Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/Add%20or%20manage%20Monitor%20Agent.md
[Configuration]:{ndr}/Logging%20and%20Monitoring/JMX/Getting%20started/3.%20Configuration.md
[JMXAgent]:{ndr}/Logging%20and%20Monitoring/JMX/Overview.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[NodinitePortal]:https://portal.nodinite.com/
[NSSM]:https://nssm.cc/download
[Prerequisites]:{ndr}/Logging%20and%20Monitoring/JMX/Getting%20started/1.%20Prerequisites.md
[Support]:https://support.nodinite.com
[Swagger]:https://swagger.io/
[Troubleshooting]:{ndr}/Logging%20and%20Monitoring/JMX/Troubleshooting/Overview.md