SensobitDocs

Install on Linux

Install sensobit-agent from get.sensobit.com and run it under systemd.

The Linux installer supports amd64, arm64, and armv7 on Linux. It requires root, curl, and tar.

One-line install

curl -fsSL https://get.sensobit.com | sudo bash -s -- --api-key YOUR_API_KEY

Optional flags:

curl -fsSL https://get.sensobit.com | sudo bash -s -- \
  --api-key YOUR_API_KEY \
  --ingestion-url https://ingest.sensobit.com \
  --hostname web-01 \
  --tags environment=prod \
  --tags region=ap-south-1
FlagPurpose
--api-keyRequired. Key from API Keys in the console
--ingestion-urlDefaults to https://ingest.sensobit.com
--hostnameOverride auto-detected hostname
--tags KEY=VALUERepeatable host tags
--versionPin a release instead of latest
--uninstallStop the unit and remove files

What the installer does

  1. Detects OS and architecture.
  2. Downloads sensobit-agent to /usr/local/bin/sensobit-agent.
  3. Writes /etc/sensobit/config.yaml (chmod 600).
  4. Installs and starts /etc/systemd/system/sensobit-agent.service.

systemd unit

[Unit]
Description=Sensobit Monitoring Agent
Documentation=https://docs.sensobit.com/docs/agent
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
ExecStart=/usr/local/bin/sensobit-agent --config /etc/sensobit/config.yaml
Restart=always
RestartSec=10
LimitNOFILE=65536

[Install]
WantedBy=multi-user.target

Operate the service

sudo systemctl status sensobit-agent
sudo systemctl restart sensobit-agent
sudo journalctl -u sensobit-agent -f

Edit /etc/sensobit/config.yaml to enable journald or Docker logs, web security, or the local OTLP receiver, then restart the unit.

Manual binary install

sudo install -m 0755 sensobit-agent /usr/local/bin/sensobit-agent
sudo mkdir -p /etc/sensobit
sudo cp config.yaml /etc/sensobit/config.yaml
sudo systemctl daemon-reload
sudo systemctl enable --now sensobit-agent

Uninstall

curl -fsSL https://get.sensobit.com | sudo bash -s -- --uninstall

On this page