title: Combine HAProxy stats?
body: <p>I have two instances of HAProxy. Both instances have stats enabled and are working fine.</p>
  
  <p>I am trying to combine the stats from both instances into one so that I can use a single HAProxy to view the front/backends stats. I've tried to have the stats listener on the same port for both haproxy instances but this isn't working. I've tried using the sockets interface but this only reports on one of the interfaces as well.</p>
  
  <p>Any ideas?</p>
  
  <p>My one haproxy config file looks like this:</p>
  
  <pre><code>global
      daemon
      maxconn 256
      log 127.0.0.1 local0 debug
      log-tag haproxy
      stats socket /tmp/haproxy
  
  defaults
      log global
      mode http
      timeout connect 5000ms
      timeout client 50000ms
      timeout server 50000ms
  
  frontend http-in
      bind *:8000
      default_backend servers
      log global
      option httplog clf
  
  backend servers
      balance roundrobin
      server ws8001 localhost:8001
      server ws8002 localhost:8002
      log global
  
  listen admin
      bind *:7000
      stats enable
      stats uri /
  </code></pre>
  
  <p>The other haproxy config is the same except the front/backend server IPs are different.</p>