---
title: Managing Nodinite Monitoring Service – Configuration, Maintenance & Troubleshooting
description: "Manage the Nodinite v7 Monitoring Service: the System Parameters it reads, stopping it for Log Database updates, Maintenance Mode, the resilient Alarm Queue, data retention, diagnostics files, and Log Audits."
---

# Managing the Monitoring Service

## Understanding Monitoring Service Management

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Monitoring Service][] is a critical service component in the v7 [Core Services][] deployment that evaluates the health of [Resources][], synchronizes with [Monitoring Agents][], and delivers alerts through [Alarm Plugins][]. As a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> administrator, you manage its configuration, maintenance windows, and operational parameters to ensure reliable monitoring and compliance with your organization's policies.

You manage the Monitoring Service in the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Web Client][]. Installation settings, such as its port and service identity, are set in the [Nodinite Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> ([Servers step → Core platform services][Portal Core platform services]) and applied when you [update][Update] the environment.

### Key Management Capabilities

* **Configure behavior** – Control [Monitor Event][Monitor Events] and agent backup retention, and alarm retries, through [System Parameters][]
* **Schedule maintenance** – Temporarily mute alerts during planned downtime using [User Notifications][]
* **Ensure alert delivery** – Leverage the [Alarm Queue][] for resilient alerts that survive temporary service outages
* **Manage monitoring service** operations – Stop the service when you update [Log Databases][] to prevent conflicts
* **Troubleshoot issues** – Analyze service diagnostics files and [Log Audits][] to resolve problems

![System Parameters filtered on the Monitoring Service parameters, animated walkthrough (7.12)][1]  
*Animated walkthrough: **Administration** > **Settings** > **System Parameters**, filtered on [DaysToKeepMonitorEvents][], [AlarmQueueSettings][], and [StylesheetScriptsEnabled][]; a parameter is opened to show its value and closed without saving.*  

## System Parameters for Monitoring Service

The Monitoring Service behavior is controlled by [System Parameters][] stored in the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Configuration Database][]. The Monitoring Service reads these:

* [DaysToKeepMonitorEvents][] – Days to keep historical [Monitor Events][] (Resource state changes). Default `32` on a new installation; an update keeps the existing value. Purged every hour.  
* [DaysToKeepMonitorAgentBackups][] – Days to keep Monitoring Agent [configuration backups][Configuration Backups]. Default `90`. Once a day the Monitoring Service removes older unpinned backups, keeping every pinned backup and the 10 newest unpinned per agent.  
* [AlarmQueueSettings][] – Retry behavior of the [Alarm Queue][]. Default `{"MaxRetries":3,"TimeoutSeconds":120}`.  
* [SqlServer][] – SQL Server, listener, and [Linked Server][Linked Servers] names used to reach the [Log Databases][]. Change only with Support.  
* [StylesheetScriptsEnabled][] – Whether embedded scripts may run in the [Stylesheets][] that format alerts. Default `false` on a new installation; an upgrade keeps its value.  

The [Monitoring Service Overview][Monitoring Service Parameters] keeps this list with one line per parameter. To change a value, follow [Manage System Parameters][] (requires the Administrator [Role][]). Most values take effect within about 15 seconds. The exception is [DaysToKeepMonitorEvents][]: the hourly cleanup reads it and caches it for 15 minutes, so a change applies from the next cleanup run, within the hour. The Monitoring Service never needs a restart for a System Parameter change.

To find the Monitoring Service parameters, open **Administration** > **Settings** > **System Parameters** and type a key, such as `DaysToKeepMonitorEvents`, in the filter, as the walkthrough at the top of this page shows.

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p><a href="https://docs.nodinite.com/administration/settings/system-parameters/missingeventsdays/">MissingEventsDays</a> and <a href="https://docs.nodinite.com/administration/settings/system-parameters/cleanuptimerinterval/">CleanUpTimerInterval</a> are read by the <a href="https://docs.nodinite.com/core-services/logging-service/overview/">Logging Service</a>, not the Monitoring Service. See the Logging Service <a href="https://docs.nodinite.com/core-services/logging-service/overview/#data-retention">Data Retention</a> section.</p></div>
</aside>

