---
title: Can I monitor multiple WSO2 environments with one agent? | Nodinite
description: "Can one Nodinite JMX Monitoring Agent watch WSO2 in Dev, Test, UAT, and Production? Yes, when it can reach each JVM's JMX port. Separate environments with Monitor Views and thresholds."
---

# Can I monitor multiple WSO2 environments (Dev/Test/Prod) with one agent?

**Yes, as long as the agent's Spring Boot JMX Gateway can reach the JMX port of every WSO2 server.** One [JMX Monitoring Agent][] can have several JMX Gateways, and each gateway can have many Application Hosts, one per WSO2 JVM ([Multi-JVM Monitoring][]).

## :fa-network-wired: One Agent or One Per Environment

* **One agent** works when the network allows the gateway to reach the JMX ports in every environment. Name the Application Hosts so the environment is obvious, for example `WSO2-EI-PROD-01`.
* **One agent per environment** is common when Production is in a separate network zone, or when you don't want a firewall opening from Test into Production. The [JMX firewall section][JMX Firewall] lists every hop to open.

## :fa-sliders: Environment-Specific Thresholds and Alerts

* Set different CPU and Heap Size thresholds per Application Host, for example tighter values in Production ([Environment-Specific Thresholds][]).
* Build one [Monitor View][Monitor Views] per environment, and connect each view to the right [Alarm Plugins][]: Production to on-call, Test to an email or chat channel.

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

* :fa-gear: [JMX Monitoring Agent configuration][JMX Configuration]  
* :fa-display: [Monitor Views][]  

## :fa-link-horizontal: Related Topics

* :fa-book: [WSO2 monitoring overview][Overview]  
* :fa-list: [Troubleshooting Overview][]  
* :fa-bell: [Alarm Plugins][]  

[Alarm Plugins]:{ndr}/Administration/5.%20Settings/1.%20Alarm%20Plugins/Features/What%20is%20an%20Alarm%20Plugin.md
[Environment-Specific Thresholds]:{ndr}/Logging%20and%20Monitoring/JMX/Troubleshooting/Environment-Specific%20Thresholds.md
[JMX Configuration]:{ndr}/Logging%20and%20Monitoring/JMX/Getting%20started/3.%20Configuration.md
[JMX Firewall]:{ndr}/Logging%20and%20Monitoring/JMX/Getting%20started/1.%20Prerequisites.md#fa-shield-check-firewall
[JMX Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/JMX/Overview.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Multi-JVM Monitoring]:{ndr}/Logging%20and%20Monitoring/JMX/Troubleshooting/Multi-JVM%20Monitoring.md
[Overview]:{ndr}/Logging%20and%20Monitoring/WSO2%20Enterprise%20Integrator%20-%20Monitoring/Overview.md
[Troubleshooting Overview]:{ndr}/Logging%20and%20Monitoring/WSO2%20Enterprise%20Integrator%20-%20Monitoring/Troubleshooting/Overview.md