// IPSonic MONITORING TOOLKIT / DOCUMENTATION
ipsonic-probe rainbow unicorn

ipsonic-probe ✦

YAML-driven infrastructure validation. Platform-agnostic checks. Zero cloud dependencies.

DNSTCPHTTP / TLSYAML CONFIGCLI FIRSTKISSOFFLINE READY

Part of the ipsonic project ↗ Visit the main website

Combined HTTP acceptance checks

11-http-headers-body-combined.yaml

HTTP(S)

What this example does

This example demonstrates combined http acceptance checks.

Checks and behavior

  • Sends an GET request to http://127.0.0.1:8080/health.
  • Checks allowed/denied HTTP status codes.
  • Validates required, forbidden or matching HTTP headers.
  • Looks for expected response content and/or rejects known error markers.

Adapt example domains, addresses, credentials and thresholds to your environment before use.

YAML configuration

Download original YAML

# 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.
name: Combined HTTP acceptance checks
url: http://127.0.0.1:8080/health
request:
  method: GET
  user_agent: httptest/1.0
  headers:
    Accept: application/json
timeouts:
  connect: 2
  response: 5
tests:
  status:
    allow: [200]
    deny: [500, 503]
  headers:
    exists: [Content-Type]
    absent: [X-Debug]
    contains:
      Content-Type: [application/json]
    not_contains:
      Server: [nginx/1.14]
  body:
    contains: ['"status"']
    not_contains: [traceback]