πŸ› οΈ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)

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

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.

Last updated