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 HTTP checks #143

Merged
merged 1 commit into from
Mar 14, 2015
Merged

Conversation

gavinheavyside
Copy link

Newer versions of Consul support built-in HTTP+interval checks (https://consul.io/docs/agent/checks.html). This adds support for http as an alternative to script in the service_def LWRP so we can do e.g.

consul_service_def "service" do
  check(
    id: "service",
    name: "service on port 80",
    http: "http://localhost:80/",
    interval: "10s",
    timeout: "1s"
  )
  notifies :reload, "service[consul]"
end

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 7f44766 on mydrive:http-checks into 60e3072 on johnbellone:master.

johnbellone added a commit that referenced this pull request Mar 14, 2015
Add support for HTTP checks
@johnbellone johnbellone merged commit 9029990 into sous-chefs:master Mar 14, 2015
@gavinheavyside gavinheavyside deleted the http-checks branch April 11, 2015 14:49
@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants