Metric Collector Management - Prometheus
Below are the available commands to manage the Metric Collector service.
Command Syntax
Terminal input
pgsmart obs collector [OPERATION] [FLAGS]
Operations:
- Status — Allows checking the status of the Metric Collector service
- Start — Allows starting the Metric Collector service
- Stop — Allows stopping the Metric Collector service
- Restart — Allows restarting the Metric Collector service
- Reload — Allows reloading the Metric Collector service
Flags:
- -a, --agent=
<agent>
=> Alias, hostname, or IP of the server where PgSmart Agent is installed. - -h, --help => Help
Interactive Execution
Metric Collector Service Status
- 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 Metric Collector Service
- Instructions
- Video
Terminal input
pgsmart obs collector stop
-
Select the
PgSmart Agent
or register a new one.Figure 2 - Metrics Exporter - Collector - Stop
Carregando...
Start Metric Collector Service
- Instructions
- Video
Terminal input
pgsmart obs collector start
-
Select the
PgSmart Agent
or register a new one.Figure 3 - Metrics Exporter - Collector - Start
Carregando...
Restart Metric 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 Metric 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...