## Service Management Operations

### Stopping the Service for Log Database Updates

When you update the schema of the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log Databases][], stop the Monitoring Service and the [Logging Service][] first to prevent database write conflicts during the update.

The [Update Log Database][] guide in the [Web Client][] walks you through this:

1. **Stop Services** – Use the [Stop Services][Update Log Database Stop Services] button to stop the [Monitoring Service][] and [Logging Service][]
2. **Update Database Schema** – Run the generated DACPAC scripts
3. **Restart Services** – Start both services again to resume normal operation

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p><strong>Always stop the Monitoring Service before updating Log Databases.</strong> Failure to do so can cause update errors or database corruption. <a href="https://docs.nodinite.com/administration/tools/user-notifications/features/what-is-a-user-notification/#maintenance-mode">Maintenance Mode</a> in User Notifications mutes alerts but doesn't pause the services.</p></div>
</aside>

### Maintenance Mode During Planned Downtime

During planned maintenance windows, you can temporarily suppress monitoring alerts and disable [Auto Healing][] actions using **Maintenance Mode**, which you configure through [User Notifications][]:

* Set **Type/Severity** to **Maintenance** when creating a User Notification
* Specify the **Start time** and **End time** for the maintenance window
* Select **All [Monitor Views][]** or a **subset** of Monitor Views to include
* Optionally configure **Recurrence** for scheduled maintenance (e.g., weekly patching)

#### What Happens During Maintenance Mode

* <i class="fal fa-bell-slash" aria-hidden="true"></i> **Mute alerts** – [Alarm Plugins][] will not send notifications for selected Monitor Views
* <i class="fal fa-heart-pulse-off" aria-hidden="true"></i> **Disable Auto Healing** – Automated recovery actions on [Resources][] are suspended
* <i class="fal fa-user-shield" aria-hidden="true"></i> **Display notification** – Users see the maintenance window on the [Dashboard][] and in the Notifications area

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>Use recurring maintenance windows for routine patching schedules (e.g., "Second Tuesday of every month, 2:00 AM - 4:00 AM").</p></div>
</aside>

Read more in [What is a User Notification? - Maintenance Mode][Maintenance Mode] and [Add or Manage User Notification][].

## Alarm Queue and Resilient Alert Delivery

<sup><span class="nodinite-new-badge">New 7.x</span></sup>  
<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> version 7 introduces the [Alarm Queue][] for resilient alert delivery. If an [Alarm Plugin][] fails to send an alert (due to network issues, service outages, or misconfiguration), the alert is queued for automatic retry. This ensures resilient alerts reach recipients even when temporary service disruptions occur.

### How the Alarm Queue Works

1. **Alert fails to send** – Network timeout, service unavailable, or authentication error occurs
2. **Entry added to queue** – Alert payload and metadata are saved to the Alarm Queue
3. **Automatic retry** – The Monitoring Service resends queued alerts, up to `MaxRetries` times (`0` = retry forever), and gives each send at most `TimeoutSeconds`, as set in [AlarmQueueSettings][]
4. **Success** – Entry is removed automatically once the alert is successfully delivered
5. **Failure** – After the last retry, the entry stays in the queue and is left alone; administrators must investigate

### Benefits

* <i class="fal fa-shield-halved" aria-hidden="true"></i> **Never lose critical alerts** – Temporary outages won't result in missed notifications
* <i class="fal fa-rotate" aria-hidden="true"></i> **Automatic recovery** – Once the underlying issue is resolved, queued alerts are sent automatically
* <i class="fal fa-eye" aria-hidden="true"></i> **Full visibility** – Queued entries remain visible for audit and troubleshooting

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>If there are entries in the Alarm Queue, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> displays a prominent alert for all users on the <a href="https://docs.nodinite.com/getting-started/dashboard/overview/">Dashboard</a>, signaling the need for administrative attention.</p></div>
</aside>

