Skip to content

Instantly share code, notes, and snippets.

@srinivasmohan
Created August 29, 2012 21:38
Show Gist options
  • Save srinivasmohan/3519295 to your computer and use it in GitHub Desktop.
Save srinivasmohan/3519295 to your computer and use it in GitHub Desktop.
Sample config to get HA Proxy stats view
#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