This chapter covers the core features and capabilities of Health Check System.
# Run all health checks from the example config
python src/health_checker.py --config examples/health_config.json
# Output as JSON report
python src/health_checker.py --config examples/health_config.json --format json
# Write report to file
python src/health_checker.py --config examples/health_config.json --format json --output report.json
# Run only HTTP checks
python src/health_checker.py --config examples/health_config.json --type http
# Set custom timeout
python src/health_checker.py --config examples/health_config.json --timeout 10
# Verbose output for debugging
python src/health_checker.py --config examples/health_config.json -vFollow this guide to get Health Check System up and running in your environment.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name of the health check suite |
checks | array | Yes | List of check definitions |
defaults | object | No | Default timeout and thresholds |
alerts | object | No | Alerting configuration |
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Human-readable check name |
type | string | Yes | http, tcp, dns, or ssl |
target | string | Yes | URL, host:port, or domain to check |
expected_status | int | No | Expected HTTP status code (default: 200) |
timeout | int | No | Check timeout in seconds |
warn_threshold_ms | int | No | Response time warning threshold |
| Flag | Description |
|---|---|
--config, -c | Path to the JSON health check config (required) |
--format, -f | Output format: text or json (default: text) |
--output, -o | Write report to file |
--type, -t | Run only checks of this type: http, tcp, dns, ssl |
--timeout | Override default timeout (seconds) |
--verbose, -v | Enable verbose logging |
Get the full Health Check System and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.