---
title: Update Database Monitoring Agent – Step-by-Step Guide for Nodinite
description: Update the Nodinite Database Monitoring Agent using Portal-based CLI installation (v7) or MSI-based updates (v6 legacy). Monthly release cycle with security patches and bug fixes for SQL Server, PostgreSQL, and Azure SQL.
---

:ReleaseNotes(https://portal.nodinite.com/marketplace/29):

# Updating the Database Monitoring Agent

The :Nodinite: [Database Monitoring Agent][] **version 7.2.0 and later uses .NET 10 runtime** and follows a **monthly update release cycle** with security patches, performance improvements, and bug fixes. Keep your agent up to date to maintain support and ensure compatibility with :Nodinite: [Core Services][].

>[!IMPORTANT]
>**.NET 10 Runtime Requirement:** Version 7.2.0+ requires .NET 10 Hosting Bundle. **Monthly updates are recommended** to maintain security patches. See [Prerequisites][] for installation requirements.

On this page, you will learn how to:

* ✅ Update agents using the modern Portal-based CLI installation (v7.2.0+ - recommended)  
* ✅ Apply MSI-based updates to remote servers when Portal approach is not available (legacy)  
* ✅ Verify compatibility and versioning for seamless upgrades  
* ✅ Troubleshoot and resolve common update issues  
* ✅ Understand breaking changes and new features (gMSA, [AI Diagnostics][])  

## :fa-file-alt: Release notes

For information about the releases, please visit the [Release Notes for the Database Monitoring Agent][SQL Release Notes].

>[!IMPORTANT]
>Always read the release notes before updating to understand new features, bug fixes, and potential breaking changes.

## :fa-cloud: Nodinite v7.2.0 and Later (Recommended)

:new7.2.0:

### Preferred Method: Portal-Based CLI Update {#preferred-method-portal-based-scripted-update}

In :Nodinite: v7.2.0 and later, updating agents is automated through the [Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup>-based CLI installation. This modern approach:

✅ **Automates agent updates** with the Installer CLI  
✅ **Updates multiple agents simultaneously** with consistent settings  
✅ **Eliminates manual MSI installations** and reduces human error  
✅ **Centrally manages all environments** from the Portal  
✅ **Instant response on synchronization** - faster monitoring updates  
✅ **Includes AI Diagnostics** :new7.2.0: for intelligent troubleshooting  
✅ **Group Managed Service Account (gMSA)** support for automated password management  

Follow the [Install Nodinite v7][] or [Update Nodinite v7][Updating Nodinite v7] guide to update agents using the Portal-based approach. The Portal generates a package, and the Installer CLI uses it to update agents automatically.

### :fa-triangle-exclamation: Important Version 7.2.0 Notes

<div class="alert alert-warning">
<i class="fal fa-fw fa-exclamation-triangle"></i> <b>Breaking Changes:</b> Version 7.2.0 includes the following important changes:
</div>

* **.NET 10 Runtime** - Requires .NET 10 Hosting Bundle (migration from .NET Framework 4.8)
* **Connection String Updates** - Microsoft.Data.SqlClient requires `Encrypt=true;TrustServerCertificate=true;` properties. The agent attempts to update connection strings automatically during first startup, but manual review is recommended. See [SQL Server Connection Strings][SQL Connection Strings] for details.
* **Monthly Updates Required** - .NET 10 runtime requires monthly security patches. Plan for regular agent updates.
* **SQL Script Injection Prevention** - Enhanced code security (#18472)

## :fa-skull-crossbones: Legacy Update Method (Remote Servers Only - Not Recommended)

>[!WARNING]
>**Deprecated:** The MSI-based update method is **legacy** and intended **only for remote server updates** where the Portal-based approach cannot be used. This method is **not recommended** for new deployments and will be retired in future versions.

>[!IMPORTANT]
>**Version 7.2.0+ Users:** If you are updating Database Monitoring Agent to **v7.2.0 or later**, use the [Portal-based update method](#fa-cloud-nodinite-v7.2.0-and-later-recommended) instead. The MSI approach below is for **legacy v6 installations** or **remote servers** only.

## Running Version

The installed version is displayed in the **'Version'** text box.  
![Readme.txt][10]  
*Example of the Version text box showing the installed agent version.*  

You can also get this information from the file details property on the local installation:  
![File version][12]  
*Example of file version details in Windows Explorer properties.*  

### Prerequisites for Updating

You must have successfully installed the :Nodinite: [Database Monitoring Agent][] prior to an update. The Service account credentials to use must have [Logon as Service Right][How to set Logon as a Service right]. See [Prerequisites for Database Monitoring Agent][] for more information. You must be a local administrator to have the right to install (and thereby update) Windows Services.

## :fa-compress-alt: Compatibility and versioning issues

* 5.0 -> 5.1
  * New installation folder is being used, move 'Settings.json' from old folder to new folder and restart
  * New Service URL due to changed name of the agent: http://SERVERNAME:8000/Nodinite/Monitor/Agent/Database/
  * All Specific categories have been removed, review your [Monitor Views][] after the update
* 4.X -> 5.X review [Updating from V4 to V5][V4ToV5]
* 4.1.0.x -> 4.1.0.y
  * Additional features have been added, make sure to review settings and affected [Monitor Views][] after an update
  * LogText for [Resources][] written by the [Monitoring Agents][] have been modified to never change unless the state does.
* :fa-exclamation: 4.0 -> 4.1
  * Update from older XML configuration based versions requires a manual re-configuration (open old configuration file using notepad and then copy paste applicable settings).

## Update guide

Follow the steps next to update the [Database Monitoring Agent][].

### :fa-forward-step: Step 1: Start the installer

Double-click on the **MSI file** to start the update of the :Nodinite: [Database Monitoring Agent][].  
![msi][1]  
*Example of the MSI installer file for the Database Monitoring Agent.*

### :fa-forward-step: Step 2: Welcome Screen

On successful execution of the MSI file, a **Welcome screen** is presented.  
![Welcome][3]  
*Example of the Welcome screen in the Database Monitoring Agent installer.*

Click the **'Next'** button to continue with the update process or the **'Cancel'** button to quit the installer.

### :fa-forward-step: Step 3: Custom Setup

Select features and the location to update.  
![Custom Setup][4]  
*Example of the Custom Setup screen showing feature selection and installation location.*  

>[!NOTE]
>Default settings are recommended

>[!NOTE]  
>If you change the location your old configuration will be lost

Click the **'Next'** button to continue with the update process or the **'Cancel'** button to quit the installer.

### :fa-forward-step: Step 4: Service Account Information

:fa-user-secret: Enter the credentials for the **Account** to run :Nodinite: [Database Monitoring Agent][].

>[!NOTE]
>Depending on the connection string used in remote configuration different accounts may be used when monitoring different databases

#### Service Account Fields

**Domain**: The name of the Domain the Server belongs to. If a local account is being used, use the name of the server or a . (dot) as Domain  
**User**: The name of the account  
**Password**: The password for the account

![Domain service account][5]  
*Example of the Service Account Information screen with domain, user, and password fields.*

>[!NOTE]  
>The account must have 'Log on as Service Right'

Click the **'Next'** button to continue with the update process or the **'Cancel'** button to quit the installer.

#### :fa-exclamation-circle: Insufficient Privileges

Error message when account information does not meet [Prerequisites][Prerequisites for Database Monitoring Agent].  
![Insufficient Privileges][6]  
*Example of the Insufficient Privileges error message during installation.*

If you get this message, the most common reason is that the account is **not allowed to run as a service** or is **not a local Administrator** on the server. Follow the guide [How to set Logon as a Service right][] and click retry. If the problem remains, click cancel and restart. Make sure to enter valid credentials!

>[!TIP]  
>Check the local event log if there are errors (both System and Application)

### :fa-forward-step: Step 5: Completed setup

The last step of the update process gives either a **success** or a **premature exit**.  
![Completed][8]  
*Example of the Completed Setup screen showing successful update.*  

Click the **'Finish'** button to Exit and quit the installer (update process).

### Post-Update

When the setup has finished, the default text editor opens a file named 'README.txt'. This file contains the agent's connection details needed to manage it as a [Monitoring Agents][].

* :fa-monitor-waveform: [Add or manage a Monitoring Agent Configuration][]  

## Troubleshooting

A failed update will render a premature exit.  
![Premature exit][7]  
*Example of the Premature Exit screen indicating a failed update.*

### :fa-user-md: Support

Contact our [Support][] for additional guidance if you fail to resolve the update problem.

>[!NOTE]
>Additional information to aid the troubleshooting may exist in the Windows Event Logs.

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

:fa-edit: [Configuration][] of the agent  
:fa-monitor-waveform: [Add or manage a Monitoring Agent Configuration][]  

## :fa-link-horizontal: Related Topics

:fa-clipboard-check: [Prerequisites][Prerequisites for Database Monitoring Agent]  
:fa-monitor-waveform: [Monitoring Agents][]  
:fa-rocket: [Install][Install Database Monitoring Agent]  
:fa-trash-can: [Uninstall][]  

[1]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/msi.png
[3]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/Welcome.png
[4]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/CustomSetup.png
[5]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/DomainUser.png
[6]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/InsufficientPriviliges.png
[7]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/PrematureExit.png
[8]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/Completed.png
[10]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/SourceInformation.png
[12]:{ndm}/Documentation%20Pictures/MonitorAgent/SQL/FileVersion.png

[Add or manage a Monitoring Agent Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/Add%20or%20manage%20Monitor%20Agent.md
[AI Diagnostics]:{ndr}/AI/AI%20Diagnostics.md
[Configuration]:{ndr}/Logging%20and%20Monitoring/Database/Getting%20started/3.%20Configuration.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[Database Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Database/Overview.md
[How to set Logon as a Service right]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Logon%20as%20a%20Service%20right.md
[Install Database Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Database/Getting%20started/2.%20Install.md
[Install Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7.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
[NodinitePortal]:https://portal.nodinite.com/
[Prerequisites]:{ndr}/Logging%20and%20Monitoring/Database/Getting%20started/1.%20Prerequisites.md
[Prerequisites for Database Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Database/Getting%20started/1.%20Prerequisites.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[SQL Connection Strings]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Connection%20Strings.md
[SQL Release Notes]:https://portal.nodinite.com/marketplace/29
[Support]:https://support.nodinite.com
[Uninstall]:{ndr}/Logging%20and%20Monitoring/Database/Troubleshooting/Uninstall.md
[Updating Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Updating%20Nodinite%20v7.md
[V4ToV5]:{ndr}/Install%20and%20Update/Getting%20started/Version%204/Updating%20from%20v4%20to%20v5.md