Created
August 29, 2012 21:38
-
-
Save srinivasmohan/3519295 to your computer and use it in GitHub Desktop.
Sample config to get HA Proxy stats view
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Admin stats - Make admin stats available on http://haproxyservername:8080/statspath/ for user admin | |
# Assuming port 8080 is free on your haproxy.cfg, add this block to make stats available. | |
listen admin_stats 0.0.0.0:8080 | |
mode http | |
stats uri /statspath | |
stats realm Global\ statistics | |
stats auth admin:SOMEPASSWORD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment