Hi Aleksandar, Thank you for your response. Yes, I am using "Log-health-checks" in my configuration and here is my HAProxy version information.
[root@DS-11-82-R7-CLST-Node1 ~]# haproxy -vv HA-Proxy version 1.7.8 2017/07/07 Copyright 2000-2017 Willy Tarreau <[email protected]> Build options : TARGET = linux2628 CPU = generic CC = gcc CFLAGS = -O2 -g -fno-strict-aliasing -Wdeclaration-after-statement -fwrapv OPTIONS = Default settings : maxconn = 2000, bufsize = 16384, maxrewrite = 1024, maxpollevents = 200 Thanks & Regards Rajesh Kolli -----Original Message----- From: Aleksandar Lazic [mailto:[email protected]] Sent: Thursday, September 07, 2017 10:08 PM To: Rajesh Kolli; [email protected] Subject: Re: Need to understand logs Hi Rajesh. Rajesh Kolli wrote on 07.09.2017: > Hello, > > I am using HAProxy community version from a month, i need to > understand logs of HAProxy for the i need your help. > > Here is a sample of my logs: > Sep 6 17:03:31 localhost haproxy[19389]: Health check for server > Netrovert-sites/DS-11-81-R7-CLST-Node2 succeeded, reason: Layer4 check > passed, check duration: 0ms, status: 1/2 DOWN. > Sep 6 17:03:33 localhost haproxy[19389]: Health check for server > Netrovert-sites/DS-11-81-R7-CLST-Node2 succeeded, reason: Layer4 check > passed, check duration: 0ms, status: 3/3 UP. > Sep 6 17:03:33 localhost haproxy[19389]: Server > Netrovert-sites/DS-11-81-R7-CLST-Node2 is UP. 2 active and 0 backup > servers online. 0 sessions requeued, 0 total in queue. > > Here my doubts are, in first line health check is 1/2 DOWN and 2nd > line it is 3/3 UP, in both cases Layer4 check passed. How to > understand it? what exactly it is checking? what are these 1/2 & 1/3's? > > Finally, is there any document to understand its logging? There is a logging part in the doc but I haven't seen such entries in the document. http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#8 Maybe you have activated http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#4.2-option%20log-health-checks in your config. It would be nice to know which haproxy version you use. haproxy -vv -- Best Regards Aleks https://www.me2digital.com/

