How to configure HAProxy-WI for custom HAProxy Stats page

HAProxy Stats page

The HAProxy Stats is a great and powerful page. It provides a few abilities:

The HAProxy Stats page gives you a near real-time feed of information that you can use to troubleshoot proxied services, get insights about your traffic, and watch the load placed upon your servers. However, the metrics are labelled using shorthand names and prefixes.

Also the HAProxy Stats page grant ability to manage frontends/backends.

add_group
HAProxy-WI improves the HAProxy Stats pages and collects it all in one, temporarily disable/enable, switch to maintenance/ready mode for backend servers and filter sections by their status

Go to UP

Configure HAProxy-WI for custom HAProxy Stats page

If HAProxy service has been installed not via HAProxy-WI, should be checked HAProxy Stats page. If the "listen stats" exists, you should configure HAProxy-WI for working with your configuration.

Go to the Servers -> Settings. Edit settings inside the "haproxy section" according to your listen stats configuration(in the black box)

add_group
Note: Be aware these settings have influence only for servers what inside your current group. If you would like to change for another groups you should change your current group and do the same

Go to UP

Configure HAProxy service for working with HAProxy-WI

If HAProxy service has been installed not via HAProxy-WI, should be checked HAProxy Stats page. If the "listen stats" does not exist, you should configure HAProxy service for working with HAProxy-WI.

How to do it you may read in this article

Go to UP