Read more in the [Alarm Queue Overview][Alarm Queue] (queue management and purging) and [What is an Alarm Queue Entry?][] (queue entries, retry logic, and manual removal).

## Data Retention and Automated Cleanup

The Monitoring Service purges old [Monitor Events][] every hour ([DaysToKeepMonitorEvents][]). Once a day, and right after it starts, it removes Monitoring Agent configuration backups older than [DaysToKeepMonitorAgentBackups][] days (pinned backups and the 10 newest per agent are kept), and permanently deletes Resources that were deleted and have not changed for 90 days. Backups of unsupported or unknown agent versions are removed every 4 hours. The [Data Retention][Monitoring Service Data Retention] section of the Monitoring Service Overview describes both. Message data, incomplete BizTalk events ([MissingEventsDays][]), and the [CleanUpTimerInterval][] cleanup run belong to the [Logging Service][Logging Service Data Retention].

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>If you need longer retention for compliance (SOX, HIPAA, GDPR, etc.), increase the <code>DaysToKeepMonitorEvents</code> value before you need the history; purged events can't be restored. For large-scale environments with thousands of <a href="https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/">Resources</a>, consider reducing retention to optimize database size.</p></div>
</aside>

## Troubleshooting and Diagnostics

When experiencing issues with the Monitoring Service, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> provides multiple diagnostic tools to identify and resolve problems.

### Viewing Service Diagnostics

The Monitoring Service generates diagnostic files containing detailed operational information, error logs, and performance metrics. They are written below the Monitoring Service installation folder; the install path is set per server in the Portal ([Servers step → Selected server][Portal Selected server]).

**Diagnostics file location (default install path):**

```text
C:\Program Files\Nodinite\{EnvironmentName}\MonitoringService\DiagnosticsFiles\
```

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>Replace <code>{EnvironmentName}</code> with your environment name (e.g., <code>DEMO</code>, <code>Production</code>, <code>Test</code>). For example: <code>C:\Program Files\Nodinite\DEMO\MonitoringService\DiagnosticsFiles\diagnostic.log.json</code>.</p></div>
</aside>

#### Diagnostic File Format

* **Primary file:** `diagnostic.log.json` – Current diagnostic log in JSON format
* **Rollover files:** `diagnostic.log_001.json`, `diagnostic.log_002.json`, etc. – Previous diagnostic logs after rotation

#### Diagnostic File Contents

* Service startup and shutdown events
* Monitoring Agent synchronization attempts
* Alarm Plugin execution results and error messages
* Configuration changes and parameter values
* Error stack traces and exception details
* Performance metrics and timing information

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p>Diagnostics files may reveal internal errors not visible in the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/getting-started/overview/">Web Client</a>. Always review diagnostics when troubleshooting service behavior. If the files are missing, check that the service identity has write rights to the folder.</p></div>
</aside>

### Using Log Audits for Investigation

All administrative actions related to the Monitoring Service are logged in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>'s [Log Audits][] feature. Use Log Audits to:

* **Track configuration changes** – See who modified [Monitor Views][], [Alarm Plugins][], or [System Parameters][]
* **Investigate alert failures** – Review Alarm Plugin execution history and error messages
* **Audit compliance** – Generate reports for SOX, HIPAA, or ISO 27001 compliance requirements
* **Identify user actions** – Determine who executed [Remote Actions][] or disabled [Auto Healing][]

**To access Log Audits:**

1. Log on to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Web Client][]
2. Navigate to **Administration** | **Tools** | **Log Audit Search**
3. Filter by date range, user, or action type
4. Review audit records for relevant Monitoring Service activities

See [Log Audit Search][] for querying and exporting audit logs.

### Common Troubleshooting Scenarios

