HAProxy Health Check Monitoring

Hi All,

I know HAProxy monitors the health of backend servers periodically.

Is there any way to check HAProxy server itself is UP or DOWN?

Greetings!

You can set monitor-uri in a frontend.

monitor-uri <uri>

When an HTTP request referencing <uri> will be received on a frontend,
HAProxy will not forward it nor log it, but instead will return either
"HTTP/1.0 200 OK" or "HTTP/1.0 503 Service unavailable", depending on failure
conditions defined with "monitor fail". This is normally enough for any
front-end HTTP probe to detect that the service is UP and running without
forwarding the request to a backend server. Note that the HTTP method, the
version and all headers are ignored, but the request must at least be valid
at the HTTP level. This keyword may only be used with an HTTP-mode frontend.