Kaspersky Endpoint Security 11 for Linux

Manually checking the connection with the Administration Server. Klnagchk utility

December 12, 2023

ID 198059

The Network Agent distribution kit includes the klnagchk utility, which is intended for checking connection to the Administration Server.

After installation of the Network Agent, the utility is located in the /opt/kaspersky/klnagent/bin directory in 32-bit operating systems and in the /opt/kaspersky/klnagent64/bin directory in 64-bit operating systems. Depending on the utilized keys, the Network Agent performs the following actions when started:

  • Writes to the event log file or displays the values of the settings for connecting the Network Agent installed on the client device to the Administration Server.
  • Writes to the event log file or displays the Network Agent statistics (since its last launch) and the results of running the utility.
  • Attempts to establish a connection between Network Agent and the Administration Server.
  • If the connection fails, the utility sends an ICMP packet to check the status of the device where the Administration Server is installed.

Utility syntax

klnagchk [-logfile <file name>] [-sp] [-savecert <path to certificate file>] [-restart]

Description of keys

  • -logfile <file name>: write to an event log file both the values of the settings for connecting Network Agent to the Administration Server and the results of running the utility. If this key is not used, the settings, results, and error messages are displayed on the screen.
  • -sp: show the password for user authentication on the proxy server. This setting is used if the connection to the Administration Server is established via a proxy server.
  • -savecert <file name>: save the certificate used to authenticate access to the Administration Server in the specified file.
  • -restart: restart Network Agent.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.