my-homelab-configs/docs/status-overview.md

54 lines
2.7 KiB
Markdown

# Fast homelab status
Run on the Debian server (or use the same arguments after `./jeannie remote`):
```sh
./jeannie status
./jeannie status debian
./jeannie status opi5
./jeannie status rpi
./jeannie status oci
./jeannie status cluster
```
`status` and `status all` check all five areas. A scope runs only its checks.
Use `--json` after the scope for structured output; text output lists checks as
`OK` or `FAILED` without remediation advice. Warnings are displayed as failed
checks and skipped checks are omitted. `--details` remains accepted but does
not expand text output.
For example: `./jeannie remote status opi5 --json`. Scoped reports display
passing checks too and do not invoke an AI model. Checks run concurrently and
use configured inventory addresses, ports and the selected cluster profile.
Warnings return exit status zero; checks classified internally as failures
return a nonzero status. JSON preserves the underlying warning and skip states
for existing consumers.
Each host scope lists discovered Docker Compose containers by project and
service, including Docker health when available. One-off containers are
excluded. Stopped, starting, or unhealthy containers are warnings because
they may have been stopped intentionally. Discovery uses one Docker snapshot
per host; services with no container cannot be inferred from that snapshot.
Remote snapshots require noninteractive SSH and sudo and warn when access is
unavailable. The OCI edge snapshot uses its inventoried Tailscale address.
SSH diagnostics are kept separate from the container data, and login banners
are ignored only before the remote snapshot marker. Unexpected data inside
the snapshot remains an error.
The cluster scope lists Argo CD application health and sync state from one
snapshot. Degraded or missing applications are failures; progressing, unknown,
or out-of-sync applications are warnings. These are Argo CD's reported states,
not a separate endpoint probe. Applications outside Argo CD are not included.
The Orange Pi K3s service and storage checks are skipped when the selected
profile does not put K3s on that host. The cluster scope checks the selected
profile, which can be mixed, all-Pimox, or K3s. The OCI scope checks the
inventoried edge peer, Compose containers, and public HTTP endpoint; it does not inspect
other OCI instances or their cloud lifecycle. HTTP checks do not validate TLS
certificates. An SSH warning can indicate an unavailable host, credentials or
an untrusted host key. These quick probes are point-in-time observations.
Existing unscoped options such as `status --json`, `status --deep`,
and `status --heal-plan` retain their existing machine-readable and healing
behavior. Focused status accepts `--json`, `--details`,
`--all`, and `--no-local-rca`.