Peter Fern b023904298 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"
  }
}
```
2015-07-24 14:06:05 +10:00
..
2015-07-24 14:06:05 +10:00
2015-05-08 13:09:50 -07:00
2014-05-20 16:25:29 -07:00
2014-04-11 16:34:29 -07:00
2013-12-31 13:06:33 -08:00
2013-12-31 13:06:33 -08:00
2013-12-31 13:06:33 -08:00
2015-01-19 15:47:17 -10:00
2014-06-11 10:58:26 -07:00
2015-02-20 18:17:12 -08:00
2015-01-25 05:00:52 +01:00
2014-08-21 16:08:21 -07:00