How to manually analyze connection between client computer and Administration Server using "klnagchk" utility
Latest update: December 2, 2019
ID: 15300
The "klnagchk" utility parses out the parameters of the connection established between Network Agent and Administration Server.
Where to find the utility
When Network Agent gets installed, the utility is stored in folder /Library/Application Support/Kaspersky Lab/klnagent/Binaries
How to use the utility
Run the utility on a client device under the local administrator account.
- Open Terminal.
- Run the command with a set of needed parameters:
/Library/Application\ Support/Kaspersky\ Lab/klnagent/Binaries/klnagchk [-logfile file_name]
[-sp] [-savecert path_to_certificate_file] [-restart]
[-sp] [-savecert path_to_certificate_file] [-restart]
Example:
/Library/Application\ Support/Kaspersky\ Lab/klnagent/Binaries/klnagchk -logfile klnagchk.log ‑sp
Parameter | Description |
---|---|
-logfile file_name | Save the utility operation results to a specified file. In case no file is specified, the connection parameters, the operation results and the error messages are shown on the screen. |
-sp | Show the password for proxy server authentication on the screen. This parameter is used when Network Agent establishes connection to the Administration Server via a proxy server. The parameter is disabled by default. |
-savecert file_name | Save the certificate for the Administration Server authentication to a specified file. |
-restart | Restart Network Agent upon completing the utility operations. |
The utility operation results
Depending on the specified parameters, the utility will do the following:
- Display on the screen or save to a file the parameter values of the connection established between Network Agent and Administration Server.
- Display on the screen or save to a file the statistics and the results of operations performed by Network Agent.
- Establish connection between Network Agent and Administration Server.
- Send an ICMP packet to check the status of a computer with Administration Server installed in case an attempt to establish connection has failed.