Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Health Checks #1

Open
4 tasks
SMAPPER opened this issue Nov 12, 2021 · 0 comments
Open
4 tasks

Add Support for Health Checks #1

SMAPPER opened this issue Nov 12, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@SMAPPER
Copy link
Contributor

SMAPPER commented Nov 12, 2021

It would be great if the elastic-ilm support custom health checks with remediation based on client_info.json.

Example client info:

Example client info entry

# "custom_checks": {
#     "0": {
#     "check": "/bin/bash /opt/elastic_stack/scripts/verify_acuity_custom_service.sh",
#     "remediate": "/bin/bash /opt/elastic_stack/scripts/restart_acuity_custom_service.sh",
#     "schedule": "15",
#     "remediation_retries": "3",
#     }
# },

Schedule would be dynamically set per entry. Thoughts?

  • Add support for health checks. Look for proper exit code
  • Add support for remediation checks. Run if check fails to exit properly
  • Add support for custom schedules per health check
  • Add support for remediation retry so it doesn't keep trying to remediate indefinitely
@SMAPPER SMAPPER added the enhancement New feature or request label Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant