---
title: How to Configure the Database Monitoring Agent for Nodinite
description: Learn how to configure the Database Monitoring Agent for use with Nodinite, including remote configuration, SQL Server, Azure SQL, and PostgreSQL setup, plus advanced settings and best practices.
---

# <i class="fal fa-edit" aria-hidden="true"></i> Configuring the Database Monitoring Agent

Empower your monitoring strategy with the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Database Monitoring Agent][]. This guide walks you through every step of configuration, from initial setup to advanced tuning for SQL Server, Azure SQL, and PostgreSQL databases.

✅ Centralized configuration for all your database monitoring needs  
✅ Effortless remote management and fine-tuning  
✅ Support for SQL Server, Azure SQL, and PostgreSQL  
✅ Granular control with categories and settings  

<aside aria-label="Info" class="nodinite-note nodinite-note--info">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-square-info"></i> Info</p>
<div class="nodinite-note__content"><p>This guide provides instructions for configuring 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/logging-and-monitoring/database/overview/">Database Monitoring Agent</a>.</p></div>
</aside>

<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>The Monitoring and the remote configuration is available if you first install and create the initial <a href="https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/">Monitoring Agent Configuration</a> for the <a href="https://docs.nodinite.com/logging-and-monitoring/database/overview/">Database Monitoring Agent</a>. First-time users start <a href="#fa-square-plus-add-database-monitoring-agent-configuration">at the Add Configuration section</a>.</p></div>
</aside>

## <i class="fal fa-edit" aria-hidden="true"></i> Remote Configuration

As a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Administrator, click the 'Configuration' button to open a modal and configure the agent:  
![RemoteConfiguration][png_RemoteConfigurationButton]  
*Example: The Configuration button in the [Monitoring Agent Configuration][Add or manage a Monitoring Agent Configuration] administration page*  

You can adjust configurations on the [Resource][Resources] via the **Action** button if the [Monitor View][Monitor Views] has the [Remote Actions][] feature enabled.  

## <i class="fal fa-square-plus" aria-hidden="true"></i> SQL Server Instance

Click the **<i class="fal fa-plus" aria-hidden="true"></i> Add** button to add a new SQL Server Instance to monitor. Repeat as needed for each instance.  
![Add SQL Server Monitoring Configuration][1]  
*Add a new SQL Server monitoring configuration*  

### SQL Server Configuration Entry

Click the Accordion to expand the connection configuration  
![SQL Server Accordion][2]  
*Expand to configure SQL Server connection details*  

### SQL Server General Tab

For each SQL Server connection, set the following properties:  
![SQL Server General Tab][3]  
*General tab for SQL Server configuration*

* <i class="fal fa-toggle-on" aria-hidden="true"></i> **Enabled** – Enable monitoring for this SQL Server configuration
* <i class="fal fa-tag" aria-hidden="true"></i> **Configuration name** – Unique name for this connection
* <i class="fal fa-align-left" aria-hidden="true"></i> **Description** – Short description for this configuration
* <i class="fal fa-plug" aria-hidden="true"></i> **Connection String** – SQL Server [connection string][SQL Connection Strings] (uses **Microsoft.Data.SqlClient** with modern TLS defaults)

```ini
Data Source=localhost;Initial Catalog=MSDB;Integrated Security=True;Encrypt=True;TrustServerCertificate=True;
```

Example: Dev/test environment with [Windows Authentication][] and self-signed certificate

<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>See the comprehensive <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/">SQL Server Connection Strings</a> guide for certificate validation, AOAG configuration, troubleshooting, and security best practices.</p></div>
</aside>

### SQL Server Advanced Tab

The **Advanced** tab provides additional monitoring controls for SQL Server Agent service and blocking processes.  
![SQL Server Advanced Tab][4]  
*Advanced tab for SQL Agent and [SQL Blocking][] configuration*

#### SQL Agent - Enabled

