---
title: "Tune Nodinite Monitoring: Thresholds, Expected State, and Auto Healing"
description: "How to tune Nodinite monitoring so states mean something: global thresholds and polling in each Monitoring Agent's Remote Configuration, per-Resource threshold overrides, Expected State for Resources that are meant to be stopped, and Auto Healing for problems a Remote Action always fixes."
---

# <i class="fal fa-sliders" aria-hidden="true"></i> Tune Thresholds, Expected State, and Auto Healing

A red light should mean "someone must act". When it means "that port is always stopped" or "that queue is always a bit full", people stop looking. Tuning is how you keep every state meaningful, and <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> gives you three tools for it: thresholds, [Expected State][], and [Auto Healing][].

* ✅ Set sensible thresholds once per agent, and override them only where needed  
* ✅ Keep Resources that are stopped on purpose from showing red  
* ✅ Let <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> fix the problems it always fixes the same way  

![Report the known Warning of INT001: Bad Send Port as OK with Expected state, and see the orange dot that keeps the real state visible, animated walkthrough (7.12)][1]  
*Animated walkthrough: a known Warning reported as OK with [Expected State][]; the dot keeps the real state visible.*  

<h2 id="understanding"><i class="fal fa-network-wired" aria-hidden="true"></i> Understanding Where a State Comes From</h2>

<div class="mermaid">
flowchart LR
    Global["fa:fa-sliders Agent Remote Configuration<br/>global thresholds, polling"] --> Override["fa:fa-pen Per-Resource<br/>Edit thresholds"]
    Override --> Real["fa:fa-lightbulb Real state"]
    Real --> Expected["fa:fa-arrows-cross Expected State<br/>per Resource"]
    Expected --> Shown["fa:fa-display State in<br/>Monitor Views"]
    Shown -.->|"still in Error"| Heal["fa:fa-kit-medical Auto Healing<br/>Remote Action"]
    style Global fill:#3F827B
    style Override fill:#3F827B
    style Real fill:#2678BD
    style Expected fill:#E47528
    style Shown fill:#2678BD
    style Heal fill:#93d16d
</div>

*The [Monitoring Agent][Monitoring Agents] evaluates each [Resource][Resources] against its global thresholds, or the Resource's own (teal). [Expected State][] (orange) can report the real state (blue) as another one, and [Auto Healing][] (green) runs a [Remote Action][Remote Actions] when a Resource stays in a state.*

### <i class="fal fa-puzzle-piece" aria-hidden="true"></i> The Tools

| Tool | Where | Use it when |
| --- | --- | --- |
| Global thresholds and polling | The agent's [Remote Configuration][How do I configure a Monitor Agent] | Always: set the normal limits once for every Resource of the agent; the global polling interval defaults to 60 seconds |
| Per-Resource thresholds | A Remote Action such as **Edit threshold(s)**, often with **Use global thresholds** to go back | One queue, function, or database needs other limits than the rest |
| [Expected State][] | The Resource's **Configuration** tab | A Resource is stopped, disabled, or in Warning on purpose, and should report OK, or Nothing to Monitor |
| [Auto Healing][] | The Resource: **When in state**, **Action**, **Attempts**, **Interval** | The same Remote Action always fixes it, such as enabling a receive location again |

<h2 id="states"><i class="fal fa-traffic-light" aria-hidden="true"></i> What Each State Means</h2>

| State | Means | Typical cause |
| --- | --- | --- |
| ✅ OK | Within thresholds | |
| ⚠️ Warning | Near a limit | A queue filling up, a certificate expiring soon |
| ❌ Error | Over a limit, or failed | A stopped port, suspended instances, a full disk |
| 🚫 Unavailable | The agent can't reach or evaluate the Resource | Wrong configuration, missing rights, the target is down |
| Connection Error | The [Monitoring Service][] can't reach the agent | Agent offline, network, firewall |

The highest state wins, in a [Monitor View][Monitor Views] too. The [Monitoring Service][] polls each agent at its own polling interval and evaluates alerts every 30 seconds.

<h2 id="auto-healing"><i class="fal fa-kit-medical" aria-hidden="true"></i> Auto Healing</h2>

![Auto Healing walkthrough: an entry on the Receive Location SFTP Receive From File (When in state Error, Action Enable, 3 attempts, 60 seconds), the Receive Location disabled and healed back to OK, and the Auto Healing Worker's entry in Log Audit Search (7.13)][2]  
*A receive location heals itself: in Error, enable it, up to three attempts a minute apart. Every attempt is in [Log Audit Search][].*  

Use Auto Healing for known, safe fixes only, and keep the alert: when healing fails after its attempts, people must know. Auto Healing pauses during [Maintenance mode][User Notifications - MM].

<h2 id="rules"><i class="fal fa-list-check" aria-hidden="true"></i> Tuning Rules</h2>

* ✅ Start with the agent's defaults, run a week, then tune what was noisy.  
* ✅ Write why in the **Notes** of an Expected State, so the next person knows it is on purpose.  
* ✅ Use different thresholds per environment, such as test and production; see [Environment-Specific Thresholds][JMX Environment Thresholds].  
* ❌ Don't raise thresholds until nothing is red: an Error that is always ignored should be fixed, or set as Expected State with a reason.  

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

* <i class="fal fa-bolt" aria-hidden="true"></i> [Let Teams Fix It Themselves][Delegate Remote Actions]  
* <i class="fal fa-compass" aria-hidden="true"></i> [Plan Your Monitoring with Nodinite][Monitoring Strategy]  

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

* <i class="fal fa-arrows-cross" aria-hidden="true"></i> [Expected State][]  
* <i class="fal fa-kit-medical" aria-hidden="true"></i> [Auto Healing][]  
* <i class="fal fa-robot" aria-hidden="true"></i> [How do I configure a Monitor Agent?][How do I configure a Monitor Agent]  
* <i class="fal fa-question" aria-hidden="true"></i> [FAQ and Troubleshooting the Monitoring Agents][Monitor Agents Troubleshooting]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Monitor/Resources/Resource_ExpectedState.gif
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Monitor/AutoHealing_Configure.gif

[Auto Healing]:https://docs.nodinite.com/administration/monitor-management/resources/features/auto-healing/
[Delegate Remote Actions]:https://docs.nodinite.com/getting-started/monitor/monitoring-strategy/let-teams-fix-it-themselves/
[Expected State]:https://docs.nodinite.com/administration/monitor-management/resources/features/expected-state/
[How do I configure a Monitor Agent]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/how-do-i-configure-a-monitor-agent/
[JMX Environment Thresholds]:https://docs.nodinite.com/logging-and-monitoring/jmx/troubleshooting/environment-specific-thresholds/
[Log Audit Search]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Monitor Agents Troubleshooting]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/troubleshooting/overview/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[Monitoring Strategy]:https://docs.nodinite.com/getting-started/monitor/monitoring-strategy/overview/
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[User Notifications - MM]:https://docs.nodinite.com/administration/tools/user-notifications/features/what-is-a-user-notification/#maintenance-mode