I have an HAProxy as a member in A10 and whenever A10 sends “/healthcheck” call- HAProxy needs to return “ACTIVE” word. I was trying-
timeout server 60s
default-server inter 5s fall 3 rise 2
http-check expect string “ACTIVE”
errorfile 503 /var/prod/xxx-shared/scripts/HAProxy/hk.http
but definitely I’m doing something wrong- as my tests are showing
503 Service Unavailable
No server is available to handle this request.
instead of ACTIVE word in the response.
contents of hk.http:
HTTP/1.1 200 OK\r\n