Hi
I am relatively new to this great software and I am having problems
with the feature stats socket. it won't write the haproxy.stat file no
matter what. so I cannot run the "socat".
r...@lb1:~# echo "show stat" | socat unix-connect:/var/run/haproxy.stat stdio
2009/01/21 12:12:54 socat[4887] E connect(3, AF=1
"/var/run/haproxy.stat", 23): No such file or directory
I wanted to try to write some script that checks the connection
distribution every n seconds (i.e.for a monitoring tool)... any advice
for this?
My system is running an Ubuntu server 8.04 and my configuration file
is as follows
r...@lb1:~# cat /etc/haproxy.cfg
global
log 127.0.0.1 syslog
log 127.0.0.1 kern notice
stats socket /var/run/haproxy.stat mode 600
user haproxy
group haproxy
maxconn 4096
defaults
log global
mode http
option httplog
option dontlognull
retries 3
redispatch
maxconn 2000
contimeout 5000
clitimeout 50000
srvtimeout 50000
listen ias 192.168.0.250:80
mode http
stats enable
balance roundrobin
option httpclose
server ias1 192.168.0.201:80 check
server ias2 192.168.0.202:80 check
what am I doing wrong? thanking you in advance
Martin
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.