Add ability to set initial health check status
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.
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)?
This is available in newer releases: https://www.nomadproject.io/docs/job-specification/service.html#initial_status
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.