The HaProxy statistics page

HaProxy provides a convenient tool for showing statistics in real time.

For the statistics to show correctly it is recommended to create a separate listen and hang it on a separate port in http mode:

listen stats *:8080
 mode http
 stats enable
 stats realm LoadBalancer_statistics
 stats scope http-web
 stats scope https-web
 stats scope http-app
 stats scope mysql-proxy
 stats auth admin:<strong>adminpassword</strong>
 stats uri /stats

After a restart of the HaProxy daemon the statistics will be available at:
http://server_ip:8080/stats

Screenshot from 2014-10-31 08:31:20

Share Button