-
Notifications
You must be signed in to change notification settings - Fork 994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] nginx request location / not /nginx-status #1529
Comments
hi thanks for feedback, we will reproduce this and fix. |
hi, can not reproduce this, Please check whether nginx on your side has installed and enabled the
add config in nginx.conf
|
https://hertzbeat.com/docs/help/nginx/ |
我已经在nginx中加了上面配置,同时我自己访问都是ok的。然后我在hertbeat里配置nginx端口,使用hertbeat测试不通过。然后我查看了nginx的日志,发现请求的路径是/, 而不是/nginx-status。 同时我去查看hertbeat的日志,就是上面截图里的日志。 |
I have added the above configuration to nginx, and it is ok for me to access it myself. Then I configured the nginx port in hertbeat, but the test using hertbeat failed. Then I checked the nginx log and found that the requested path was /, not /nginx-status. At the same time, I checked the log of hertbeat, which is the log in the screenshot above. |
hi, 我看nginx的监控模版,测试可用性的时候就是去访问的路径 |
Hi, I looked at the nginx monitoring template. When testing availability, the access path is |
你这个原因应该是因为这个,测试可用性时访问了路径 |
Your reason is because of this. When testing availability, you accessed the path |
Is there an existing issue for this?
Current Behavior
添加nginx监控,nginx那边配置了/nginx-status, 但是HertzBeat这边测试不通过。查看access.log发现请求的是/,而不是/nginx-status。同时修改过app-nginx.yaml中的url为/nginx-status,没有效果。
Expected Behavior
Steps To Reproduce
Environment
Debug logs
Anything else?
The text was updated successfully, but these errors were encountered: