Kaspersky Security Center

Manually checking the connection between a client device and the Administration Server. Klnagchk utility

April 17, 2024

ID 3912

You can check the connection and obtain detailed information about the settings of the connection between a client device and Administration Server by using the klnagchk utility.

When Network Agent is installed on a device, the klnagchk utility is automatically copied to the Network Agent installation folder.

When started from the command line, the klnagchk utility can perform the following actions (depending on the keys in use):

  • Displays on the screen or logs the values of the settings used for connecting the Network Agent installed on the device to Administration Server.
  • Records into an event log file Network Agent statistics (since its last startup) and utility operation results, or displays the information on the screen.
  • Makes an attempt to establish connection between Network Agent and Administration Server.

    If the connection attempt fails, the utility sends an ICMP packet to check the status of the device on which Administration Server is installed.

To check the connection between a client device and Administration Server using the klnagchk utility:

On the device, start the klnagchk utility from the command line.

Utility command line syntax:

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

Descriptions of the keys:

  • -logfile <file name> —Record in a log file the values of the settings of connection between Network Agent and Administration Server and the utility operation results.

    By default, information is saved in the standard output stream (stdout). If the key is not in use, settings, results, and error messages are displayed on the screen.

  • -sp —Show the password for the user's authentication on the proxy server.

    The setting is in use if connection to the Administration Server is established through a proxy server.

  • -savecert <file name> —Save the certificate, used to access the Administration Server, in the specified file.
  • -restart —Restart Network Agent after the utility has completed.

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.