| Problem | Diagnostic Source | Resolution |
| --- | --- | --- |
| Alerts not being sent | [Alarm Queue][] + Diagnostics file | Check for queued entries, review plugin configuration and [AlarmQueueSettings][], verify network connectivity |
| Alert Stylesheet fails | Diagnostics file | A [Stylesheet][Stylesheets] with embedded scripts runs only when [StylesheetScriptsEnabled][] is `true` |
| Monitoring Agent offline | Diagnostics file + [Log Audits][] | Verify the agent is running, check firewall rules ([Prerequisites][]), review synchronization logs |
| Missing resource state changes | [DaysToKeepMonitorEvents][] value + [Log Databases][] size | Adjust retention period, verify cleanup hasn't removed needed history |
| Auto Healing not executing | [User Notifications][] (Maintenance Mode) | Confirm no active maintenance window is suppressing Auto Healing |
| Service won't start | Diagnostics file + the Windows event log | Check database connectivity, verify the service identity set in the Portal ([Core platform services][Portal Core platform services]) and its SQL rights ([Prerequisites][]) |

More answers are in the Monitoring Service [Troubleshooting][] FAQ.

## Best Practices for Monitoring Service Management

* ✅ **Review System Parameters quarterly** – Ensure retention periods align with current compliance requirements  
* ✅ **Monitor the Alarm Queue** – Investigate any persistent queue entries promptly to prevent alert delivery failures  
* ✅ **Schedule regular maintenance windows** – Use recurring User Notifications for patching and planned downtime  
* ✅ **Audit configuration changes** – Regularly review [Log Audits][] to detect unauthorized modifications  
* ✅ **Test Alarm Plugins after changes** – Verify alert delivery after modifying plugin configurations or credentials  
* ✅ **Stop services before database updates** – Always use the [Update Log Database][] workflow to prevent database conflicts  
* ⚠️ **Avoid manual service restarts during business hours** – Schedule restarts during low-activity periods to minimize monitoring gaps  

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

<i class="fal fa-sliders-h" aria-hidden="true"></i> [System Parameters Overview][System Parameters]  
<i class="fal fa-pen-square" aria-hidden="true"></i> [Manage System Parameters][]  
<i class="fal fa-wrench" aria-hidden="true"></i> [Add or Manage User Notification][]  

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

* <i class="fal fa-watch-fitness" aria-hidden="true"></i> [Monitoring Service Overview][Monitoring Service]  
* <i class="fal fa-chart-line" aria-hidden="true"></i> [What is a Monitoring Event?][Monitor Events]  
* <i class="fal fa-display" aria-hidden="true"></i> [Monitor Views][]  
* <i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Monitoring Agents][]  
* <i class="fal fa-lightbulb-on" aria-hidden="true"></i> [Resources][]  

* <i class="fal fa-sliders-h" aria-hidden="true"></i> [System Parameters Overview][System Parameters]  
* <i class="fal fa-bell" aria-hidden="true"></i> [Alarm Plugins Overview][]  
* <i class="fal fa-list-check" aria-hidden="true"></i> [Alarm Queue Overview][Alarm Queue]  

* <i class="fal fa-database" aria-hidden="true"></i> [Update Log Database][]  
* <i class="fal fa-wrench" aria-hidden="true"></i> [Maintenance Mode Documentation][Maintenance Mode]  
* <i class="fal fa-clipboard-list" aria-hidden="true"></i> [Log Audit Search][]  

* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Log Databases][]  
* <i class="fal fa-calendar-alt" aria-hidden="true"></i> [DaysToKeepMonitorEvents][]  
* <i class="fal fa-compress" aria-hidden="true"></i> [DaysToKeepMonitorAgentBackups][]  
* <i class="fal fa-bell" aria-hidden="true"></i> [AlarmQueueSettings][]  
* <i class="fal fa-server" aria-hidden="true"></i> [SqlServer][]  
* <i class="fal fa-code" aria-hidden="true"></i> [StylesheetScriptsEnabled][]  
* <i class="fal fa-clock" aria-hidden="true"></i> [MissingEventsDays][] (Logging Service)  