* <i class="fal fa-square-check" aria-hidden="true"></i> **SQL Agent - Enabled** – When checked, monitoring for the SQL Server Agent service is enabled

This feature monitors the **SQL Server Agent Windows service** to ensure it is running and operational. When enabled, a [Resource][Resources] is created in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> to display the service state.

<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><strong>SQL Express compatibility:</strong> SQL Server Express editions do not include the SQL Server Agent service, so this feature has no value for SQL Express instances. The feature is only applicable to SQL Server Standard, Enterprise, and Developer editions.</p></div>
</aside>

**Use this feature to:**

* <i class="fal fa-shield-halved" aria-hidden="true"></i> **Ensure SQL Agent availability** – Detect when the SQL Server Agent service is stopped or disabled
* <i class="fal fa-business-time" aria-hidden="true"></i> **Prevent job execution failures** – Get immediate alerts before scheduled jobs fail due to stopped agent service
* <i class="fal fa-chart-line" aria-hidden="true"></i> **Monitor service health** – Track SQL Server Agent service uptime across all instances

<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>This monitors the <strong>SQL Server Agent service itself</strong>. To monitor individual SQL Agent jobs, see <a href="https://docs.nodinite.com/logging-and-monitoring/database/features/jobs/overview/">SQL Jobs</a> monitoring.</p></div>
</aside>

#### SQL Blocking

* <i class="fal fa-square-check" aria-hidden="true"></i> **SQL Blocking - Enabled** – When checked, monitoring for SQL Blocking processes is enabled
* ⚠️ **SQL Blocking - Duration Warning** – The longest allowed duration for SQL Blocking in seconds before a Warning is raised (default: 90 seconds)
* ❌ **SQL Blocking - Duration Error** – The longest allowed duration for SQL Blocking in seconds before an Error is raised (default: 300 seconds)

This feature monitors for blocking database transactions that prevent other processes from accessing resources. When enabled, a [Resource][Resources] is created in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> to display blocking activity.

**Use this feature to:**

* <i class="fal fa-triangle-exclamation" aria-hidden="true"></i> **Detect performance issues** – Identify long-running transactions blocking other queries
* <i class="fal fa-clock" aria-hidden="true"></i> **Set appropriate thresholds** – Configure warning and error durations based on your workload
* <i class="fal fa-chart-line" aria-hidden="true"></i> **Monitor blocking patterns** – Track blocking incidents across all SQL Server instances

<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>For detailed configuration and remote actions, see <a href="https://docs.nodinite.com/logging-and-monitoring/database/features/sql-blocking/overview/">SQL Blocking</a> monitoring.</p></div>
</aside>

### SQL Server Categories

You can fine-tune each SQL Server instance for different monitoring aspects. The following [Categories][] are available:  

