Directory check: SSH endpoint
144-directory-check-ssh.yaml
TCP / Batch
What this example does
Second independent configuration for --check-dir, illustrating deterministic alphabetical batch execution.
Checks and behavior
- Second independent configuration for --check-dir, illustrating deterministic alphabetical batch execution.
Copy example 143 and 144 into a dedicated directory; `--check-dir` executes all YAML files in that directory, not recursively.
YAML configuration
# Second independent configuration for --check-dir, illustrating deterministic alphabetical batch execution.
name: Directory example SSH listener
url: tcp://127.0.0.1:22
timeouts: {connect: 2, response: 4, total: 8}
metadata:
owner: infrastructure-operations
environment: local
description: Local SSH listener
tags: [batch, ssh]
monitoring:
service_name: Directory SSH listener
output: text
on_failure: critical