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_KEYOptional 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| Flag | Purpose |
|---|---|
--api-key | Required. Key from API Keys in the console |
--ingestion-url | Defaults to https://ingest.sensobit.com |
--hostname | Override auto-detected hostname |
--tags KEY=VALUE | Repeatable host tags |
--version | Pin a release instead of latest |
--uninstall | Stop the unit and remove files |
What the installer does
- Detects OS and architecture.
- Downloads
sensobit-agentto/usr/local/bin/sensobit-agent. - Writes
/etc/sensobit/config.yaml(chmod 600). - 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.targetOperate the service
sudo systemctl status sensobit-agent
sudo systemctl restart sensobit-agent
sudo journalctl -u sensobit-agent -fEdit /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-agentUninstall
curl -fsSL https://get.sensobit.com | sudo bash -s -- --uninstall