apache / apache/hertzbeat

[BUG] nginx request location / not /nginx-status

Open
#1,529 11 comments 1 reaction 0 assignees View on GitHub
good first issue question
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

添加nginx监控,nginx那边配置了/nginx-status, 但是HertzBeat这边测试不通过。查看access.log发现请求的是/,而不是/nginx-status。同时修改过app-nginx.yaml中的url为/nginx-status,没有效果。
![WX20240202-172415@2x](https://github.com/dromara/hertzbeat/assets/16606871/c0428523-7e7a-472e-a78f-fc6ae8e8eca7)

### Expected Behavior

*

### Steps To Reproduce

*

### Environment

```markdown
HertzBeat version(s): 1.4.4 使用docker部署的
```

### Debug logs

*

### Anything else?

*

Contributor guide

Open the contributing guide

Research direction

Start by reviewing app-nginx.yaml and the merged pull request #1533, then reproduce the Docker-deployed nginx monitoring check against the reported configuration. Confirm that HertzBeat requests /nginx-status rather than / and verify the behavior against the issue's expected monitoring result.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, nginx
Domain
observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.