Skip to content
Install

One command, fifteen checks.

The installer checks the host and the control plane before it changes anything, pins and verifies the agent image, enrolls with a one-time token and confirms the agent is healthy.

Enroll a serverPlanned public URL
curl -fsSL https://install.oxumi.dev/sentinel.sh \  | sudo bash -s -- \      --server https://sentinel.example.com \      --token-file /root/sentinel.token

Until the hosted URL is live, run installer/sentinel.sh from the repository with the same flags.

Before you start

What you need.

  • Ubuntu 22.04 or 24.04 on amd64 or arm64 (Debian 12 is a preview)
  • Kernel 5.4 or newer and a running Docker Engine (Podman is a preview)
  • A Sentinel control plane reachable over https from the host
  • A one-time enrollment token from Hosts → Add server in the dashboard
The Add server wizard in the dashboard: create a one-time enrollment token and copy the install command, then watch for the new host to appear.
What it does

Fifteen stages, in order.

Any failing check stops the run before anything changes. --dry-run runs them all and changes nothing.

sentinel.sh · example output
  1. 01root privileges…
  2. 02distribution…
  3. 03architecture…
  4. 04kernel…
  5. 05container runtime…
  6. 06daemon reachable…
  7. 07control plane…
  8. 08enrollment token…
  9. 09image…
  10. 10config…
  11. 11state dirs…
  12. 12enroll…
  13. 13start…
  14. 14health…
  15. 15summary…
installing
  1. 01Check root privileges
  2. 02Detect the Linux distribution
  3. 03Detect the CPU architecture
  4. 04Check the kernel: 5.4+, cgroup v2, BTF, free disk space
  5. 05Detect the container runtime and compose plugin
  6. 06Check that the daemon is reachable
  7. 07Validate the control-plane URL (https, then GET /api/v1/health)
  8. 08Validate the enrollment token's format
  9. 09Pull the image, pin its digest, verify its signature
  10. 10Write config.yaml and compose.yaml (0600)
  11. 11Create the state directories (0700) and install sentinelctl
  12. 12Enroll in a one-shot hardened container
  13. 13Start the agent with restart policy unless-stopped
  14. 14Verify health: running and logging within 30 s
  15. 15Print the summary: host and agent ids, never the key
Options

The flags you'll actually use.

--server URLControl-plane URL. https only; http needs --insecure-dev and warns loudly.
--token-file PATHRead the one-time token from a file (preferred). Or SENTINEL_TOKEN, or --token -.
--name, --group, --environmentHost metadata recorded in config.yaml.
--version VERSIONAgent image tag, resolved to a digest.
--runtime docker|podmanContainer runtime (Podman is a preview).
--dry-runRun every check and change nothing.
--statusShow agent status (delegates to sentinelctl).
--uninstall [--purge|--keep-data]Remove the agent container; config and evidence are kept unless you purge.
After install

Manage it with sentinelctl.

Installed alongside the agent for day-two operations on the host.

On the host
sudo sentinelctl status        # agent and container statesudo sentinelctl health        # health checkssudo sentinelctl logs          # agent logssudo sentinelctl diagnostics   # a support bundle, secrets excludedsudo sentinelctl update        # pull and verify a new imagesudo sentinelctl restartsudo sentinelctl uninstall     # config and evidence kept unless you purge

Put a sentinel on every Linux server.

One command to install, one dashboard to monitor, one workspace to understand what happened across your fleet.