// 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

HTTP Basic authentication environment

166-basic-auth-environment.yaml

Security

What this example does

HTTP Basic authentication environment.

Checks and behavior

  • Set IPSONIC_BASIC_PASSWORD securely outside the YAML.

Replace example.com, documentation IPs, secrets and thresholds before production use.

YAML configuration

Download original YAML

# Set IPSONIC_BASIC_PASSWORD securely outside the YAML.
name: HTTP Basic authentication environment
url: https://api.example.com/private/health
auth:
  type: basic
  username: monitoring
  password_env: IPSONIC_BASIC_PASSWORD
tests:
  status: {allow: [200]}
monitoring: {output: nagios, on_failure: critical}