HAProxy default checks and policies

reference australia Updated Sep 10, 2026 1 min read haproxy-checks-policies.md
Raw file servicenow.com

Agent Client Collector provides the following default checks and policies for HAProxy monitoring.

Type

Check

Description

Usage

Output

Event

check-haproxy

Retrieves the details of the HAProxy load balancer to determine whether it is running.

CSS
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

Type

Check

Description

Usage

Output

Metric

metrics-check-haproxy

Retrieves the HAProxy load balancer metrics to determine whether it is running.

Text
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

XML
<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
**Parent Topic:**[Agent Client Collector Monitoring default checks and policies](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/agent-client-collector/agent-policies-checks.md)
Search documentation
Search document titles and file paths on the australia branch