Commit fda476b2 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Added stats frontend to be accessible by Zabbix Agent locally

parent f16f22bd
...@@ -20,5 +20,11 @@ define HAPROXY_CFG ...@@ -20,5 +20,11 @@ define HAPROXY_CFG
global global
log /dev/log local0 info log /dev/log local0 info
stats socket /run/haproxy/info.sock mode 666 expose-fd listeners level user stats socket /run/haproxy/info.sock mode 666 expose-fd listeners level user
frontend stats
bind *:8404
stats enable
stats uri /stats
stats refresh 10s
endef endef
export HAPROXY_CFG export HAPROXY_CFG
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment