---
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."
---

# :fa-sliders: 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 :Nodinite: 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 :Nodinite: 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.*  

## :fa-network-wired: Understanding Where a State Comes From {#understanding}

<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.*

### :fa-puzzle-piece: 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 |

## :fa-traffic-light: What Each State Means {#states}

| 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.

## :fa-kit-medical: Auto Healing {#auto-healing}

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

## :fa-list-check: Tuning Rules {#rules}

* ✅ 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.  

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

* :fa-bolt: [Let Teams Fix It Themselves][Delegate Remote Actions]  
* :fa-compass: [Plan Your Monitoring with Nodinite][Monitoring Strategy]  

## :fa-link-horizontal: Related Topics

* :fa-arrows-cross: [Expected State][]  
* :fa-kit-medical: [Auto Healing][]  
* :fa-robot: [How do I configure a Monitor Agent?][How do I configure a Monitor Agent]  
* :fa-question: [FAQ and Troubleshooting the Monitoring Agents][Monitor Agents Troubleshooting]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Monitor/Resources/Resource_ExpectedState.gif
[2]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Monitor/AutoHealing_Configure.gif

[Auto Healing]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/Auto%20Healing.md
[Delegate Remote Actions]:{ndr}/Getting%20Started/3.%20Monitor/Monitoring%20Strategy/Let%20Teams%20Fix%20It%20Themselves.md
[Expected State]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/Expected%20State.md
[How do I configure a Monitor Agent]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/How%20do%20I%20configure%20a%20Monitor%20Agent.md
[JMX Environment Thresholds]:{ndr}/Logging%20and%20Monitoring/JMX/Troubleshooting/Environment-Specific%20Thresholds.md
[Log Audit Search]:{ndr}/Administration/6.%20Tools/2.%20Log%20Audit%20Search.md
[Monitor Agents Troubleshooting]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Troubleshooting/Overview.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[Monitoring Strategy]:{ndr}/Getting%20Started/3.%20Monitor/Monitoring%20Strategy/Overview.md
[Remote Actions]:{ndr}/Getting%20Started/3.%20Monitor/Remote%20Actions.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[User Notifications - MM]:{ndr}/Administration/6.%20Tools/4.%20User%20Notifications/Features/What%20is%20a%20User%20Notification.md#maintenance-mode