[GH-ISSUE #665] Recuring failure notifications for checks configured using a cron schedule #479

Closed
opened 2026-02-25 23:42:36 +03:00 by kerem · 6 comments
Owner

Originally created by @PAI5REECHO on GitHub (Jun 9, 2022).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/665

I have a check that sends out notifications for backups that fail to run at an expected cron schedule. Once a check configured to use a cron schedule enters a Down state it does not send additional notifications for ever subsequent failure thereafter. I would like it to continue to send notifications at every cron interval so I don't forget about the failure state. #510 is kinda close but not really. I get that the way healthchecks works is that it notifies between changes in check state but this is not really what I want.

Originally created by @PAI5REECHO on GitHub (Jun 9, 2022). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/665 I have a check that sends out notifications for backups that fail to run at an expected cron schedule. Once a check configured to use a cron schedule enters a **Down** state it does not send additional notifications for ever subsequent failure thereafter. I would like it to continue to send notifications at every cron interval so I don't forget about the failure state. #510 is kinda close but not really. I get that the way healthchecks works is that it notifies between changes in check state but this is not really what I want.
kerem closed this issue 2026-02-25 23:42:36 +03:00
Author
Owner

@cuu508 commented on GitHub (Jun 10, 2022):

I'm using the hourly reminders feature to get reminded about checks that are down:

image

The hourly reminders are annoying but that's exactly the point. They annoy you until you fix the problem one way or another (pause the check, or run the job manually, but ideally fix the underlying issue so the problem does not happen again after a hour, day or week).

Wouldn't this feature work for you? If not, why not?

<!-- gh-comment-id:1152433206 --> @cuu508 commented on GitHub (Jun 10, 2022): I'm using the hourly reminders feature to get reminded about checks that are down: ![image](https://user-images.githubusercontent.com/661859/173089187-4a77b024-2ecd-4fcf-a3f7-47c12fb53925.png) The hourly reminders are annoying but that's exactly the point. They annoy you until you fix the problem one way or another (pause the check, or run the job manually, but ideally fix the underlying issue so the problem does not happen again after a hour, day or week). Wouldn't this feature work for you? If not, why not?
Author
Owner

@PAI5REECHO commented on GitHub (Jun 11, 2022):

Say I have backups scheduled to run every 5 days, if a backup fails and I'm okay with that I get a notification, 5 days later when it fails again I get no notification. If I used hourly or daily reminders then I'd be getting spammed with something I'm already okay with having failed. I'd like the check state to reset just before the next cron interval so I get additional notifications every 5 days if they continue to fail.

<!-- gh-comment-id:1152978306 --> @PAI5REECHO commented on GitHub (Jun 11, 2022): Say I have backups scheduled to run every 5 days, if a backup fails and I'm okay with that I get a notification, 5 days later when it fails again I get no notification. If I used hourly or daily reminders then I'd be getting spammed with something I'm already okay with having failed. I'd like the check state to reset just before the next cron interval so I get additional notifications every 5 days if they continue to fail.
Author
Owner

@cuu508 commented on GitHub (Jun 13, 2022):

Here's what I would do in this scenario:

  • I have hourly reminders enabled. When the backup fails, I receive a "backup xyz is DOWN" notification. After that I start receiving a reminder every hour.
  • After a few reminders I'm annoyed enough that I sit down to figure out what has happened. I find and fix the root cause of the failure. Then I either:
    • trigger the backup job manually, it completes with no errors, the check goes back to green, reminders stop
    • manually send a ping signal to make the check go green (e.g. by pressing the "Ping!" button in check's details page)
<!-- gh-comment-id:1153533994 --> @cuu508 commented on GitHub (Jun 13, 2022): Here's what I would do in this scenario: * I have hourly reminders enabled. When the backup fails, I receive a "backup xyz is DOWN" notification. After that I start receiving a reminder every hour. * After a few reminders I'm annoyed enough that I sit down to figure out what has happened. I find and fix the root cause of the failure. Then I either: * trigger the backup job manually, it completes with no errors, the check goes back to green, reminders stop * manually send a ping signal to make the check go green (e.g. by pressing the "Ping!" button in check's details page)
Author
Owner

@PAI5REECHO commented on GitHub (Jun 14, 2022):

  • trigger the backup job manually, it completes with no errors, the check goes back to green, reminders stop
  • manually send a ping signal to make the check go green (e.g. by pressing the "Ping!" button in check's details page)

Neither of these is automatic. I might go on vacation for a few weeks and come back to find 500 or 21 failure notifications when really I should have only have 4.

<!-- gh-comment-id:1154742860 --> @PAI5REECHO commented on GitHub (Jun 14, 2022): > - trigger the backup job manually, it completes with no errors, the check goes back to green, reminders stop > - manually send a ping signal to make the check go green (e.g. by pressing the "Ping!" button in check's details page) Neither of these is automatic. I might go on vacation for a few weeks and come back to find 500 or 21 failure notifications when really I should have only have 4.
Author
Owner

@PAI5REECHO commented on GitHub (Jun 16, 2022):

I've configured hourly Email Reports in my account settings but this doesn't do anything as I'm using Gotify for my notifications, not E-Mail. I'm on a self-hosted instance so E-Mail is out of the question. This really should be addressed

<!-- gh-comment-id:1157478925 --> @PAI5REECHO commented on GitHub (Jun 16, 2022): I've configured hourly Email Reports in my account settings but this doesn't do anything as I'm using Gotify for my notifications, not E-Mail. I'm on a self-hosted instance so E-Mail is out of the question. This really should be addressed
Author
Owner

@cuu508 commented on GitHub (Jun 19, 2022):

Duplicate of #510

<!-- gh-comment-id:1159734777 --> @cuu508 commented on GitHub (Jun 19, 2022): Duplicate of #510
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#479
No description provided.