Ad hoc TCP probe companion
178-probe-adhoc.yaml
Operations
What this example does
Run python3 ipsonic-probe.py --probe tcp://127.0.0.1:22. No YAML needed for --probe.
Checks and behavior
- Validates the configured target when executed normally. The new CLI action is invoked separately.
Adapt targets before production use. --doctor, --lint and --inventory are offline. --probe contacts its target.
YAML configuration
# Run python3 ipsonic-probe.py --probe tcp://127.0.0.1:22. No YAML needed for --probe.
name: Ad hoc TCP probe companion
url: tcp://127.0.0.1:22
metadata:
owner: infrastructure-operations
environment: lab
runbook: https://ipsonic.com/probe/user-guide.html
tags: [operations, diagnostics]
monitoring:
output: nagios
on_failure: critical
timeouts:
connect: 3
response: 10
total: 20