Manually checking the connection with the Administration Server. Klnagchk utility
Oct 22, 2023
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.
klnagchk [-logfile <
>] [-sp] [-savecert <
path to certificate file
Description of keys
>: 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.
>: save the certificate used to authenticate access to the Administration Server in the specified file.
-restart: restart Network Agent.