---
title: How to Install the Database Monitoring Agent for Nodinite
description: Step-by-step guide to install the Database Monitoring Agent for use with Nodinite, including prerequisites, service account setup, troubleshooting, and support.
---

# :fa-rocket: Install :Nodinite: Database Monitoring Agent

Get started with the :Nodinite: [Database Monitoring Agent][] and unlock seamless monitoring for SQL Server, Azure SQL Databases, and PostgreSQL. This guide walks you through each installation step, highlights key requirements, and ensures a smooth setup experience.

✅ Simple step-by-step installation process  
✅ Supports SQL Server, [Azure SQL Database][], and PostgreSQL  
✅ Clear guidance for service account and prerequisites  
✅ Troubleshooting tips and direct support access  

>Use this guide to learn about how to install the :Nodinite: [Database Monitoring Agent][] to achieve Monitoring of SQL Server, Azure SQL Databases, and PostgreSQL.

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

:new7.2.0:

**Database Monitoring Agent v7.2.0 and later should be installed using the :Nodinite: [Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup>-based CLI installation.** This modern approach provides automated installation and configuration with minimal manual intervention.

### Why Use Portal-Based Installation?

✅ **Automates agent installation and configuration** with the Installer CLI  
✅ **Configures multiple agents simultaneously** with consistent settings  
✅ **Eliminates manual MSI installations** and reduces human error  
✅ **Centrally manages all environments** from the Portal  
✅ **Includes [AI Diagnostics][]** :new7.2.0: for intelligent error analysis  
✅ **Supports .NET 10 runtime** for modern platform performance  
✅ **Group Managed Service Account (gMSA)** support for automated password management  

### Get Started with Portal-Based Installation

Follow the comprehensive [Install Nodinite v7][] guide to install the Database Monitoring Agent using the Portal-based approach. The Portal generates a package, and the Installer CLI uses it to install and configure the agent automatically.

**Key Steps:**

1. **Register your environment** in the [Nodinite Portal][NodinitePortal]<sup>:fa-arrow-up-right-from-square:</sup>
2. **Select Database Monitoring Agent** in the Agents configuration tab
3. **Configure agent settings** (port, service account, database connections)
4. **Download the installation package** with the Installer CLI
5. **Run the Installer CLI** to install and configure automatically

:fa-book: [Complete Portal Installation Guide][Install Nodinite v7] - Step-by-step instructions with screenshots

---

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

>[!WARNING]
>**Deprecated:** The MSI-based installation method is **legacy** and intended **only for remote server installations** 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 installing Database Monitoring Agent **v7.2.0 or later**, use the [Portal-based installation method](#fa-cloud-nodinite-v7.2.0-and-later-recommended) instead. The MSI approach below is for **legacy v6 installations** or **remote servers** only.

### When to Use MSI Installation

Use this method **only** if:

* You are installing on a **remote server** that cannot be managed with the Installer CLI
* You are maintaining a **legacy v6 environment** (upgrade to v7 recommended)
* You have specific infrastructure constraints preventing automated installation

### MSI Installation Prerequisites

>[!IMPORTANT]
>You must be a local administrator to have the right to install Windows Services.

## :fa-square-plus: Before you begin

Make sure you comply with the [prerequisites][].  

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

Double-click on the **MSI file** to start the installation of the :Nodinite: [Database Monitoring Agent][].  
![msi][1]  
*Example MSI file, you should download and use the latest official version*  

Click the **'Run'** button to continue.  

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

On successful execution of the MSI file, a **Welcome screen** presents:  
![Welcome][3]  
*Welcome screen for the installer*  

Click the **'Next'** button to continue the installation process or click the **'Cancel'** button to quit the installer.  

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

Select the components to install and select the destination path for the installation.  
![Custom Setup][4]  
*Custom setup options for the installation*  
>[!NOTE]
>Default settings are recommended  

Click the **'Next'** button to continue the installation process or click the **'Cancel'** button to quit the installer.  

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

This is the account running the Windows Service.  

:fa-user-secret: Enter credentials:  

* :fa-building: **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.  
* :fa-user: **User**: The name of the account.  
* :fa-key: **Password**: The password for the account.  
    >[!NOTE]
    >The account must have 'Log on as Service Right'  

![Domain service account][5]  
*Service account credentials for the Windows Service*  

Click the **'Next'** button to continue the installation process or click the **'Cancel'** button to quit the installer.  

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

Error message when account information does not meet [Prerequisites][]:  
![Insufficient Privileges][6]  
*Insufficient privileges error example*  

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 installation gives either a **success** or a **premature exit**:  
![Completed][8]  
*Successful installation example.*  

:fa-times-circle: **Failed installation example**: A failed installation renders a premature exit:  
![Premature exit][7]  
*Premature exit example for failed installation*  

Click the **Finish** button to Exit and quit the installer.  

## :fa-forward-step: Step 6: Add Agent as a new Monitoring Agent Configuration

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

Instructions on how to add the [Database Monitoring Agent][] as a [Monitoring Agents][] is detailed in a shared article, click on the link below to learn more:  

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

## :fa-user-md: Support

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

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

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

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

## :fa-link-horizontal: Related Topics

:fa-clipboard-check: [Prerequisites for Database Monitoring Agent][Prerequisites]  
:fa-monitor-waveform: [Monitoring Agents][]  
: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

[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
[Azure SQL Database]:{ndr}/Logging%20and%20Monitoring/Database/Features/Azure%20SQL%20Database/Overview.md
[Configuration]:{ndr}/Logging%20and%20Monitoring/Database/Getting%20started/3.%20Configuration.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 Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7.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
[Support]:https://support.nodinite.com
[Uninstall]:{ndr}/Logging%20and%20Monitoring/Database/Troubleshooting/Uninstall.md
[Update]:{ndr}/Logging%20and%20Monitoring/Database/Updating.md