Skip to content
Documentation
Updated 4 minutes to read
Markdown

Configuring PostgreSQL Database Monitoring

Section titled “ Configuring PostgreSQL Database Monitoring”

Understanding PostgreSQL Monitoring Configuration

Section titled “Understanding PostgreSQL Monitoring Configuration”

Before configuring PostgreSQL monitoring, understand how Nodinite connects to and monitors your PostgreSQL databases. The Database Monitoring Agent uses the Npgsql driver to establish secure connections and execute custom SQL statements for business data validation.

The Database Monitoring Agent actively monitors your configured PostgreSQL Databases. Each configured database connection is represented in Nodinite as one or more Resources, providing real-time state evaluation.

graph LR A["fa PostgreSQL Server"] --> | Npgsql Connection | B["fa Database Monitoring Agent"] B --> | SSL/TLS Encrypted | C["fa Monitoring Service"] C --> | State Evaluation | D["fa Web Client"] C --> | Alerts | E["fa Alarm Plugins"] style B fill:#2678BD style C fill:#2678BD style D fill:#93d16d style E fill:#FFD525

Diagram: PostgreSQL monitoring architecture showing secure connection flow from database server to Nodinite Web Client with alert capabilities.

PostgreSQL database configurations are grouped by the Category PostgreSQL - SQL Statements:
Category - PostgreSQL Statement Configuration
Example of a Nodinite Monitor View showing PostgreSQL Resources.

Key points:

  • Your PostgreSQL Databases are listed in Nodinite as Resources, where the name of the Configuration becomes the Resource name prefix
  • Each configuration can include multiple SQL statements for business data monitoring
  • Monitor database status using Monitor Views and trigger external alerts through any installed Alarm Plugins

What are the key features for PostgreSQL Configuration?

Section titled “ What are the key features for PostgreSQL Configuration?”
  • Remote Configuration – Configure PostgreSQL connections directly from the Nodinite Web Client
  • Secure Connection Strings – Encrypted storage of database credentials
  • Custom SQL Statements – Execute your own PostgreSQL queries for business data monitoring

How do I configure a PostgreSQL Database?

Section titled “ How do I configure a PostgreSQL Database?”

PostgreSQL database monitoring is configured through the Remote Configuration dialogue for the Database Monitoring Agent. For general setup and initial configuration steps, see:

Remote Configuration

There are different configuration areas for PostgreSQL databases:

Click the Add button to add a new PostgreSQL Database to monitor. Provide one entry per Database. Each entry appears as at least one Resource in Monitor Views.
Add PostgreSQL Database
Add a new PostgreSQL Database configuration

PostgreSQL Configuration
Configure the PostgreSQL Database connection

Click the Accordion to expand the configuration section.

  • Enabled – Enable monitoring for this configuration
  • Configuration name – User-friendly name for this configuration (becomes the Resource name prefix)
  • Description – Optional description of this configuration
  • Connection String – The Database Monitoring Agent uses this to connect to PostgreSQL
  • Application ID – Any user-defined ApplicationId from the Applications tab

The PostgreSQL connection string uses Npgsql format. Here's an example:

Server=db.example.com;Port=5432;Database=nodinite_monitor;User Id=monitor_user;Password=***;SslMode=Require;TrustServerCertificate=false;

Example: PostgreSQL with SSL/TLS encryption and certificate validation

Parameter Description Example Values
Server PostgreSQL server hostname or IP address localhost, db.example.com
Port PostgreSQL server port 5432 (default), 31902
Database Name of the PostgreSQL database to connect to nodinite_monitor, production_db
User Id PostgreSQL username for authentication postgres, monitor_user
Password PostgreSQL password for authentication Encrypted credential
SslMode SSL/TLS connection mode Disable, Prefer, Require, VerifyFull
TrustServerCertificate Whether to trust self-signed certificates true, false

You can configure different monitoring aspects for each PostgreSQL database. The following Categories are available:

Category Description Configuration
PostgreSQL - SQL Statements Run custom SQL statements to monitor business data Configuration

The Settings tab configures operational parameters for the Database Monitoring Agent. For detailed configuration of all settings including Environment and Debug mode, see the main configuration guide:

Settings Configuration

Key settings relevant to PostgreSQL monitoring:

  • Environment – Set environment name (DEV, TEST, PROD)
  • Debug – Enable detailed logging for troubleshooting connection issues

The Database Monitoring Agent PostgreSQL configurations support the following Remote Actions:

  • Edit Configuration – Modify connection settings and SQL statements
  • Test Connection – Verify database connectivity

For details on saving your configuration changes and synchronization behavior, see:

Save Configuration

PostgreSQL - SQL Statements
Add or manage Monitor View

Secure Custom Database Scripts and Actions
Install Database Monitoring Agent
Configure Database Monitoring Agent
Monitoring Agents
Applications
Database Monitoring Agent

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...