Nice article: http://www.mgoff.in/2010/07/14/haproxy-gathering-stats-using-socat/
http://code.google.com/p/haproxy-docs/wiki/UnixSocketCommands
haproxy.cfg:
stats socket /var/haproxy level admin
$ echo "clear counters all" | socat unix-connect:/var/haproxy stdio
http://code.google.com/p/haproxy-docs/wiki/UnixSocketCommands
haproxy.cfg:
stats socket /var/haproxy level admin
$ echo "clear counters all" | socat unix-connect:/var/haproxy stdio
Links to articles and code are dead. Would be great if a summary prefaced the commands, instead of just links to other articles. Thanks
ReplyDelete