---
title: How quickly does Nodinite detect when a WSO2 service stops?
description: How quickly does Nodinite detect a WSO2 problem? The JMX Monitoring Agent reacts to JVM CPU and heap thresholds after the polling interval plus the configured Duration. Stopped services need an endpoint check.
---

# How quickly does Nodinite detect when a WSO2 service stops?

**Detection speed depends on what stops, and on two settings you control: the polling interval and the Duration.** :Nodinite: monitors WSO2 with the [JMX Monitoring Agent][], which watches the WSO2 server's JVM, not individual WSO2 services.

## :fa-server: When the WSO2 Server or JVM Has a Problem

The JMX Monitoring Agent reads CPU and heap memory from each WSO2 JVM on every poll. The time from a problem to an alert is roughly:

* the time until the next poll ([Polling Frequency][]), plus
* the **Duration** you set on the CPU or Heap Size thresholds, which is how long the value must stay over the threshold before the state changes ([Configuration][JMX Configuration]), plus
* the delivery time of your [Alarm Plugins][].

A short polling interval and a short Duration give faster alerts, and more alerts for short spikes. When the WSO2 JVM stops or its JMX port can't be reached, the agent can't read values on the next poll, and the [Resource][Resources] shows **Unavailable** (see [Multi-JVM Monitoring][]).

## :fa-plug-circle-xmark: When a Single Proxy Service or API Stops

The JMX Monitoring Agent doesn't see the state of individual proxy services, APIs, or endpoints. To detect those, add:

* the [Web Services Monitoring Agent][], which calls the service over HTTP(S) on its own schedule and alerts when it doesn't answer as expected
* [Non-Events][] on events from [WSO2 Enterprise Integrator - Logging][], which alerts when expected messages stop arriving

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

* :fa-clock: [Polling Frequency][]  
* :fa-bell: [Alarm Plugins][]  

## :fa-link-horizontal: Related Topics

* :fa-list: [Troubleshooting Overview][]  
* :fa-book: [WSO2 monitoring overview][Overview]  
* :fa-triangle-exclamation: [FAQ - Monitoring Agent Stops][]  

[Alarm Plugins]:{ndr}/Administration/5.%20Settings/1.%20Alarm%20Plugins/Features/What%20is%20an%20Alarm%20Plugin.md
[FAQ - Monitoring Agent Stops]:{ndr}/Logging%20and%20Monitoring/WSO2%20Enterprise%20Integrator%20-%20Monitoring/Troubleshooting/FAQ%20-%20What%20happens%20if%20the%20Monitoring%20Agent%20service%20stops.md
[JMX Configuration]:{ndr}/Logging%20and%20Monitoring/JMX/Getting%20started/3.%20Configuration.md
[JMX Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/JMX/Overview.md
[Multi-JVM Monitoring]:{ndr}/Logging%20and%20Monitoring/JMX/Troubleshooting/Multi-JVM%20Monitoring.md
[Non-Events]:{ndr}/Logging%20and%20Monitoring/Non-Events/Overview.md
[Overview]:{ndr}/Logging%20and%20Monitoring/WSO2%20Enterprise%20Integrator%20-%20Monitoring/Overview.md
[Polling Frequency]:{ndr}/Logging%20and%20Monitoring/JMX/Troubleshooting/Polling%20Frequency.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Troubleshooting Overview]:{ndr}/Logging%20and%20Monitoring/WSO2%20Enterprise%20Integrator%20-%20Monitoring/Troubleshooting/Overview.md
[Web Services Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Web%20Services/Overview.md
[WSO2 Enterprise Integrator - Logging]:{ndr}/Logging%20and%20Monitoring/WSO2%20Enterprise%20Integrator%20-%20Logging/Overview.md