0

I am trying to register some health checks with consul 1.3.0 and while it accepts the checks (no error message) it will not show the checks when I use the API to check for them. This is the command I am using to start consul. It does contain some ruby code but should not have an impact on the actual result of the command. The command that I am using is an old one from when I had consul 0.7.1 running.

Command as ruby code

"/work-disk/consul/consul agent -server -bootstrap-expect 1 -data-dir " + @@consul_data_dir + " -config-file " + @@config_file + " -bind " + @@local_host + " -enable-script-checks"

I am checking if the checks exist by doing the below and get the object back below the command

curl http://127.0.0.1:8500/v1/agent/checks

{}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.