---
title: What permissions does the JMX Monitoring Agent need on WSO2 servers? | Nodinite
description: "What permissions does the Nodinite JMX Monitoring Agent need on WSO2 servers? Network access to the JVM's JMX remote port. No OS account, SSH, file system, database, or WSO2 console access."
---

# What permissions does the Monitoring Agent need on WSO2 servers?

**Network access to the JMX remote port of each WSO2 JVM; nothing else on the WSO2 server.** <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> monitors WSO2 with the [JMX Monitoring Agent][]. Its Spring Boot JMX Gateway connects to the JMX port, and the agent itself runs on the Agent Server.

## <i class="fal fa-key" aria-hidden="true"></i> On the WSO2 Server

* A JMX remote port on the WSO2 JVM ([Enable JMX Remote Monitoring][]).
* A firewall opening for that port from the Agent Server ([JMX firewall section][JMX Firewall]).
* No operating system account, SSH keys, file system access, database access, Carbon management console login, or Micro Integrator Management API user.

If you protect the JMX port with authentication, the credentials are the ones you define for JMX, not a WSO2 administrator account; see [FAQ - Carbon Credentials][].

## <i class="fal fa-server" aria-hidden="true"></i> On the Agent Server

The JMX Monitoring Agent and the gateway need a service account with `Log on as a service` rights and network access to the WSO2 servers and the [Monitoring Service][]. The full list is in [What Windows User Rights does the JMX Monitoring Agent require?][JMX User Rights]

## <i class="fal fa-user-shield" aria-hidden="true"></i> Security Best Practices

* Allow the JMX port only from the Agent Server; a JMX port open to the network gives control over the JVM.
* Use JMX authentication and TLS where your policy requires it ([Enable JMX Remote Monitoring][]).
* Run the agent with a dedicated domain account.

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

* <i class="fal fa-key" aria-hidden="true"></i> [FAQ - Carbon Credentials][]  
* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [JMX Monitoring Agent prerequisites][JMX Prerequisites]  

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

* <i class="fal fa-list" aria-hidden="true"></i> [Troubleshooting Overview][]  
* <i class="fal fa-book" aria-hidden="true"></i> [WSO2 monitoring overview][Overview]  

[Enable JMX Remote Monitoring]:https://docs.nodinite.com/logging-and-monitoring/jmx/troubleshooting/enable-jmx-remote-monitoring/
[FAQ - Carbon Credentials]:https://docs.nodinite.com/logging-and-monitoring/wso2-enterprise-integrator-monitoring/troubleshooting/faq-do-i-need-carbon-console-admin-credentials-to-moni/
[JMX Firewall]:https://docs.nodinite.com/logging-and-monitoring/jmx/getting-started/prerequisites/#fa-shield-check-firewall
[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/
[JMX User Rights]:https://docs.nodinite.com/logging-and-monitoring/jmx/getting-started/prerequisites/#what-windows-user-rights-does-the-jmx-monitoring-agent-require
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[Overview]:https://docs.nodinite.com/logging-and-monitoring/wso2-enterprise-integrator-monitoring/overview/
[Troubleshooting Overview]:https://docs.nodinite.com/logging-and-monitoring/wso2-enterprise-integrator-monitoring/troubleshooting/overview/