Kaspersky Endpoint Security 11 for Linux

Manually checking the connection with the Administration Server. Klnagchk utility

January 19, 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:

  • Displays or writes to the event log file the values of the settings for connecting the Network Agent installed on the client computer to the Administration Server.
  • Records Network Agent statistics (since the last time the component was started) and utility operation results to the event log file, or displays the information on the screen.
  • Attempts to establish a connection between Network Agent and the Administration Server.
  • If the connection attempt fails, the utility sends an ICMP packet to check the status of the computer on which the Administration Server is installed.

Utility syntax

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

Description of keys

  • -logfile <file name> – record to a log file both the results of running the utility as well as the values of the settings for connecting Network Agent to the Administration Server. 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.