---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/it-operations-management

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Enable viewing HAProxy metrics

# Enable viewing HAProxy metrics {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Configure the HAProxy metrics stats page to enable monitoring your system devices by
viewing HAProxy metrics.

## Vorbereitungen

Role required: agent_client_collector_admin

## Warum und wann dieser Vorgang ausgeführt wird

HAProxy provides load balancing and reverse proxy capabilities for both HTTP and TCP
requests. The HAProxy checks remove backend servers that fail several health checks in a
row, and transfer incoming traffic to backend servers as part of load balancing.

## Prozedur

1. Access the HAProxy configuration file, located at: /etc/haproxy/haproxy.cfg.
2. Add the following to the bottom of the file:  

       listen frontend *:8080       #Haproxy 
       Monitoring run on port 8080
       mode http
       option forwardfor
       option httpclose
       stats enable
       stats show-legends
       stats refresh 5s
       stats uri /stats        #URL for HAProxy monitoring
       stats realm Haproxy\Statistics.   #Title for pop up window
       stats auth admin:admin     #User and Password for login to the monitoring dashboard
       stats admin if TRUE
       default_backend backend       #This is optional for monitoring backend 

3. Run the following command to restart the HAProxy:  
   `sudo service
   haproxy restart`
4. View the HAProxy metrics on your system by viewing the HAProxy metrics stats page, accessible from the following URL:  
   http://\<HAProxyServer\>:8080/stats
{#configure-haproxy-metrics-stats-page__steps_tbt_dz1_35b}
**Zugehörige Verweise**   

* [HAProxy default checks and policies](https://servicenow-prod.fluidtopics.net/e1VMkgAKp~UgAg50PuzKWQ "Agent Client Collector provides the following default checks and policies for HAProxy monitoring.")

