Gerenciamento do Serviço de Alertas
Confira a seguir os comandos disponíveis para efetuar o controle do Serviço de Alertas.
Sintaxe do Comando
Terminal input
pgsmart obs notifier [OPERAÇÃO] [FLAGS]
Operações:
- Status Situação do Serviço de Alertas.
- Iniciar Serviço de Alertas.
- Parar Serviço de Alertas.
- Reiniciar Serviço de Alertas.
- Recarregar Serviço de Alertas.
Flags:
- -a, --agent=
<agent>
=> Alias, hostname ou IP do servidor onde o PgSmart Agent deseja está instalado. - -h, --help => Ajuda
- -q, --quiet => Execução não interativa para controle dServiço de Alertas(status|start|stop|restart|reload)
Execução Não-Interativa
Terminal input
pgsmart obs notifier [status|start|stop|restart|reload] -q -a `<agent>`
Execução Interativa
Situação do Serviço de Alertas
- Instruções
- Vídeo
Terminal input
pgsmart obs notifier status
-
Selecione o
Agente
do PgSmart ou registrar um novo.Figura 1 - Exportador de Métricas - notifier - Status
Carregando...
Parar Serviço de Alertas
- Instruções
- Vídeo
Terminal input
pgsmart obs notifier stop
-
Selecione o
Agente
do PgSmart ou registrar um novo.Figura 3 - Exportador de Métricas - notifier - Parada
Carregando...
Iniciar Serviço de Alertas
- Instruções
- Vídeo
Terminal input
pgsmart obs notifier start
-
Selecione o
Agente
do PgSmart ou registrar um novo.Figura 2 - Exportador de Métricas - notifier - Inicializa
Carregando...
Reiniciar Serviço de Alertas
- Instruções
- Vídeo
Terminal input
pgsmart obs notifier restart
-
Selecione o
Agente
do PgSmart ou registrar um novo.Figura 4 - Exportador de Métricas - notifier - Reinicializa
Carregando...
Recarregar Serviço de Alertas
- Instruções
- Vídeo
Terminal input
pgsmart obs notifier reload
-
Selecione o
Agente
do PgSmart ou registrar um novo.Figura 5 - Exportador de Métricas - notifier - Recarga
Carregando...