Sha256: 1ca925b7b61c247b48157ad27158b6b7aba7b1626c348bfbfd4124387bc070c7
Contents?: true
Size: 841 Bytes
Versions: 9
Compression:
Stored size: 841 Bytes
Contents
### Description Connect to arbitrary TCP & UNIX sockets and match output. Input is expected to be an Array of TCP & UNIX checks as the following describes. ``` json { "checks": { "haproxy": { "path": "/var/run/haproxy/stats", "timeout": 10, "query": "show info", "match": ".*" }, "cloudysunday": { "path": "localhost", "port": 22, "timeout": 5, "match": "SSH" } } } ``` ### Check Attributes **Path:** Describes the endpoint of a given socket. This will automatically determine the type (TCP vs Unix) of check. **Timeout:** Number of seconds to connect/query a given socket and return. **Match:** Parse the output ensuring it includes the given match string. **Query (Unix Only):** Input to a given a socket. **Port (TCP Only):** Port to connect to (default: 80).
Version data entries
9 entries across 9 versions & 1 rubygems