Skip to main content
Version 3.1.1

Node Metrics Exporter Management

Check out the commands available to control the Node Metrics Exporter service.

Prerequisites
Command Syntax
Terminal input
pgsmart obs exporter [Operations] [Flags], where:

Operations:

  • Status: Status of the Node Metrics Exporter service.
  • Start: Start Node Metrics Exporter service.
  • Stop: Stop Node Metrics Exporter service.
  • Restart: Restart Node Metrics Exporter service.
  • Reload: Reload 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
  • **-q, --quiet ** => Non-interactive execution for controlling the service (status|start|stop|restart|reload). Used 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 Node Metrics Exporter Service

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 the 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 the 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 the 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 the 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