// IPSonic MONITORING TOOLKIT / DOCUMENTATION
ipsonic-probe rainbow unicorn

ipsonic-probe ✦

YAML-driven infrastructure validation. Platform-agnostic checks. Zero cloud dependencies.

DNSTCPHTTP / TLSYAML CONFIGCLI FIRSTKISSOFFLINE READY

Part of the ipsonic project ↗ Visit the main website

Hello first TCP test — localhost SSH port 22

138-hello-first-tcp-ssh.yaml

TCP

What this example does

A beginner-friendly first check that tests whether TCP port 22 on the local Linux host accepts connections.

Checks and behavior

  • Opens a TCP connection to 127.0.0.1:22 with a 3-second connection timeout.
  • Reports success or failure in text format, suitable for a first CLI test.

No SSH login or authentication is performed. A failed check is expected if SSH is disabled, on another port, or not listening on localhost. Do not enable SSH just for this test.

YAML configuration

Download original YAML

# Copyright (c) 2026 mati peterson. Maintainer: mati peterson <ipsonic@mailbox.org>. Project: https://ipsonic.com/probe/. Disclaimer: Provided AS IS, without warranty of any kind. Use at your own risk; validate checks and configurations before production use.
# First local TCP connectivity test. Does not authenticate to SSH.
name: Hello first TCP test - local SSH port
url: tcp://127.0.0.1:22
timeouts:
  connect: 3
  response: 5
monitoring:
  service_name: Local SSH TCP port 22
  output: text
  on_failure: critical