-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send alerts only for previously (non)-live hosts
Add logic to send alerts based on the previous liveness of the hosts. This avoids the problem where a previously dead hosts could trigger a duplicate alert to be sent. Also rename local variables to better reflect the meaning. Signed-off-by: Vincent Liu <[email protected]>
- Loading branch information
1 parent
cb4329c
commit 4e46bd8
Showing
3 changed files
with
51 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters