-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Platform] Health Check should provide some alert if it isn't running #…
…6581 Summary: - Code for email sending moved from cluster_health.py to Java code; - Added some alerts when health checker fails by own reasons; The HTML preparation is left the same as it was in Python code. The proposed way to use templates is not implemented here and will not be implemented here as it requires a separate issue. Test Plan: Common scenarios: 1. Check that health emails are correctly formed; 2. Check that emails with alerts are sent; 3. Check that occasional errors in cluster_health.py lead to alert emails; Repeat scenarios 1-3 for different SMTP settings in Customer's Profile, for different states of flags "Only include errors in alert emails", "Send backup failure notification". Some useful information can be found here: [[ https://phabricator.dev.yugabyte.com/D7816 | D7816 ]] [[ https://phabricator.dev.yugabyte.com/D8309 | D8309 ]] Also test scenarios from [[ https://phabricator.dev.yugabyte.com/D9660 | D9660 ]]. Reviewers: sanketh, daniel Reviewed By: daniel Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D10177
- Loading branch information
1 parent
01aa22c
commit a3744a8
Showing
24 changed files
with
1,253 additions
and
770 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
Oops, something went wrong.