mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 23:15:49 +03:00
[GH-ISSUE #1027] Support failover checks #714
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#714
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 @TheCataliasTNT2k on GitHub (Jul 14, 2024).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/1027
It would be great, if multiple checks could be grouped by tag.
A notification should always include all checks of this tag group and should be sent if and only if the whole group is down.
This enables admins to send notifications to "clients" (someone, who does not care, if a node of a cluster goes down, but if at least one node is up).
The option to send notifications per check should be retained for admins though.
This could be achieved, by adding the tags as a "check" on their own, which only goes down, if all checks which are tagged for this tag are down as well.
Integrations could be enabled like every other check.
@cuu508 commented on GitHub (Jul 18, 2024):
Thanks for the suggestion, but this is too niche and far outside the scope of this project.
You can achieve something similar if you configure all nodes in the cluster ping the same check, and only ping on success, and keep quiet on failures. As long as at least one node is pinging, the check will stay up.
@TheCataliasTNT2k commented on GitHub (Jul 20, 2024):
Sad to hear that.
Yes, that would be a way, but only for the "users", the admins would not be notified if a single node goes down, which is important for them but not the "users"
@cuu508 commented on GitHub (Jul 22, 2024):
You could set up each node to ping two URLs, the second one being a node-specific check which triggers notifications to admins.
Not elegant, but possible today.