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

Version Path
panoptimon-0.4.5 collectors/socket/README.md
panoptimon-0.4.4 collectors/socket/README.md
panoptimon-0.4.2 collectors/socket/README.md
panoptimon-0.4.1 collectors/socket/README.md
panoptimon-0.4.0 collectors/socket/README.md
panoptimon-0.3.0 collectors/socket/README.md
panoptimon-0.2.0 collectors/socket/README.md
panoptimon-0.1.0 collectors/socket/README.md
panoptimon-0.0.2 collectors/socket/README.md