Metrics Collector Management
Check below for the commands available to control the Metrics Collector service.
Command Syntax
Terminal input
pgsmart obs collector [OPERATION] [FLAGS]
Operations:
- Status of the Metrics Collector service.
- Start the Metrics Collector service.
- Stop the Metrics Collector service.
- Restart the Metrics Collector service.
- Reload the Metrics Collector service.
Flags:
- -a, --agent=@!<agent>@! => Alias, hostname, or IP of the server where the desired PgSmart Agent is installed.
- -h, --help => Help
- -q, --quiet => Non-interactive execution to control the Metrics Collector service (status|start|stop|restart|reload).
Non-Interactive Execution
Terminal input
pgsmart obs collector [status|start|stop|restart|reload] -q -a @!<agent>@!
Interactive Execution
Status of the Metrics Collector Service
- Instructions
- Video
Terminal input
pgsmart obs collector status
- Select the PgSmart Agent or register a new one.

Figure 1 - Metrics Exporter - Collector - Status
Carregando...
Stop the Metrics Collector Service
- Instructions
- Video
Terminal input
pgsmart obs collector stop
-
Select the PgSmart Agent or register a new one.
Figure 3 - Metrics Exporter - Collector - Stop
Carregando...
Start the Metrics Collector Service
- Instructions
- Video
Terminal input
pgsmart obs collector start
-
Select the PgSmart Agent or register a new one.
Figure 2 - Metrics Exporter - Collector - Start
Carregando...
Restart the Metrics Collector Service
- Instructions
- Video
Terminal input
pgsmart obs collector restart
-
Select the PgSmart Agent or register a new one.
Figure 4 - Metrics Exporter - Collector - Restart
Carregando...
Reload the Metrics Collector Service
- Instructions
- Video
Terminal input
pgsmart obs collector reload
-
Select the PgSmart Agent or register a new one.
Figure 5 - Metrics Exporter - Collector - Reload
Carregando...