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/


Reply via email to