check: nine-domain health patrol
Run a bounded read-only nine-domain health check and export a self-contained offline HTML report.
Patrols nine bounded domains in one connection (connections, license, disk, replication, slots, archive, freeze, locks, txn) without scanning user table sizes. Read-only: never modifies sessions, parameters, or objects.
Usage
Key Options
| Option | Effect |
|---|---|
--html <file> | Write a static offline HTML report atomically (0600, strict CSP, no scripts/CDNs) |
--html-raw-sql | Opt in to raw SQL inside HTML (default redacts SQL columns/fields to <redacted>) |
--json | Emit check.domains matrix plus all 16 domain probes and redacted[] metadata |
Verdict & Reading Output
FAIL(exit=2) /WARN(exit=1): Any domain triggers a rule finding;[NEXT]prioritizesFAILthenWARNdrilldowns ahead of missing-coverage items so confirmed incidents are never crowded out.UNKNOWN(exit=3): Missing/skipped/error/redacted coverage without a higher-severity finding; failed/skipped probes are listed in top[COVERAGE]and affected domains are summarized under[SUMMARY](Missing domains) and wrapped cleanly inside[DOMAIN MATRIX].--htmlsecurity: Zero JavaScript/external resources (script-src 'none'); HTML preserves non-SQL cells alongside<redacted>SQL placeholders and rendersredacted[]privilege gaps.
Example (KES V9 Primary, excerpt, COLUMNS=80)
Related Commands
kbdiag space— inspect full filesystem mounts and database/tablespace sizeskbdiag repl/kbdiag slots— drill into standby streaming links and slot retentionkbdiag session/kbdiag lock— inspect active sessions, waits, and lock trees