Skip to main content
Version Next

Node Metrics Exporter Management

Below are the available commands to manage the Node Metrics Exporter service.

Prerequisites
Command Syntax
Terminal input
    pgsmart obs exporter [OPERATION] [FLAGS]

Operations:

  • Status — Allows checking the Node Metrics Exporter service status
  • Start — Allows starting the Node Metrics Exporter service
  • Stop — Allows stopping the Node Metrics Exporter service
  • Restart — Allows restarting the Node Metrics Exporter service
  • Reload — Allows reloading the Node Metrics Exporter service

Flags:

  • -a, --agent=<agent> => Alias, hostname, or IP of the server where the desired PgSmart Agent is installed.
  • -h, --help => Help
Interactive Execution

Node Metrics Exporter Service Status

Terminal input
    pgsmart obs exporter status
  1. Select the PgSmart Agent or register a new one.

  2. Select the Node Metrics Exporter.

    Figure 1 - Metrics Exporter - Node - Status
    Figure 1 - Metrics Exporter - Node - Status

Start Node Metrics Exporter Service

Terminal input
    pgsmart obs exporter start
  1. Select the PgSmart Agent or register a new one.

  2. Select the Node Metrics Exporter.

    Figure 2 - Metrics Exporter - Node - Start
    Figure 2 - Metrics Exporter - Node - Start

Stop Node Metrics Exporter Service

Terminal input
    pgsmart obs exporter stop
  1. Select the PgSmart Agent or register a new one.

  2. Select the Node Metrics Exporter.

    Figure 3 - Metrics Exporter - Node - Stop
    Figure 3 - Metrics Exporter - Node - Stop

Restart Node Metrics Exporter Service

Terminal input
    pgsmart obs exporter restart
  1. Select the PgSmart Agent or register a new one.

  2. Select the Node Metrics Exporter.

    Figure 4 - Metrics Exporter - Node - Restart
    Figure 4 - Metrics Exporter - Node - Restart

Reload Node Metrics Exporter Service

Terminal input
    pgsmart obs exporter reload
  1. Select the PgSmart Agent or register a new one.

  2. Select the Node Metrics Exporter.

    Figure 5 - Metrics Exporter - Node - Reload
    Figure 5 - Metrics Exporter - Node - Reload