PostgreSQL Metrics Exporter Management
Check out the commands available to control the PostgreSQL Metrics Exporter service.
Command Syntax
[source,shell]
pgsmart obs exporter [OPERATIONS] [FLAGS], where:
Operations:
- Status of the PostgreSQL Metrics Exporter service.
- Start the PostgreSQL Metrics Exporter service.
- Stop the PostgreSQL Metrics Exporter service.
- Restart the PostgreSQL Metrics Exporter service.
- Reload the PostgreSQL Metrics Exporter 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 component service (status|start|stop|restart|reload). Used together with the --agent option.
Non-Interactive Execution
Terminal input
pgsmart obs exporter [status|start|stop|restart|reload] -q -a <agent>**
Interactive Execution
Status of the PostgreSQL Metrics Exporter Service
- Instructions
- Video
Terminal input
pgsmart obs exporter status
-
Select the PgSmart Agent or register a new one.
-
Select the PostgreSQL Metrics Exporter.
Figure 1 - Metrics Exporter - PostgreSQL - Status
Carregando...
Start the PostgreSQL Metrics Exporter Service
- Instructions
- Video
Terminal input
pgsmart obs exporter start
-
Select the PgSmart Agent or register a new one.
-
Select the PostgreSQL Metrics Exporter.
Figure 2 - Metrics Exporter - PostgreSQL - Start
Carregando...
Stop the PostgreSQL Metrics Exporter Service
- Instructions
- Video
Terminal input
pgsmart obs exporter stop
-
Select the PgSmart Agent or register a new one.
-
Select the PostgreSQL Metrics Exporter.
Figure 3 - Metrics Exporter - PostgreSQL - Stop
Carregando...
Restart the PostgreSQL Metrics Exporter Service
- Instructions
- Video
Terminal input
pgsmart obs exporter restart
-
Select the PgSmart Agent or register a new one.
-
Select the PostgreSQL Metrics Exporter.
Figure 4 - Metrics Exporter - PostgreSQL - Restart
Carregando...
Reload the PostgreSQL Metrics Exporter Service
- Instructions
- Video
Terminal input
pgsmart obs exporter reload
-
Select the PgSmart Agent or register a new one.
-
Select the PostgreSQL Metrics Exporter.
Figure 5 - Metrics Exporter - PostgreSQL - Reload
Carregando...