haproxy and stats not working :(

From: Guillaume Bourque <Guillaume.Bourque#gmail.com>
Date: Mon, 17 Mar 2008 11:43:27 -0400


Hello !

I'm having hard time figuring out how to get the stats, I would need your help to resolve 2 issues

My configuration: debian 8.04 dev, haproxy version haproxy-1.3.14.3-pcre-40kses-splice-linux-i586 and haproxy_1.3.12.dfsg-1_i386.deb

Here is my config file
global

# mettre -r ds /etc/default/syslogd pour accepter le syslog

        log 127.0.0.1 local0 debug

#log loghost local0 info
stats socket /tmp/stats maxconn 4096 debug
#quiet
user haproxy group haproxy defaults log global option tcplog
#gb option dontlognull
retries 3 maxconn 2000 contimeout 5000 clitimeout 14400000 srvtimeout 14400000
#gb stats auth someuser:somepassword
listen stats 192.168.4.24:80 mode http option httpclose stats enable stats uri / listen rdpfarm :3389 mode tcp balance source # keep alive vers client et le serveur option tcpka server RDP-1 192.168.4.111:3389 check port 3300 server RDP-1bk 192.168.4.111:3389 check port 3389 backup server RDP-2 192.168.4.201:3389 check port 3300 server RDP-2bk 192.168.4.201:3389 check port 3389 backup
root#lb1:~#
  1. I have one tcp instance working fin under haproxy I would like to create a listen section just for the stats as per the doc but when I do so I get this error on haproxy startup

/etc/init.d/haproxy start

Thnaks a lot

-- 
Guillaume Bourque, B.Sc.,
consultant, infrastructures technologiques
Logisoft Technologies inc.
514 576-7638
http://www.logisoftech.com
Received on 2008/03/17 16:43

This archive was generated by hypermail 2.2.0 : 2008/03/17 16:45 CET