status page question - hanafail
Hi, I've been writing a standalone perl script to parse the csv status page to extract some statistics and build pretty RRD Graphs based on current sessions, status and queues. All is working but I was wondering if anyone could enlighten me to meaning of the hanafail field in 1.4? Thanks in advance, Duncan
Re: status page question - hanafail
Hi, If i understand well the code, it is the number of failed health analyses. Hervé. On 02/17/2010 02:46 PM, duncan hall wrote: Hi, I've been writing a standalone perl script to parse the csv status page to extract some statistics and build pretty RRD Graphs based on current sessions, status and queues. All is working but I was wondering if anyone could enlighten me to meaning of the hanafail field in 1.4? Thanks in advance, Duncan -- Hervé COMMOWICK, EXOSEC (http://www.exosec.fr/) ZAC des Metz - 3 Rue du petit robinson - 78350 JOUY EN JOSAS Tel: +33 1 30 67 60 65 - Fax: +33 1 75 43 40 70 mailto:hcommow...@exosec.fr
Re: Problem with source IP when balancing SSL requests
Hi 2010/2/17 Przemek Konopczynski cz...@o2.pl Hi everyone I have haproxy server for balancing https. Haproxy works in TCP mode, and I want to see real IP adress of the client request in server log. Is it possible? Forwardfor option works only in http mode. Now in server log I see only my haproxy-server local IP address. Regards Przemek I'd just use LVS for frontend and then tell SSL servers to add X-Forwarded-For and connect to haproxy. In my setup i have lighttpd doing SSL and option forwardfor except 127.0.0.1 in lighttpd config Regards Mariusz
how to enable syslogging
I need to enable syslog of haproxy. I search in Google but can't find the right one. I'm using Fedora 8 so syslog was rsyslog. I edit /etc/rsyslog.conf and put the ff: local0.* /var/log/haproxy.log local1.* /var/log/haproxy-1.log Then I edit /etc/sysconfig/rsyslog and put SYSLOGD_OPTIONS=-m 0 -r. After that I restart rsyslog service. I see the file haproxy.log and haproxy-1.log but when I restart the haproxy, nothing comes up in the log file. I even browse the site but still no input on the log file. Am I missing something? Most of the suggestion was on the above but its not working on mine. Does anyone also experience the same problem and found a solution?