Manual installation guide for the Kabeen server agent, a key component for collecting infrastructure information
Version
The Kabeen server agent is the component responsible for collecting information about the information system infrastructure: host configuration, system metrics, installed programs and running processes.
It is a standalone system service to be installed on each server you want to analyze in Kabeen. Data is transmitted to the Kabeen backend over gRPC on TLS, using outbound port 443/TCP only.
New in 3.0. The server agent is now distributed as a signed MSI installer on Windows (replacing the .exe) and its configuration uses a TOML file (config.toml) instead of application.conf. If a previous agent is present on the machine, its configuration is migrated automatically on first start (see Migrating from the previous agent).
Prerequisites
Operating system
Minimum versions
Windows
Windows Server 2016+, Windows 10/11 (x86_64 or arm64)
Debian / Ubuntu
Debian 11 (Bullseye), Ubuntu 20.04 LTS
Red Hat and derivatives
RHEL/Rocky/Alma/CentOS Stream/Oracle 8 or 9
Outbound connection allowed to intake.kabeen.io on port 443/TCP. No inbound connection is required.
Administrator privileges (root on Linux, member of local Administrators on Windows).
On Linux, systemd is required as the init manager.
Package Download
Download the package matching your operating system from your Kabeen console (Infrastructure > Add a server > Automatic installation).
Double-click the MSI file and accept the UAC elevation.
Read and accept the End-User License Agreement (EULA).
On the Kabeen API key screen, paste the API key retrieved from your Kabeen account. You can also leave the field empty and set the key later in config.toml.
Click Install.
The installer copies the binary to C:\Program Files\Kabeen\Server Agent\, writes the configuration to C:\ProgramData\Kabeen\Server Agent\config.toml, registers the Windows service KabeenServerAgent (automatic startup) and starts it.
Silent installation. For a standalone machine, in an administrator PowerShell:
Installation creates the configuration file, enables the kabeen-server-agent.service unit and starts it. Then set the API key (see API Key Configuration).
Installation on Linux (Red Hat and derivatives)
Install the downloaded .rpm package:
sudo dnf install ./kabeen-server-agent.x86_64.rpm# or, on distributions without dnf:sudo yum install ./kabeen-server-agent.x86_64.rpm
As on Debian, the service is enabled and started automatically. All that remains is to set the API key.
API Key Configuration
On Linux, the API key must be set in the /etc/kabeen-server-agent/config.toml file:
On Windows, the file is located at C:\ProgramData\Kabeen\Server Agent\config.toml.
No need to restart the service. The agent re-reads config.toml automatically every 10 seconds: the new key is picked up at the next tick. Since the file contains a plaintext key, keep restrictive permissions (0600 / root on Linux).
Migrating from the previous agent
If a previous agent is already installed, the Kabeen server agent automatically imports its configuration on the very first start:
Previous agent item
Reused in the server agent
kbine.apiKey
api_key (API key)
agentUUID
agent identity (agent_id)
Reusing the agentUUID ensures that the machine keeps the same identity in the Kabeen console — it does not appear as a new host.
Migration runs only once and never overwrites an already-configured setup. Recommended procedure: install the server agent, verify in the Kabeen console that the machine reports under the same identifier, then uninstall the previous agent.
Verifying Operation
Linux:
sudo systemctl status kabeen-server-agent.servicesudo journalctl -u kabeen-server-agent.service -f
Windows (administrator PowerShell):
Get-Service -Name KabeenServerAgent
Once a valid API key is set, the logs should display All tasks running. Agent is operational., and the machine should appear in your Kabeen console with a recent heartbeat (less than 2 minutes).