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/klnagent/bin directory. Depending on the utilized keys, it performs the following actions when started:
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. By default, information is saved in the stdout.tx 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 after the utility has completed.