Is anyone using any health check modules on nginx.
What we need is a simple health checker that would ping the backend nodes and would stop sending traffic to one of them if it doesnt respond to the health check.
I found this - https://github.com/cep21/healthcheck_nginx_upstreams
But then trying to getting this to compile for centos has been extremely difficult.
Let me know if you have been able to successfully setup this on linux or have any other ideas as to whether I should use another alternative health check module.
--ERROR 1--
[root@SOMESERVER nginx-1.6.1]# patch -p1 < /tmp/healthchecknginx/nginx_upstream_check_module-0.1.9/check_1.2.6+.patch
1 out of 8 hunks FAILED -- saving rejects to file src/http/ngx_http_upstream_round_robin.c.rej
patching file src/http/ngx_http_upstream_round_robin.h
-- ERROR 2--
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.