Red Hat Bugzilla – Bug 1289192
Create stats socket for haproxy
Last modified: 2016-04-18 02:55:00 EDT
RHEL OSP Director should configue haproxy such that a UNIX domain socket (stats socket) is available to collect information about haproxy. This would be useful for sosreports.
To do this, simply add two lines to the "global" section of haproxy.cfg:
stats socket /var/run/haproxy.sock mode 600 level user
stats timeout 2m
Note that this socket is set to "user" level, so this socket is limited to read-only. The "stats timeout" line is optional, but since the default timeout of the stats socket is 10s, we should set this higher.
*** This bug has been marked as a duplicate of bug 1289191 ***