Agent
Datasentinel offers two monitoring approaches: agent-based and agentless. This guide focuses on the installation of an agent, applicable when you opt for the agent-based monitoring method.
Step-by-Step Installation Instructions
Date
Last available agent version
2
Install and start the agent
tar xvzf datasentinel-agent-rhel9.tar.gzalias datasentinel='DATASENTINEL_PATH=`pwd`/datasentinel;LD_LIBRARY_PATH=$DATASENTINEL_PATH/lib/ $DATASENTINEL_PATH/datasentinel'
datasentinel start agentexport DATASENTINEL_PATH="`pwd`/datasentinel"
export LD_LIBRARY_PATH=$DATASENTINEL_PATH/lib
export PATH=$DATASENTINEL_PATH:$PATH
datasentinel start agent3
Test the status
datasentinel status agent Copyright 2023 (c) Datasentinel- All rights reserved www.datasentinel.io
================================================================================
Agent
Version : 3.3.0
Server : pg-crm-4529
Port : 8282
Start time : 2023-03-18 15:45:31
Collection rate : low
Table monitoring limit : 1000
Query monitoring limit : 30000
Sql max size : 256000
Proxy
host :
port : 0
user :
password :
Upload
host : upload_server_to_be_defined
port : 443
Connections
declared : 0
running : 0
not running : 0// Example
export DATASENTINEL_AGENT_HOST=172.16.250.199PostgreSQL
User
create user datasentinel password 'myPassword';
grant pg_monitor,pg_read_all_settings,pg_read_all_stats to datasentinel;
// If you intend to utilize the option for terminating a session directly from the User Interface
grant pg_signal_backend to datasentinel;File pg_hba.conf
Add Instance
TagsUseful CLI commands
CLIAPI
APIConfiguration Files
Log File
Last updated