Health check issue


#1

Hi!

I have helath check of website with GET request. Expecting some string in answer. In 1.5 18 it’s works fine.
But when i move this health check to 1.7.3 or 1.7.4 it’s stop working. Server is offline.
strings from config:

option httpchk GET /solr/test/admin/ping?wt=json&distrib=true&indent=true HTTP/1.1\r\nHost:\ www.here.com
http-check expect string “zkConnected”:true


#2

You did not escape the space between GET and /solr and true and HTTP.

This needs to look like:
option httpchk GET\ /solr/test/admin/ping?wt=json&distrib=true&indent=true\ HTTP/1.1\r\nHost:\ www.here.com


#3

Thanks a lot. I found other mistakes and now health check is working.