mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #151] Allow to submit a "fail" ping #103
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#103
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 @pladen on GitHub (Jan 29, 2018).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/151
It would be great to add the option to submit a "fail" status for a ping
In my use case we run quite a long daily script. I want to know if it runs and if everything is ok.
Cronalarm.com has such a feature. It allows to also submit a short text message like "error occurred at step X"
From API point of view it can be like 👍
Optional text message can be submit via POST data
Regards
@mlaitinen commented on GitHub (May 16, 2018):
How this would work if the "regular" ping overrides the failed status on the next run? My point:
10:00 OK (green light)
10:05 OK (green light)
10:10 OK (green light)
10:11 FAIL (red light)
10:15 OK (green light again despite of failure a few minutes ago)
@pladen commented on GitHub (May 16, 2018):
Yes, that seems great.
That's how cronalarm.com is handling it.
The purpose is to give feedback about what's wrong, not to replace logs / alerting system.
Regards
@cuu508 commented on GitHub (May 17, 2018):
I've now added this as an experimental feature: you can append "/fail" to any ping URL and cause the check to immediately go into the "down" state. If its previous state would have been "up", then a notification is sent as well.
I have not yet updated documentation or examples anywhere – I want to trial this feature for a while to make sure there are no corner cases where it does the wrong thing. @pladen and @mlaitinen you are welcome to test it out, both https://healthchecks.io and https://hchk.io are up-to-date.
@pladen commented on GitHub (May 24, 2018):
Thanks, will test that.
@pladen commented on GitHub (Jun 1, 2018):
i can confirm it works as expected, thanks !