Install the collector on Linux (x64, systemd)

Install the systemd-managed collector service and enroll it from the command line.

Updated Aug 24, 2026Product 2026.96 minMSP operator, Internal IT
Prerequisites
  • Ubuntu 20.04+, Debian 11+ or RHEL 8+, x64
  • root or sudo access on the target host
  • A one-time enrollment token generated for the target site
  • Outbound HTTPS (443) reachable to the AssurIQ control plane

Overview

The Linux package installs the collector as a systemd unit that starts on boot and restarts automatically if it exits unexpectedly.

Linux ARM64 is on the roadmap. Use an x64 host for now, including x64 VMs on ARM hosts if native ARM64 packaging is required later.

Run the installer script

Install the systemd service
curl -fsSL https://dl.assuriq.io/collector/linux/install.sh | sudo sh

This installs the binary to /opt/assuriq/collector, writes the systemd unit, and enables it at boot. It does not enroll the collector — that is a separate, explicit step so the token is never embedded in a downloaded script.

Enroll the collector

Enroll with a one-time token
assuriq-collector enroll --token <one-time-token> --url <control-plane-url>

The CLI exchanges the token for a permanent collector credential, stores it under a root-only file, and starts the service.

Start and enable the service
sudo systemctl enable --now assuriq-collector

Under the hood, enroll calls POST /api/v1/collectors/enroll with the token, hostname, OS and version; a successful response returns the collector's auth token and initial scan scopes. See the Collector API v1 reference for the exact request and response shapes.

Verify the service

Check status
systemctl status assuriq-collector

Expected state is active (running). Use journalctl for recent logs, and confirm the collector shows Healthy in the site's Collectors panel within about 60 seconds.

Tail logs
journalctl -u assuriq-collector -f

Uninstall

Stop, disable and remove
sudo systemctl disable --now assuriq-collector
sudo rm -rf /opt/assuriq/collector /etc/systemd/system/assuriq-collector.service
sudo systemctl daemon-reload

Revoke the collector's credential from AssurIQ afterward so it can no longer authenticate if the host or disk image is reused.

Troubleshooting

  • AIQ-ENR-001Enrollment token invalid or already used
    The enrollment token was not recognized, or has already been exchanged for a credential.
  • AIQ-ENR-004Control plane unreachable during enrollment
    The host could not complete the outbound HTTPS/mTLS handshake to the control plane.
  • AIQ-COL-001Collector offline
    The collector has not sent a heartbeat within the expected interval. Discovery, scans and evidence collection for its sites are paused.
Was this helpful?