Add "verify" and "every" options to servers #12

Closed
opened 2 years ago by momar · 4 comments
momar commented 2 years ago
Owner

verify: 2 would mean that the server has to be down for at least 2 consecutive checks to trugger a notification.

every: 2 would mean that only ever 2nd check is being run, for less important applications.

`verify: 2` would mean that the server has to be down for at least 2 consecutive checks to trugger a notification. `every: 2` would mean that only ever 2nd check is being run, for less important applications.
momar added this to the v2 milestone 2 years ago
momar added the
backend
label 2 years ago
momar added the
feature
label 2 years ago
Poster
Owner

Those options have been added to the configuration, but are not being used by the checks. A scheduler for every is being worked on, and the *Check.Notify() function will be handling verify.

Those options have been added to the configuration, but are not being used by the checks. A scheduler for `every` is being worked on, and the `*Check.Notify()` function will be handling `verify`.
momar self-assigned this 2 years ago
Poster
Owner

interval is implemented, verify not quite

interval is implemented, verify not quite
momar added the
waiting-for-merge
label 2 years ago
Poster
Owner

Oh yeah, "every" has been replaced by interval, which leaves the possibility for fully custom intervals per check. Also, verify is now implemented and working correctly (you're seeing a random check with the interval set to "1s"):

Oh yeah, "every" has been replaced by `interval`, which leaves the possibility for fully custom intervals per check. Also, `verify` is now implemented and working correctly (you're seeing a random check with the interval set to `"1s"`): ![](https://i.vgy.me/8yJX18.png)
Collaborator

grafik

If verify is set to two, is the Ok comming one check late?

![grafik](/attachments/066e8a32-5ba3-4149-b7b9-59e309b827d2) If verify is set to two, is the Ok comming one check late?
245 KiB
zottelchin closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.