Skip to content

Install on Linux

The deb and rpm packages install the Skep distribution (skep-otelcol) as a systemd service on a Linux host. Use them for a gateway on a VM, or for an agent on every host. The install guide in the app prints the exact commands for the options you pick. This page explains them.

  • A Linux host on amd64 or arm64 with systemd: Debian or Ubuntu (deb), or RHEL, Fedora or Amazon Linux (rpm).
  • sudo and curl.
  • A collector key (skc_...). The install flow creates one. See What you need first.
  • The host can reach Skep over HTTPS.
  1. In Skep, open Collectors, then Add collector. On a new organization, Home shows the same choices.
  2. Choose Need to deploy your first collector?
  3. Set Platform to Linux (deb, rpm).
  4. Pick where it runs (Gateway (recommended) or Agent on every node), where telemetry goes, a fleet name, and whether to turn on tail sampling (gateways only).
  5. Select Create collector key. The key is filled into the commands.

The guide prints these steps with your values. Here they are for a gateway in the production environment.

  1. Install the package. Nothing starts until you enable it.

    Terminal window
    # Debian, Ubuntu
    curl -fLO https://github.com/skephq/skep-otelcol/releases/download/v0.1.0/skep-otelcol_0.1.0-1_$(dpkg --print-architecture).deb
    sudo apt install ./skep-otelcol_0.1.0-1_$(dpkg --print-architecture).deb
    # RHEL, Fedora, Amazon Linux
    curl -fLO https://github.com/skephq/skep-otelcol/releases/download/v0.1.0/skep-otelcol-0.1.0-1.$(uname -m).rpm
    sudo dnf install ./skep-otelcol-0.1.0-1.$(uname -m).rpm
  2. Set the keys. The service reads them from /etc/skep-otelcol/skep-otelcol.env, which only root and the skep-otelcol group can read. They are never written to the configuration.

    Terminal window
    sudo tee /etc/skep-otelcol/skep-otelcol.env >/dev/null <<EOF
    SKEP_API_KEY=skc_...
    SKEP_COLLECTOR_NAME=production-gateway
    EOF

    If the collector sends to Honeycomb, the guide adds HONEYCOMB_API_KEY.

  3. Save the configuration. Download skep-otelcol.yaml from the guide into the current directory, then install it:

    Terminal window
    sudo install -m 0644 skep-otelcol.yaml /etc/skep-otelcol/config.yaml
  4. Start the collector now and at every boot.

    Terminal window
    sudo systemctl enable --now skep-otelcol
  5. Check that it started. Look for skepcontrol: registered with control plane in the log.

    Terminal window
    journalctl -u skep-otelcol -f
  6. Send it telemetry. Point your OpenTelemetry SDKs, or existing collectors, at it over OTLP (port 4317 for gRPC, 4318 for HTTP):

    Terminal window
    export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318

With Agent on every node, each host registers as its own collector: the guide sets SKEP_COLLECTOR_NAME to the name plus $(hostname -s), for example production-agent-web-01. Run the same steps on every host.

To collect the host’s system logs (syslog, messages, auth), turn on Host system logs. The package adds the service user to the adm and systemd-journal groups where they exist (Debian, Ubuntu). Where system logs are readable by root only (RHEL), the guide adds a step that grants read access through a drop-in:

Terminal window
sudo mkdir -p /etc/systemd/system/skep-otelcol.service.d
printf '[Service]\nAmbientCapabilities=CAP_DAC_READ_SEARCH\n' | sudo tee /etc/systemd/system/skep-otelcol.service.d/logs.conf >/dev/null
sudo systemctl daemon-reload

Turn on Managed by Skep (OpAMP) in the guide to run the collector under the OpAMP supervisor. An admin creates the fleet in the guide first (Create fleet), so revision 1 is ready when the collector connects. There is no configuration file to save. The env file also carries SKEP_OPAMP_ENDPOINT (wss://app.skep.observer/v1/opamp), SKEP_FLEET, SKEP_TIER and SKEP_ENVIRONMENT, and you start the supervisor unit instead:

Terminal window
sudo systemctl enable --now skep-otelcol-supervisor

The two units conflict, so only one runs at a time. Later changes arrive as fleet revisions you deploy in Skep. See Collectors and fleets.

Path What
/usr/bin/skep-otelcol The distribution.
/usr/lib/skep-otelcol/opampsupervisor The OpAMP supervisor.
/etc/skep-otelcol/config.yaml The configuration. By default an observe only agent profile for a host.
/etc/skep-otelcol/skep-otelcol.env Keys and settings, mode 0640, owned by root:skep-otelcol.
/etc/skep-otelcol/supervisor.yaml The supervisor’s configuration.
/var/lib/skep-otelcol State and the persistent exporter queue.
skep-otelcol.service The collector, running as the skep-otelcol user, with MemoryMax=512M and GOMEMLIMIT=400MiB, hardened with ProtectSystem=strict and NoNewPrivileges.
skep-otelcol-supervisor.service The same, under the OpAMP supervisor.

Configuration files are kept on upgrade (noreplace). The memory limit and GOMEMLIMIT match the sizes the generated configurations assume. If you raise one, raise both.

  • The guide’s last step, Wait for it to register, checks every 3 seconds. It shows the collector’s name, its status and its observer positions when it registers.
  • Collectors lists it as online. Services appear in Data within about a minute.
  • The service does not start. Run systemctl status skep-otelcol and journalctl -u skep-otelcol. Check that /etc/skep-otelcol/config.yaml is the file from the guide.
  • The log says skepcontrol: control plane not reachable; collector keeps exporting. The collector cannot register. The error after it says why: a 401 means the key in the env file is wrong or revoked (create a new collector key and restart the service), a network error means the host cannot reach Skep (check the firewall and any proxy). Your telemetry still flows to your backend meanwhile.
  • No system logs arrive. The service user cannot read the files. Add the drop-in above, or check the file’s group.
  • A collector shows as disconnected or stale. Skep has not heard from it for more than 10 minutes. Check the service and its network path to Skep.
  • Both units are enabled. They conflict. Disable the one you do not use: sudo systemctl disable --now skep-otelcol-supervisor, or the reverse.

The packages are attached to the GitHub release of the tag collector/v0.1.0, with a SHA256SUMS file signed with cosign (SHA256SUMS.sigstore.json). Download both next to the package, then:

Terminal window
id='^https://github.com/skephq/skep/.github/workflows/release-collector.yml@refs/tags/collector/v'
iss=https://token.actions.githubusercontent.com
cosign verify-blob --bundle SHA256SUMS.sigstore.json --certificate-identity-regexp "$id" --certificate-oidc-issuer "$iss" SHA256SUMS
sha256sum -c SHA256SUMS --ignore-missing

Skep · Security · Changelog · Privacy