nginx_upstream_check_module
nginx_upstream_check_module copied to clipboard
Health checks upstreams for nginx
操作系统系统版本 ```NAME="Rocky Linux" VERSION="9.3 (Blue Onyx)" ID="rocky" ID_LIKE="rhel centos fedora" ``` 内核版本 ``` 5.14.0-362.24.1.el9_3.0.1.x86_64 ``` openssl版本 ``` OpenSSL 3.0.7 1 Nov 2022 (Library: OpenSSL 3.0.7 1 Nov 2022) ``` make...
Currently we have support for endpoint type http but most of the time application export https API which can not be used as health check endpoint with is plugin. At...
环境: 银河麒麟服务器版V10(64位) Nginx1.18.0和Nginx1.22.0 在 make 时,报出错误如下: /usr/bin/ld: objs/addon/nginx_upstream_check_module-master/ngx_http_upstream_check_module.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE collect2: 错误:ld 返回 1 make[1]: ***...
 please help me
编译前执行如下patch [root@pro-zdb-nginx01-NEW objs]# patch -p1 < /usr/local/src/nginx-1.19.4/nginx_upstream_check_module-0.4.0/check_1.16.1+.patch 已正确编译加入模块nginx参数如下 nginx version: nginx/1.19.4 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) built with OpenSSL 1.0.2k-fips 26 Jan 2017 TLS SNI support...
rise数不累加
upstream aa.test.com { server xx.xx.xx.xx:80; check interval=1000 rise=2 fall=2 timeout=1000 type=http; check_keepalive_requests 200; check_http_send "GET /xx.html HTTP/1.1\r\nConnection: close\r\nHost: aa.test.com\r\n\r\n"; check_http_expect_alive http_2xx http_3xx; } 当我设置check_keepalive_requests 200;时候,rise数不累加,导致后端服务器down了后,不会摘除,如果设置为1的话,就正常。 nginx从nginx-1.20到nginx-1.25都试了,都不行。
hello @yaoweibin, this PR expose a api ngx_http_upstream_check_upstream_down for check upstream status to solve #99
This PR adds support for prometheus format to check_status endpoint. Fixes #190
Hi - can you please update the patch for v1.24 if possible?
编译版本 nginx-2a0a77b5fa3a(nginx-1.18.0) 编译环境 win10,vs2022,strawberry-perl-5.32.1.1-64bit 编译路径 /objs/lib ├─nginx-upsync-module-2.1.3 ├─nginx_upstream_check_module-0.4.0 ├─openssl-1.1.1v ├─pcre-8.45 └─zlib-1.2.13 我在nmake编译中遇到 cl -c -O2 -W4 -nologo -MT -Zi -Fdobjs/nginx.pdb -DFD_SETSIZE=1024 -DNO_SYS_TYPES_H -Yungx_config.h -Fpobjs/ngx_config.pch -I src/core -I src/event -I src/event/modules...