Manually checking the connection with the Administration Server. Klnagchk utility

January 20, 2022

ID 194562

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

After installation of Network Agent, the utility is located in the /opt/kaspersky/klnagent64/bin directory. Depending on the utilized keys, it performs the following actions when started:

  • Displays the values of the connection settings of Network Agent installed on the client computer to the Administration Server, or writes them to an event log file.
  • 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 the values of the settings for connecting Network Agent to the Administration Server and the utility operation results into a log file. 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.