Skip to main content
Version 3.1.0

Metrics Exporter Management for Notifier

Below are the commands available to control the Alert Service.

Command Syntax
Terminal input
    pgsmart obs notifier [OPERATION] [FLAGS]

Operations:

  • Status of the Alert Service.
  • Start the Alert Service.
  • Stop the Alert Service.
  • Restart the Alert Service.
  • Reload the Alert Service.

Flags:

  • -a, --agent=<agent> => Alias, hostname, or IP where the desired PgSmart Agent is installed.
  • -h, --help => Help.
  • -q, --quiet => Non-interactive execution for controlling the Alert Service (status|start|stop|restart|reload).
Non-Interactive Execution
Terminal input
    pgsmart obs notifier [status|start|stop|restart|reload] -q -a &lt;agent&gt;
Interactive Execution

Status of the Alert Service

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

    Figure 1 - Metrics Exporter - notifier - Status
    Figure 1 - Metrics Exporter - notifier - Status

Stop the Alert Service

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

    Figure 2 - Metrics Exporter - notifier - Stop
    Figure 2 - Metrics Exporter - notifier - Stop

Start the Alert Service

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

    Figure 3 - Metrics Exporter - notifier - Start
    Figure 3 - Metrics Exporter - notifier - Start

Restart the Alert Service

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

    Figure 4 - Metrics Exporter - notifier - Restart
    Figure 4 - Metrics Exporter - notifier - Restart

Reload the Alert Service

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

    Figure 5 - Metrics Exporter - notifier - Reload
    Figure 5 - Metrics Exporter - notifier - Reload