mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[GH-ISSUE #559] Implementing a "warning" status between Success and Fail #405
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#405
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 @Ailothaen on GitHub (Sep 6, 2021).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/559
Hello,
A feature I particularly like about healthchecks is the ability to signal failures ( https://healthchecks.io/docs/signaling_failures/ ). However, sometimes, a script may end without a critical error, but still have significant conditions that are worthy to be monitored.
I would therefore suggest the creation of a "warning" status, between successes and failures. For example, it would be triggered using an URL like this:
https://hc-ping.com/your-uuid-here/warningA bonus feature about this (but which requires potentially a design change) is to be able to choose which status codes trigger an success condition, and which ones trigger a warning and a failure. So for example, 0 to 10 would be OK, 11 to 20 would be Warning, and everything else be a failure...
@ep1cman commented on GitHub (Sep 9, 2021):
This would be increadibly useful, especially selecting which exit codes are a failure and which are a warning on the backend.
I currently used healthchecks to ensure my daily backups complete using a tool called
restic. It will give exit code1for fatal errors but3for backups that have succeeded but missed some files. It would be great if this could be logged as a warning in healthchecks, but not fail the check.@BerriJ commented on GitHub (Jan 13, 2022):
This is a duplicate of https://github.com/healthchecks/healthchecks/issues/227
However, I'm also eagerly waiting for this feature.
@cuu508 commented on GitHub (Jan 17, 2022):
Indeed it's a duplicate, closing.