Skip to main content
Version Next

Node Metrics Exporter Configuration

The Node Metrics Exporter is used to collect operational information from machines (physical or virtual). The Node-type Exporter provides metrics such as CPU, memory, disk, and network usage. It is widely used to monitor the health and performance of the environment.

This configuration allows defining the port used to expose Node metrics for Prometheus collection.

Prerequisites
Command Syntax
Terminal input
    pgsmart obs exporter config [Flags]

Flags:

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

Non-interactive execution is disabled for this operation.

Interactive Configuration
Terminal input
    pgsmart obs exporter config

Node Metrics Exporter Configuration

  1. Select the PgSmart Agent or Register a new one.

  2. Select the Exportador de Métricas Node option.

  3. Enter the port to expose metrics and the web interface.

    Figure 1 - Node Metrics Exporter Configuration
    Figure 1 - Node Metrics Exporter Configuration
    note

    Exported metrics can be accessed via console:

    Terminal input
        curl http://192.168.56.235:9100/metrics

    Or through the web interface:

    http://192.168.56.235:9100/metrics