Internal service health
108-internal-service-health.yaml
HTTP(S)
What this example does
This example demonstrates internal service health.
Checks and behavior
- Sends an GET request to http://192.0.2.20:8080/health.
- Checks allowed/denied HTTP status codes.
- Looks for expected response content and/or rejects known error markers.
- Applies response-time thresholds for operational alerting.
- Formats results for checkmk output.
Adapt example domains, addresses, credentials and thresholds to your environment before use.
YAML configuration
# Copyright (c) 2026 mati peterson. Maintainer: mati peterson <ipsonic@mailbox.org>. Project: https://ipsonic.com/probe/. Disclaimer: Provided AS IS, without warranty of any kind. Use at your own risk; validate checks and configurations before production use.
# Private service health: no public DNS or SaaS dependency required.
# The target must be reachable from the probe host.
name: "Internal service health"
url: "http://192.0.2.20:8080/health"
request: {method: GET, follow_redirects: false}
timeouts: {connect: 2, response: 5}
tests:
status: {allow: [200]}
body:
contains: [healthy]
not_contains: ["Traceback", "Exception"]
monitoring:
service_name: "Internal Application Health"
output: checkmk
on_failure: critical
thresholds:
response_time: {warning: 1, critical: 3}