---
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][]).

## <i class="fal fa-network-wired" aria-hidden="true"></i> 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.

## <i class="fal fa-sliders" aria-hidden="true"></i> 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.

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

* <i class="fal fa-gear" aria-hidden="true"></i> [JMX Monitoring Agent configuration][JMX Configuration]  
* <i class="fal fa-display" aria-hidden="true"></i> [Monitor Views][]  

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

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

[Alarm Plugins]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/what-is-an-alarm-plugin/
[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 Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/jmx/overview/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Multi-JVM Monitoring]:https://docs.nodinite.com/logging-and-monitoring/jmx/troubleshooting/multi-jvm-monitoring/
[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/