Skip to content
Nov 3, 2026 - Version 2026.10 has been released
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tooling

Datasentinel provides tooling to help you troubleshoot problems or gather information about system configurations.

It is available as executable shell scripts that can be run in a terminal console, while connected as the Datasentinel owner.

This technical documentation aims to provide detailed information about these tools and their functions.

Informations


This provides an overview of Datasentinel, including version number and license status.

/datasentinel/soft/datasentinel_backend/scripts/datasentinel_infos.sh
Output
Datasentinel toolkit - All rights reserved                       www.datasentinel.io
====================================================================================================

Datasentinel version: 2023.05

Token               : eyJ0eXAiOiJKV1QiLCJhbdeiOiJIUzI1NiJ9.eyJl5455dedeOTg2NTk5MDAsImlh6MTY4MzEwNzg5NSwiZGF0YWJUiOiJkcy1kYXRhIn0.ovIiD_UYhgXR9UEXR95Ik2mOMFr4AlBhb1cD1Kc
Token expiry time   : 2023-05-01 10:58:20

Token Update


This script allows you to update the license (aka token). You can also perform this action directly from the UI. (Refer to Documentation)

/datasentinel/soft/datasentinel_backend/scripts/datasentinel_update_token.sh <<TOKEN_VALUE>>

Registered Agents


This displays agents currently registered in the platform as well as their version, the memory used, and the number of instances they monitor

Inventory


This displays all instances registered on the platform, regardless of whether they are agent-based or agentless

Inactive Instances


This displays the registered instances that have no data left in the metrics database. An instance is inactive when it stopped sending metrics for longer than the retention period of the metrics database. Its metrics have all expired, but it is still listed in the inventory.

Add --delete to remove these instances from the inventory. The script asks for a confirmation first.

Option
Description

--delete

Delete the inactive instances from the inventory.

--instance <server@instance>

Only check this instance.

--yes

Do not ask for a confirmation before deleting.

The platform can also purge inactive instances automatically, once a day at 03:00. This is disabled by default: refer to the Backend configuration to enable it.

Only the inventory entry is deleted. Alert rules and silences defined for the instance are kept. With an unlimited retention, no instance is ever reported.

AI Assistant Sessions


The mcp_oauth_sessions.sh script lists the sessions that AI assistants hold on the AI Connector MCP server, and ends them. Use it to check who is connected and with which assistant, or to disconnect a user.

Refer to Manage assistant sessions for all the commands and their output.

Dump


The script extracts roles, user settings, agentless connections, alert rules and outputs them in InfluxQL format.

The script is run automatically by the daily backup script.

Separate dump*.txt files are created in the current directory.

You can also specify a custom directory by providing the path as a parameter when executing the script.

You can then import one or multiple files into a different platform, for example.

Configuration
Dump File

Roles

dump_roles.txt

User Settings

dump_user_settings.txt

Agentless Connections

dump_agentless_connections.txt

Alert Rules

dump_alert_rules.txt

Agentless Method


At Datasentinel, we offer an Agentless approach to remotely connect with your PostgreSQL clusters. Our platform launches one or more internal agents (depending on the number of monitored instances) on the server to collect and transmit metrics to the backend. Configuration is performed directly via the UI or through the API.

Additionally, we offer three scripts that list internal agents and their monitored connections.

Remote Connections

This displays remote connections configured with the agentless mode

Internal Agents

This displays the internal agents used by the agentless method.

Internal Agents and Connections

This displays both the internal agents used by the Agentless method, and their associated connections.

Troubleshooting

Consult the available troubleshooting scripts for diagnostic guidance.

Platform Diagnostics Tools

Last updated