PgSmart Web Agent(s) Registration
Once PgSmart is installed, the next step is to register the Agents, which, as previously mentioned, are the components responsible for providing the services or resources requested by the Client.
note
- Registering a new PgSmart Agent is a prerequisite for any service and must be done for each machine, using either PgSmart CLI or PgSmart Web.
- When registering an Agent through PgSmart Web, the observability exporters configuration is automatically performed.
- This option is available before any PgSmart command execution.
- Instructions
- Retrieve connection key
- Register
-
Go to
Início/Gerenciar Ambientes/Agentes
.
A list of all registered Agents will be displayed. -
Click
Registrar
. -
Enter an
Alias
for the Agent. -
Enter the
Host
orIP address
of the machine where the Agent is installed. -
Enter the
Agent Port
. -
Enter the
Metrics Port
. -
Enter the Agent's connection key (copy the connectionkey from the server where the Agent is installed and running):
Terminal inputcat /opt/pgsmart-agent/pgsmart.yml | grep connectionKey
-
Select the
Environment
where the Agent will be registered. -
Click
Salvar
.

Figure 1 - Agent Registration - Option Selection

Figure 2 - Agent Registration
Carregando...