Directory check: web endpoint
143-directory-check-web.yaml
HTTP(S) / Batch
What this example does
One of two independent configurations for --check-dir, demonstrating sequential directory execution.
Checks and behavior
- One of two independent configurations for --check-dir, demonstrating sequential directory execution.
Copy this and example 144 into a dedicated directory, then run `--check-dir DIRECTORY`. An unavailable local service is expected to fail.
YAML configuration
# One of two independent configurations for --check-dir, demonstrating sequential directory execution.
name: Directory example web health
url: http://127.0.0.1:8080/health
timeouts: {connect: 2, response: 4, total: 8}
tests:
status:
allow: [200]
metadata:
owner: application-team
environment: local
description: Local web health endpoint
tags: [batch, web]
monitoring:
service_name: Directory web health
output: text
on_failure: critical