KUMA agent installed on Linux devices stops when you close the terminal or restart the server. If you do not want to start KUMA agents manually, we recommend installing agents using an application that automatically starts applications whenever the server is restarted, for example, the Supervisor application. If you want to start KUMA agents automatically, specify the automatic start and restart settings in the KUMA configuration file. For more information on configuring automatic starting and restarting, see the official documentation of applications for automatically starting applications.
Example configuration in Supervisor
To install a KUMA agent to a Linux asset:
Make sure the kuma file has sufficient rights to run.
sudo useradd --system kuma && usermod -s /usr/bin/false kuma
sudo chown -R kuma:kuma <
path to the directory with the KUMA configuration file
>
sudo /opt/kaspersky/kuma/kuma agent --core https://<
KUMA Core server FQDN
>:<
port used by KUMA Core for internal communication (port 7210 by default)
> --id <
service ID copied from the KUMA Console> --wd <
path to the directory that will contain the files of the installed KUMA agent
.
If this option is not specified, the files will be stored in the directory where the KUMA file is located
> [--accept-eula]
You can install two KUMA agents on the same Linux device. In this case, KUMA agents will work in parallel. When installing the second KUMA agent, you need to specify a separate directory for it using the --wd
option.
To run the agent, you need to accept the End User License Agreement. You can add the --accept-eula
option to the command to automatically accept the End User License Agreement during KUMA agent installation. This lets you perform the installation non-interactively. If you do not specify this option, you will need to accept or reject the License Agreement manually during the installation of the KUMA agent.
Examples of installing the KUMA agent:
sudo /opt/kaspersky/kuma/kuma agent --core https://kuma.example.com:7210 --id XXXX --wd /opt/kaspersky/kuma/agent/XXXX
sudo /opt/kaspersky/kuma/kuma agent --core https://kuma.example.com:7210 --id XXXX --wd /opt/kaspersky/kuma/agent/XXXX --accept-eula
By using the --accept-eula
option during the installation of the KUMA agent, you confirm that you agree with and accept the terms and conditions of the End User License Agreement.
./kuma license --show
The KUMA agent is installed on the Linux device.
You can configure the collector to receive data that the KUMA agent sends to KUMA.
Page top