---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# HAProxy default checks and policies

# HAProxy default checks and policies {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Agent Client Collector provides the following default checks and policies for HAProxy monitoring.
{#haproxy-checks-policies__table_vzf_4m4_f5b__entry__5}

| Type | Check | Description | Usage | Output |
|-|-|-|-|-|
| Event | check-haproxy | Retrieves the details of the HAProxy load balancer to determine whether it is running. | 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 Usage example: `check-haproxy.rb -h localhost -P 8080 -A true -q stats -use_ssl false` | `CheckHAProxy OK: UP: 50% of 4 // services, DOWN: backend/nginx1[L4CON], backend/BACKEND ` |
[Table 1. HAProxy events policy]

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

| Type | Check | Description | Usage | Output |
|-|-|-|-|-|
| Metric | metrics-check-haproxy | Retrieves the HAProxy load balancer metrics to determine whether it is running. | 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 Usage example: `metrics-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 |
[Table 2. HAProxy metrics policy]

{#haproxy-checks-policies__table_wkh_qp4_f5b}

