---
sourceDocument: Xanadu IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/xanadu/it-operations-management

 Release :

    - xanadu

ft:locale :

    - pt-BR

ft:publication_title :

    - Xanadu IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Verificações e políticas padrão do HAProxy

# Verificações e políticas padrão do HAProxy {#ariaid-title1}

* Versão de lançamento: Xanadu
* 
* Atualizado 1 de ago. de 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Agent Client Collector fornece as seguintes verificações e políticas padrão para monitoramento do HAProxy.
{#haproxy-checks-policies__table_vzf_4m4_f5b__entry__5}

| Tipo | Verificação | Descrição | Uso | Saída |
|-|-|-|-|-|
| Evento | check-haproxy | Recupera os detalhes do balanceador de carga HAProxy para determinar se ele está em execução. | commonchecks    check-haproxy (options) -h    host host -P    port Port on which the HAProxy server is running -A    all services all services -q    Path on which HAProxy Stats URI is configured -use ssl    ssl Exemplo de uso: `check-haproxy.rb -h localhost -P 8080 -A verdadeiro -q stats -use_ssl falso` | `CheckHAProxy OK: PARA CIMA: 50% de 4 // serviços, PARA BAIXO: back-end/nginx1[L4CON], back-end/BACK-END ` |
[Tabela 1. Política de eventos do HAProxy]

{#haproxy-checks-policies__table_vzf_4m4_f5b} {#haproxy-checks-policies__table_wkh_qp4_f5b__entry__5}

| Tipo | Verificação | Descrição | Uso | Saída |
|-|-|-|-|-|
| Métrica | métricas-verificar-haproxy | Recupera as métricas do balanceador de carga HAProxy para determinar se ele está em execução. | commonchecks metrics-check-haproxy (options) -q host		Path on which HAProxy Stats URI is configured -P port		Port on which the HAProxy server is running -c host	       host name Exemplo de uso: `métricas-check-haproxy.rb -q stats -P 8080 -c localhost` | <hostname>.haproxy.frontend.session_current 0 1652265603 <hostname>.haproxy.frontend.session_total 0 1652265603 <hostname>.haproxy.backend.session_current 0 1652265603 <hostname>.haproxy.backend.session_total 1 1652265603 |
[Tabela 2. Política de métricas do HAProxy]

{#haproxy-checks-policies__table_wkh_qp4_f5b}

