Files
cairnobs/config/checks.example.yaml
T
jcoffey-dev 77dac1c9c4
ci / check (pull_request) Successful in 5m32s
ci / postgres (pull_request) Successful in 10m31s
Ready to be read: SECURITY.md, the docs site, generic names
SECURITY.md says where to report a problem ([email protected]) and
what's in scope. The README points at docs.cairnobs.org for people
installing Cairn OBS.

The tests, examples and notes named a real fleet: its host names, its
mesh and desk link, a public address, its site and its backups. They're
now node1, node2 and so on, wg-desk, 10.30/10.31, 203.0.113.52 (TEST-NET-3),
Lisbon, wiki-db and photos.

docs/install.md's Windows paragraph said no VMs; the agent now reports
certificate stores, the event log and Hyper-V's VMs, on amd64 and arm64.
2026-11-15 13:24:15 -07:00

35 lines
956 B
YAML

# Checks Cairn OBS's agents run. Copy to /etc/obs-beacon/checks.yaml; obs-beacond
# re-reads it when it changes. A check is down when two hosts agree.
checks:
- id: site
name: example.org
http: https://example.org/
contains: Example # text the page must have
- id: smtp
name: mail.example.org SMTP
tcp: mail.example.org:25
contains: ESMTP # the greeting's first line
every: 2m
- id: imaps
name: mail.example.org IMAP
tcp: mail.example.org:993
tls: true # TLS from the first byte; the certificate is checked too
contains: "* OK"
- id: mx
name: example.org MX
dns: example.org
type: MX
contains: mail.example.org
server: "1.1.1.1:53" # ask a public resolver, not the host's
every: 5m
severity: warning
- id: ping-node1
name: node1 over the private network
ping: 10.0.0.1
from: [node2, node3] # default: every agent