* <i class="fal fa-wrench" aria-hidden="true"></i> [Monitoring Service Troubleshooting][Troubleshooting]  
* <i class="fal fa-globe" aria-hidden="true"></i> [Web Client][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/CoreServices/MonitoringService/MonitoringService_Parameters.gif

[Add or Manage User Notification]:https://docs.nodinite.com/administration/tools/user-notifications/features/add-or-manage-user-notification/
[Alarm Plugin]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/what-is-an-alarm-plugin/
[Alarm Plugins]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/what-is-an-alarm-plugin/
[Alarm Plugins Overview]:https://docs.nodinite.com/administration/settings/alarm-plugins/overview/
[Alarm Queue]:https://docs.nodinite.com/administration/settings/alarm-queue/overview/
[AlarmQueueSettings]:https://docs.nodinite.com/administration/settings/system-parameters/alarmqueuesettings/
[Auto Healing]:https://docs.nodinite.com/administration/monitor-management/resources/features/auto-healing/
[CleanUpTimerInterval]:https://docs.nodinite.com/administration/settings/system-parameters/cleanuptimerinterval/
[Configuration Backups]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/#fa-database-configuration-backups-tab
[Configuration Database]:https://docs.nodinite.com/core-services/configuration-database/overview/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Dashboard]:https://docs.nodinite.com/getting-started/dashboard/overview/
[DaysToKeepMonitorAgentBackups]:https://docs.nodinite.com/administration/settings/system-parameters/daystokeepmonitoragentbackups/
[DaysToKeepMonitorEvents]:https://docs.nodinite.com/administration/settings/system-parameters/daystokeepmonitorevents/
[Linked Servers]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/linked-servers/
[Log Audit Search]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Log Audits]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Log Databases]:https://docs.nodinite.com/administration/settings/log-databases/overview/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Logging Service Data Retention]:https://docs.nodinite.com/core-services/logging-service/overview/#data-retention
[Maintenance Mode]:https://docs.nodinite.com/administration/tools/user-notifications/features/what-is-a-user-notification/#maintenance-mode
[Manage System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/manage-system-parameters/
[MissingEventsDays]:https://docs.nodinite.com/administration/settings/system-parameters/missingeventsdays/
[Monitor Events]:https://docs.nodinite.com/core-services/monitoring-service/features/what-is-a-monitoring-event/
[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 Service Data Retention]:https://docs.nodinite.com/core-services/monitoring-service/overview/#data-retention
[Monitoring Service Parameters]:https://docs.nodinite.com/core-services/monitoring-service/overview/#fa-sliders-h-key-system-parameters-for-monitoring-service
[NodinitePortal]:https://portal.nodinite.com/
[Portal Core platform services]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Portal Selected server]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#selected-server
[Prerequisites]:https://docs.nodinite.com/core-services/monitoring-service/getting-started/prerequisites/
[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/
[Role]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[SqlServer]:https://docs.nodinite.com/administration/settings/system-parameters/sqlserver/
[Stylesheets]:https://docs.nodinite.com/administration/customize/stylesheets/features/what-is-a-stylesheet/
[StylesheetScriptsEnabled]:https://docs.nodinite.com/administration/settings/system-parameters/stylesheetscriptsenabled/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Troubleshooting]:https://docs.nodinite.com/core-services/monitoring-service/troubleshooting/overview/
[Update]:https://docs.nodinite.com/core-services/monitoring-service/updating/
[Update Log Database]:https://docs.nodinite.com/administration/settings/log-databases/update-log-database/
[Update Log Database Stop Services]:https://docs.nodinite.com/administration/settings/log-databases/update-log-database/#fa-forward-step-step-1-stop-loggingmonitoring-services
[User Notification Maintenance Mode]:https://docs.nodinite.com/administration/tools/user-notifications/features/what-is-a-user-notification/#maintenance-mode
[User Notifications]:https://docs.nodinite.com/administration/tools/user-notifications/features/what-is-a-user-notification/
[Web Client]:https://docs.nodinite.com/getting-started/overview/
[What is an Alarm Queue Entry?]:https://docs.nodinite.com/administration/settings/alarm-queue/features/what-is-an-alarm-queue-entry/