# mainskeeper CLI — PROPOSED product contract, not shipped software. Fictional demonstration data.
# screen: doctor-hw · host: lab-pi · 120 columns · NO_COLOR · exit 6
# clock: Wed 30 Sep 2026 15:22 PDT · Illustrative · placeholder host outside the fixture fleet
# stderr lines (counting the prompt line as 1): 8, 9, 13
lab-pi $ mainskeeper doctor
MainsKeeper · lab-pi · doctor                                                                  Wed 30 Sep 2026 15:22 PDT
Checks read state only. Nothing on the UPS or attached equipment is changed.

✓ config        /etc/mainskeeper/collector.toml valid (schema 1)
✓ enrollment    enrolled · valid
✓ service       mainskeeperd.service active (running) since 14:31:02 PDT
✗ UPS source    APC Back-UPS 600 (USB 051d:0002) not found on USB — last seen 14:47:31 PDT
                USB devices present: 3 (hub, keyboard, storage) — none is a UPS
✓ cloud         ingest.mainskeeper.example reachable (HTTPS, 41 ms)
▲ dashboard     UPS shows “Stale · last known 14:47” with its age

Result  1 problem · exit 6 (hardware/source error)

Check
  › USB cable is connected at both ends and is a data cable
  › then mainskeeper sources discover
