How to use the 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

Disable/Enable backend servers

There is option temporarily disable, switch to maintenance mode for backend servers:

Chose need servers and from select menu chose need action, like on picture:

add_group

After press the "Apply", page reload and you will see:

add_group
Note: This are temporarily the changes. If you want to keep it persistently useRuntime API for this purpose.

Go to UP

Filtering frontend/backend

Also HAProxy-WI provides the ability to filter frontends and backends by there status. For instance we do not want to see backends what have servers in maintenance status. As we remember we have just setup two servers to maintenance status and we exclude them from output:

add_group

Go to UP