mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #1726] Host healthchecks #1284
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1284
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rt87 on GitHub (Jan 4, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1726
Is your feature request related to a problem? Please describe.
Only the problem of me messing around with my various services and screwing up occassionally. This leads to the proxy not being able to do its job due to my reckless changes to firewall rules, port or host changes etc, etc.
Describe the solution you'd like
The possibility to add a "periodic healthcheck" to hosts (either all or individually) as a sort of healthcheck. The check should basically send a request to the target host (without any location) and expect a http status of 200 (or 200-ish / "OK"; redirects may be acceptable as well, depending on the use case). If the OK-condition is met, some OK-symbol (green circle, check mark, ...) should be visible from the resp. overview page. If not, a you-screwed-up symbol (red circle, red X, ...) should be displayed instead.
Note: Of course this does not guarantee that each and every location, that I may need in the future, exists and is valid, but at least I would know that my hostname exists and is http-reachable under the given port.
Describe alternatives you've considered
I could of course either write a cron script which curls all the hosts or simply use service that is meant for such checks, e.g. healthchecks.io. However, a somehwat major drawback would be that I would have to keep both NPM and my healthchecks synchronized, which may get tedious in the long run.... I do not need or ask for a fully fledged solution such as healthchecks.io, just some very basic thumbs up/down indicator
Additional context
The column "Status" with current values of either "online" or "disabled" may need some clarification within this context, e.g.
Status: Enabled/Disabled | Active/Inactive
Check: Passed/Failed
@brink668 commented on GitHub (Jan 9, 2022):
I agree with this, Status shows "Online" its misleading. Purposely put in a service that does not exist and it still shows it as "Online"
@TheUntouchable commented on GitHub (Feb 11, 2022):
I just started using npm and was really confused about the "online" status. I played with some commercial proxys in the past already and most of them have such health checks build in by default and I thought it would be the same "online" thing here :D
@github-actions[bot] commented on GitHub (Feb 28, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@wj7998 commented on GitHub (Oct 23, 2024):
I am also confused on "Online" status, in my use case, online status should indicate forwarded port should be active on listening. I would recommend to have following status,
"setting error" - with ! yellow circle
"setting right, but forward port is unreachable" - with red circle
"setting right, but forward port is reachable" - with green circle
@github-actions[bot] commented on GitHub (Jun 18, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