[GH-ISSUE #917] Feature request: dependency between checks for decision on changing health status or sending notifications #643

Closed
opened 2026-02-25 23:43:08 +03:00 by kerem · 2 comments
Owner

Originally created by @netstx on GitHub (Nov 18, 2023).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/917

Hi @cuu508,

I checked closed issues, does not seem like this has been suggested before.

My suggestion / feature request is for dependency between checks, to avoid raising an alert for check Y if check X is already in alert.

For example: let's say I have a check on my internet router and a check for a cron job on a server that depends on this router to connect to the internet. If my router (parent check) goes down, the cron job check (child) would also would fail. Because of this dependency, I'd only need the router check alert notification(s), and could ignore the cron job check's alert notifications(s).

This is a simple example, but there are many other types of "dependencies" that I think users could come up with (between applications or cron jobs, scripts, etc).

The dependency check could simply not issue the notifications, but still keep track of missed checks, or ignore missed checks until the dependency clears (or having option for both). This would be somewhat similar to the "maintenance window" feature in some uptime monitoring tools out there, like UptimeRobot.

One thing to keep in mind, if grace period is the same for parent and child checks, it could cause issues, so perhaps part of the dependency feature, a child check would automatically have its grace period set higher by X% of the parent check's grace period - or some other method to avoid missing the dependency due to parent grace period.

Another way to go about this would be to implement a "maintenance window" feature where a one-time date/time or recurring date/time maintenance window would ignore missed pings or not send notifications. Then, a child check could automatically have a maintenance window created if a parent check is down. This may not be as elegant.

Thanks for listening, and for all your work on this awesome project.

Best,
Rafael

Originally created by @netstx on GitHub (Nov 18, 2023). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/917 Hi @cuu508, I checked closed issues, does not seem like this has been suggested before. My suggestion / feature request is for dependency between checks, to avoid raising an alert for check Y if check X is already in alert. For example: let's say I have a check on my internet router and a check for a cron job on a server that depends on this router to connect to the internet. If my router (parent check) goes down, the cron job check (child) would also would fail. Because of this dependency, I'd only need the router check alert notification(s), and could ignore the cron job check's alert notifications(s). This is a simple example, but there are many other types of "dependencies" that I think users could come up with (between applications or cron jobs, scripts, etc). The dependency check could simply not issue the notifications, but still keep track of missed checks, or ignore missed checks until the dependency clears (or having option for both). This would be somewhat similar to the "maintenance window" feature in some uptime monitoring tools out there, like UptimeRobot. One thing to keep in mind, if grace period is the same for parent and child checks, it could cause issues, so perhaps part of the dependency feature, a child check would automatically have its grace period set higher by X% of the parent check's grace period - or some other method to avoid missing the dependency due to parent grace period. Another way to go about this would be to implement a "maintenance window" feature where a one-time date/time or recurring date/time maintenance window would ignore missed pings or not send notifications. Then, a child check could automatically have a maintenance window created if a parent check is down. This may not be as elegant. Thanks for listening, and for all your work on this awesome project. Best, Rafael
kerem closed this issue 2026-02-25 23:43:08 +03:00
Author
Owner

@cuu508 commented on GitHub (Nov 21, 2023):

Thanks for the suggestion @netstx. There's a similar feature suggestion here: #316

<!-- gh-comment-id:1820781883 --> @cuu508 commented on GitHub (Nov 21, 2023): Thanks for the suggestion @netstx. There's a similar feature suggestion here: #316
Author
Owner

@netstx commented on GitHub (Nov 21, 2023):

Thanks for the suggestion @netstx. There's a similar feature suggestion here: #316

Didn't catch that, thank you.

<!-- gh-comment-id:1820959617 --> @netstx commented on GitHub (Nov 21, 2023): > Thanks for the suggestion @netstx. There's a similar feature suggestion here: #316 Didn't catch that, thank you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#643
No description provided.