|<i class="fal fa-folder" aria-hidden="true"></i> Category|<i class="fal fa-quote-right" aria-hidden="true"></i> Description|<i class="fal fa-wrench" aria-hidden="true"></i> Configuration|  
|---|---|---|  
|<i class="fal fa-gear" aria-hidden="true"></i> [SQL Agent Service][]|Monitor SQL Server Agent service status|Enabled via checkbox on [Advanced tab](#sql-server-advanced-tab)|  
|<i class="fal fa-floppy-disk" aria-hidden="true"></i> [SQL Backups][]|Monitor your backups|[Configuration][SQL Backups - Configuration]|  
|<i class="fal fa-lock" aria-hidden="true"></i> [SQL Blocking][]|Monitor SQL for blocking processes|Enabled via checkbox on [Advanced tab](#sql-server-advanced-tab)|  
|<i class="fal fa-hard-drive" aria-hidden="true"></i> [Size Checks][]|Monitor data and log file size usage|[Configuration][Size Checks - Configuration]|  
|<i class="fal fa-list-check" aria-hidden="true"></i> [SQL Jobs][]|Monitor SQL Agent job performance|[Configuration][SQL Jobs - Configuration]|  
|<i class="fal fa-box-archive" aria-hidden="true"></i> [SSIS][SQL SSIS]|Monitor SSIS Packages and Projects|[Configuration][SQL SSIS - Configuration]|  
|<i class="fal fa-code" aria-hidden="true"></i> [SQL Statements][]|Run custom SQL statements to monitor business data||  

## <i class="fal fa-square-plus" aria-hidden="true"></i> Add Azure SQL Databases

Click the **<i class="fal fa-plus" aria-hidden="true"></i> Add** button to add a SQL Azure Database to monitor. Provide one entry per SQL Database. Each entry appears as a [Resource][Resources] in [Monitor Views][].  
![Add Azure SQL Database][6]  
*Example: Add [Azure SQL Database][] monitoring configuration.*  

### Configure the added server

Next, configure the added Azure SQL server:
![Configure Azure SQL Server][5]  
*Example: Configure Azure SQL Database connection details.*

Click the Accordion to expand the content.

* <i class="fal fa-toggle-on" aria-hidden="true"></i> **Enabled** – Enable monitoring for this configuration
* <i class="fal fa-tag" aria-hidden="true"></i> **Configuration name** – Unique name for this connection
* <i class="fal fa-align-left" aria-hidden="true"></i> **Description** – Short description for this configuration
* <i class="fal fa-plug" aria-hidden="true"></i> **Connection String** – Azure SQL [connection string][SQL Connection Strings] (uses **Microsoft.Data.SqlClient** with modern TLS defaults)

```ini
Server=tcp:example.database.windows.net,1433;Initial Catalog=NodiniteConfig;User ID=sqladmin;Password=***;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;
```

Example: Azure SQL Managed Instance with SQL Authentication

<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><strong>Need help with Azure SQL connection strings?</strong> See the comprehensive <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/">SQL Server Connection Strings</a> guide, specifically the <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/#fa-cloud-azure-sql-managed-instance">Azure SQL Managed Instance</a> section for authentication, encryption settings, troubleshooting, and security best practices.</p></div>
</aside>

<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>The <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/">Connection String</a> is encrypted in the Settings.json file. See <a href="https://docs.nodinite.com/install-and-update/troubleshooting/secret-managment/">Secret Management</a> for details on certificate-based encryption.</p></div>
</aside>

## <i class="fal fa-folder" aria-hidden="true"></i> Azure SQL Database Configuration Entry

You can fine-tune each Azure SQL database for different monitoring aspects. The following [Categories][] are available:

* [Azure SQL Statements][SQL Statements] – Run custom SQL statements to monitor business data
* [Azure - SQL Size Checks][] – Monitor file usage (data, no transaction log)  

## <i class="fal fa-square-plus" aria-hidden="true"></i> PostgreSQL Database Configuration Entry

Configure PostgreSQL database monitoring with [connection strings][PostgreSQL Configuration], custom SQL statements, and remote configuration for proactive database health tracking.

<aside aria-label="Info" class="nodinite-note nodinite-note--info">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-square-info"></i> Info</p>
<div class="nodinite-note__content"><p>For complete PostgreSQL configuration details including connection string parameters, SSL settings, and monitoring categories, see the comprehensive <a href="https://docs.nodinite.com/logging-and-monitoring/database/features/postgresql/configuration/">PostgreSQL Configuration</a> guide.</p></div>
</aside>

**Quick reference:**

* [PostgreSQL SQL Statements][] – Run custom SQL statements to monitor business data

## <i class="fal fa-wrench" aria-hidden="true"></i> Settings tab

In the **Settings** tab, configure advanced options for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Database Monitoring Agent][].

* <i class="fal fa-cog" aria-hidden="true"></i> [Basic](#fa-cog-basic)
* <i class="fal fa-lock" aria-hidden="true"></i> [Secret Management](#fa-lock-secret-management)

![Settings tab][SettingsTab]  
*Settings tab for advanced configuration.*

### <i class="fal fa-cog" aria-hidden="true"></i> Basic

* <i class="fal fa-clock" aria-hidden="true"></i> [Global polling interval](#fa-clock-global-polling-interval)
* <i class="fal fa-leaf" aria-hidden="true"></i> [Environment](#fa-leaf-environment)
* <i class="fal fa-shield" aria-hidden="true"></i> [Allowed Hosts](#fa-shield-allowed-hosts)
* <i class="fal fa-list" aria-hidden="true"></i> [Log Level](#fa-list-log-level)

#### <i class="fal fa-clock" aria-hidden="true"></i> Global polling interval

Set the **polling interval in seconds** to control how frequently the agent checks SQL Server instances for status updates. The default value is 60 seconds.

Lower values provide more frequent updates but increase system load. Higher values reduce load but delay status visibility.

#### <i class="fal fa-leaf" aria-hidden="true"></i> Environment

Set the name of the target **environment** (for example, DEMO, TEST, QA, PROD). This feature is standard for all [Monitoring Agents][Monitoring].

#### <i class="fal fa-shield" aria-hidden="true"></i> Allowed Hosts

Specifies which **host headers** are accepted by the application. Use `*` to allow all hosts, or provide a semicolon-separated list of allowed hostnames (e.g., `example.com;*.example.com`). This is a security feature to prevent host header attacks.

#### <i class="fal fa-list" aria-hidden="true"></i> Log Level

Select the **logging level for the agent** (e.g., Error, Warning, Information, Debug). This is used for diagnostics logs.

### <i class="fal fa-lock" aria-hidden="true"></i> Secret Management

<sup><span class="nodinite-new-badge">New 7.1</span></sup>

For comprehensive guidance on securing sensitive data and managing certificates for the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Database Monitoring Agent][], see [Secret Management with Automatic Certificate Handling][Secret Management].

This includes:

* ✅ Automated certificate generation and lifecycle management
* ✅ Encryption of sensitive configuration data ([connection strings][SQL Connection Strings], API keys, passwords)
* ✅ Service account password change support (v7+)
* ✅ Certificate expiration monitoring and auto-renewal  

## <i class="fal fa-save" aria-hidden="true"></i> Save

Click '**Save**' or '**Save and close**' to persist your changes. The system evaluates new settings/thresholds on the next synchronization.  

![Save and Close buttons][png_SaveAndClose]  
*Save options for persisting configuration changes.*  

<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>The delay in presenting the new evaluated state depends on the synchronization interval set for the monitoring agent. Click the <strong>Sync Now</strong> button to force an immediate synchronization.</p></div>
</aside>

**Save and close** saves and closes the dialogue.  
**Cancel** closes the dialogue without saving changes.  

---

## <i class="fal fa-square-plus" aria-hidden="true"></i> Add Database Monitoring Agent Configuration

After you install the [Database Monitoring Agent][], provide <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> with connection details so the [Monitoring Service][] can start monitoring.  
>No monitoring or other configuration of the [Database Monitoring Agent][] can be performed before the steps outlined below have been completed.

### <i class="fal fa-sort-numeric-down" aria-hidden="true"></i> Configuration Steps

1. Add and configure a new [Monitoring Agent Configuration][Add or manage a Monitoring Agent Configuration]
    * Connection information is available in the `README.txt` file in the installation folder
2. Use the [Remote Configuration][] feature to configure the agent. Details are at the beginning of this guide
3. Create one or more self-service enabled [Monitor Views][] that include the selected [Resources][] provided by the [Database Monitoring Agent][] according to business needs
    * <i class="fal fa-display" aria-hidden="true"></i> [Add or manage Monitor View][]
4. Fine-tune specific settings directly on [Resources][] using [Remote Actions][]  

---

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

<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Add or manage a Monitoring Agent Configuration][]  
<i class="fal fa-display" aria-hidden="true"></i> [Add or manage Monitor View][]  

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

<i class="fal fa-rocket" aria-hidden="true"></i> [Install Database Monitoring Agent][Install]  
<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Monitoring Agents][]  
<i class="fal fa-box-open" aria-hidden="true"></i> [Applications][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/SQL/RemoteConfiguration/SQLServerAddFirst.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/SQL/RemoteConfiguration/SQLServerAccordion.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/SQL/RemoteConfiguration/SQLServerBasic.png
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/SQL/RemoteConfiguration/AdvancedTab.png
[5]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/SQL/RemoteConfiguration/SQLAzureConfiguration.png
[6]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/SQL/RemoteConfiguration/AzureDatabaseAddGeneral.png

[Add or manage a Monitoring Agent Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/
[Add or manage Monitor View]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/add-or-manage-monitor-view/
[Applications]:https://docs.nodinite.com/administration/monitor-management/applications/features/what-is-an-application/
[Azure - SQL Size Checks]:https://docs.nodinite.com/logging-and-monitoring/database/features/size-checks/azure-sql-size-checks/
[Azure SQL Database]:https://docs.nodinite.com/logging-and-monitoring/database/features/azure-sql-database/overview/
[Categories]:https://docs.nodinite.com/administration/monitor-management/categories/features/what-is-a-category/
[Database Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/database/overview/
[Install]:https://docs.nodinite.com/logging-and-monitoring/database/getting-started/install/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Monitoring]:https://docs.nodinite.com/monitoring/
[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/
[png_RemoteConfigurationButton]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/RemoteConfiguration.png
[png_SaveAndClose]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/SQL/SaveAndClose.png
[PostgreSQL Configuration]:https://docs.nodinite.com/logging-and-monitoring/database/features/postgresql/configuration/
[PostgreSQL SQL Statements]:https://docs.nodinite.com/logging-and-monitoring/database/features/sql-statements/postgresql-sql-statements/
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Remote Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/how-do-i-configure-a-monitor-agent/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Secret Management]:https://docs.nodinite.com/install-and-update/troubleshooting/secret-managment/
[SettingsTab]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/SQL/RemoteConfiguration/Settings.png
[Size Checks]:https://docs.nodinite.com/logging-and-monitoring/database/features/size-checks/sql-size-checks/
[Size Checks - Configuration]:https://docs.nodinite.com/logging-and-monitoring/database/features/size-checks/sql-size-checks/#fa-globe-global-configuration
[SQL Agent Service]:https://docs.nodinite.com/logging-and-monitoring/database/features/sql-agent-service/overview/
[SQL Backups]:https://docs.nodinite.com/logging-and-monitoring/database/features/sql-backups/overview/
[SQL Backups - Configuration]:https://docs.nodinite.com/logging-and-monitoring/database/features/sql-backups/overview/#fa-globe-global-configuration
[SQL Blocking]:https://docs.nodinite.com/logging-and-monitoring/database/features/sql-blocking/overview/
[SQL Connection Strings]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/
[SQL Jobs]:https://docs.nodinite.com/logging-and-monitoring/database/features/jobs/overview/
[SQL Jobs - Configuration]:https://docs.nodinite.com/logging-and-monitoring/database/features/jobs/overview/#fa-globe-global-configuration
[SQL SSIS]:https://docs.nodinite.com/logging-and-monitoring/database/features/sql-ssis/overview/
[SQL SSIS - Configuration]:https://docs.nodinite.com/logging-and-monitoring/database/features/sql-ssis/overview/#fa-globe-global-configuration
[SQL Statements]:https://docs.nodinite.com/logging-and-monitoring/database/features/sql-statements/sql-server-statements/
[Windows Authentication]:https://docs.nodinite.com/core-services/web-api/scenarios/call-the-web-api-with-windows-authentication/