Hi there,
We’re using version 2.0.13 in Ubuntu and i’m trying to configure the http-check send as the documentation says http://cbonte.github.io/haproxy-dconv/2.0/configuration.html#option%20httpchk. But i don’t know why the config check said:
[ALERT] 123/142618 (247947) : parsing [/etc/haproxy/haproxy.cfg:53] : 'http-check' only supports 'disable-on-404', 'send-state', 'expect'.
My config file looks like this:
backend nodes
mode http
option httpchk POST / HTTP/1.1
http-check send hdr Content-Type application/json body {\"jsonrpc\":\"2.0\",\"method\":\"getHealth\",\"id\":1}"
#http-check expect string "{\"jsonrpc\":\"2.0\",\"result\":\"ok\",\"id\":1}"
server node1 127.0.0.1:8899 check
Someone know whats going on? is it the version?
Cheers!