Hi, I think your looking for this?: option socket-stats Regards, PiBa-NL Op 12-1-2016 om 19:35 schreef Michael Rennecke:
Hello,is it possible to show seperate stats every bind line in a frontend? I use haproxy 1.6.3. global maxconn 4000 tune.ssl.default-dh-param 4096 ssl-default-bind-ciphers CHACHA20+EECDH:AES256+EECDH ssl-default-bind-options force-tlsv12 ssl-dh-param-file /etc/haproxy/dh4096.pem user haproxy group nobody daemon chroot /var/lib/haproxy stats socket /var/run/haproxy.sock mode 660 level admin defaults mode http timeout connect 5s timeout client 5s timeout server 5s timeout http-keep-alive 70s stats scope . option forwardfor frontend http-in bind :443 tfo ssl crt /etc/haproxy/certs/foo.example.pem crt /etc/haproxy/certs/ ecdhe secp384r1 name ssl-traffic bind :80 tfo name http-traffic bind :2000 tfo name intern-traffic http-response set-header X-Frame-Options DENY http-response set-header X-Content-Type-Options nosniff http-response set-header Strict-Transport-Security max-age=31536000;\ includeSubdomains;\ preload http-request redirect scheme https code 301 if !{ ssl_fc } http-request set-header X-Forwarded-Proto https use_backend stats if { path_beg /haproxy/stats } use_backend nginx if { hdr(Host) -m beg nginx } use_backend apache if { hdr(Host) -m beg apache } default_backend nginx backend nginx server nginx1 10.0.0.2:81 check server nginx2 10.0.0.3:81 check backup backend apache server apache1 10.0.0.5:82 check server apache2 10.0.0.6:82 check backup backend stats stats enable stats show-legends stats realm Haproxy\ Statistics stats uri /haproxy/stats stats refresh 30s

