6 lines
135 B
Plaintext
6 lines
135 B
Plaintext
|
if [ -r /var/run/haproxy.stat ]; then
|
||
|
echo "<<<haproxy:sep(44)>>>"
|
||
|
echo "show stat" | socat - UNIX-CONNECT:/var/run/haproxy.sock
|
||
|
fi
|
||
|
|