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 Socket check type #1130

Merged
merged 2 commits into from
Jul 27, 2015
Merged

Add Socket check type #1130

merged 2 commits into from
Jul 27, 2015

Commits on Jul 24, 2015

  1. Add TCP check type

    Adds the ability to simply check whether a TCP socket accepts
    connections to determine if it is healthy.  This is a light-weight -
    though less comprehensive than scripting - method of checking network
    service health.
    
    The check parameter `tcp` should be set to the `address:port`
    combination for the service to be tested.  Supports both IPv6 and IPv4,
    in the case of a hostname that resolves to both, connections will be
    attempted via both protocol versions, with the first successful
    connection returning a successful check result.
    
    Example check:
    
    ```json
    {
      "check": {
        "id": "ssh",
        "name": "SSH (TCP)",
        "tcp": "example.com:22",
        "interval": "10s"
      }
    }
    ```
    pdf committed Jul 24, 2015
    Configuration menu
    Copy the full SHA
    b023904 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2015

  1. Document TCP check type

    pdf committed Jul 27, 2015
    1 Configuration menu
    Copy the full SHA
    916ff7e View commit details
    Browse the repository at this point in the history