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 ability to set initial health check status #1239

Closed
rsyabuta opened this issue Jun 7, 2016 · 3 comments
Closed

Add ability to set initial health check status #1239

rsyabuta opened this issue Jun 7, 2016 · 3 comments

Comments

@rsyabuta
Copy link

rsyabuta commented Jun 7, 2016

New checks are initially set to "critical" when registered in consul. It would be nice to have the ability to initially set them to "passing" for certain job types as noted in the consul docs: https://www.consul.io/docs/agent/checks.html.

@justinwalz
Copy link
Contributor

We've also noticed this with the Nomad Client HTTP Check as clients come online. This ends up triggering alarms based on the failed consul status. Would it be possible to 1) have nomad wait to register itself once healthy or 2) initially set itself as passing (as described above)?

@schmichael schmichael self-assigned this Mar 6, 2017
@dadgar
Copy link
Contributor

dadgar commented Sep 21, 2017

This is available in newer releases: https://www.nomadproject.io/docs/job-specification/service.html#initial_status

@dadgar dadgar closed this as completed Sep 21, 2017
@github-actions
Copy link

github-actions bot commented Dec 7, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants