Verify a host
Confirm a host is enrolled and reporting, in Octic and on the host with octic-sensor status.
After you install the sensor, check two things: that Octic hears from the host, and that the sensor on the host reports itself healthy. This page shows both, and what each health check means.
Open Sensors. The host appears after its first heartbeat, usually within 5 minutes of the install, with the status Online. A host turns Offline when Octic hasn't received a heartbeat for 15 minutes.
Select the host name to open its asset page. Attributes shows what the sensor reported, such as the host name, operating system, platform, kernel version and sensor version. Relationships lists the AI tools found on the host, each with its version.

Like every new asset, the host starts Unreviewed.
Run the health check. Run it as root, or as Administrator on Windows, so it can read the enrollment token and the event queues:
sudo octic-sensor statusThe examples below use the Linux command. On macOS the sensor isn't on
PATH, so use its full path, /usr/local/libexec/octic-sensor.
status only reads. It changes nothing and doesn't contact Octic unless you
ask it to. Its first line is the verdict, and its exit code says the same:
| Verdict | Exit code | Meaning |
|---|---|---|
HEALTHY | 0 | Every check passed or doesn't apply. |
DEGRADED | 1 | The host is enrolled and running, but at least one check failed. |
UNCONFIGURED | 2 | The host isn't enrolled or configured, or its token was rejected. |
Under the verdict, status lists each check with its own status (ok,
degraded, unconfigured, unknown or not_applicable) and a sentence
that says what to do. A check that can't read a file it needs reports
unknown, which doesn't fail the verdict.
By default status works offline. To also ask Octic whether it accepts the
host's enrollment token, add --probe:
sudo octic-sensor status --probeThe probe reports the outcome as accepted, rejected or unreachable.
An unreachable Octic doesn't fail the verdict, so a network blip doesn't
look like a broken host. To require an accepted token, which is what the
installer does, use --require-probe: anything short of accepted exits
2.
--output json (or yaml) prints the full report for a script or a fleet
tool. This lists only the checks that aren't ok:
sudo octic-sensor status --probe --output json | jq -r '.checks | to_entries[] | select(.value.status != "ok")'| Check | What it covers |
|---|---|
configuration | The configuration file, if any, loads and is valid. |
enrollment | The enrollment token is present and readable, and, with --probe, accepted. |
service | The OcticSensor service on Windows, or the com.octic.sensor launch daemon on macOS. On macOS it passes only when the daemon runs with start at boot on. not_applicable on Linux. |
claude_code | Whether Claude Code is installed, and whether its version (2.1.83 or later) reads the sensor's settings. |
hook_policy | The Claude Code hooks file is deployed and current. |
hook_policy_path | Every folder above the hooks file lets developers reach it, so Claude Code can read it as them. |
spool | The Claude Code event queue exists with the right permissions. |
spool_backlog | How many Claude Code events are waiting to be sent. |
codex_spool | The Codex event queue exists with the right permissions. |
codex_spool_backlog | How many Codex events are waiting to be sent. |
build | The sensor's version and build. |
When Claude Code isn't installed, claude_code is not_applicable. The
hooks file is deployed anyway, so a Claude Code installed later is covered
from its first session.
systemctl status octic-sensor.servicejournalctl -u octic-sensor.service -n 50A running service means the process started. Use status --probe to
confirm Octic accepts the host. If a check fails, see
Troubleshooting.
Last updated
Was this page helpful?
