Ownership and incident runbook
139-operations-ownership-runbook.yaml
TCP
What this example does
A local TCP check with owner, environment, runbook and tags. Demonstrates operational context in non-OK monitoring output.
Checks and behavior
- A local TCP check with owner, environment, runbook and tags. Demonstrates operational context in non-OK monitoring output.
Run `--explain` to view ownership offline. A non-OK result includes owner, environment and runbook. No SSH login is attempted.
YAML configuration
# A local TCP check with owner, environment, runbook and tags. Demonstrates operational context in non-OK monitoring output.
name: Local SSH with incident ownership
url: tcp://127.0.0.1:22
timeouts: {connect: 3, response: 5, total: 10}
metadata:
owner: infrastructure-operations
environment: local
description: Verify SSH TCP reachability on the loopback interface
runbook: https://ipsonic.com/probe/first-test.html
tags: [ssh, tcp, infrastructure]
monitoring:
service_name: Local SSH with runbook
output: nagios
on_failure: critical