Baseline save and compare
146-baseline-local-ssh.yaml
Monitoring / Baseline
What this example does
Provides a stable TCP configuration for saving and comparing a status-based baseline.
Checks and behavior
- Provides a stable TCP configuration for saving and comparing a status-based baseline.
First run `--baseline-save baseline.json` while the check is OK; later run `--baseline-compare baseline.json`. This compares status and assertion IDs, not certificate fingerprints, DNS answers or HTTP headers.
YAML configuration
# Provides a stable TCP configuration for saving and comparing a status-based baseline.
name: Local SSH status baseline
url: tcp://127.0.0.1:22
timeouts: {connect: 3, response: 5, total: 10}
metadata:
owner: infrastructure-operations
environment: local
description: Baseline of the local SSH check status
tags: [baseline, ssh]
monitoring:
service_name: Local SSH baseline
output: text
on_failure: critical