KSC Open API
Kaspersky Security Center API description
Network Agent 'Change Administration Server' task ("KLNAG_TASK_RECONNECTION")

The task stores provided settings in a temporary location, finishes, waits for the specified timeut and restarts Network Agent so that it read that temporary location and changes its Administration Server connection settings.


Task parameters description.


Full change of Administration Server connection parameters (supported only in on-premises mode):

NameTypeDescription
"ServerAddress"paramStringAdministration Server location
"Serverports"paramArray|paramIntAdministration Server non-SSL ports
"ServerSslPorts"paramArray|paramIntAdministration Server SSL ports
"KLNAG_SSL_SERVER_CERT"paramBinaryOptional. Administration Server certificate
"KLNAG_TASK_RECONNECTION_TIMEOUT"paramIntWait timeout before Network Agent restart, in milliseconds. The default value is 60000 milliseconds.


Change only virtual server name (supported both in on-premises and hosted commercial modes):

NameTypeDescription
"KLNAG_VS_NAME"paramString

Virtual server name,

  • non-empty value then switch to the specified VS of the current physical Administration Server,
  • if empty then switch to the Administration Server specified in "ServerAddress" parameter, if latter is empty (or must be ignored as in hosted mode) then switch to the current physical server

"KLNAG_TASK_RECONNECTION_TIMEOUT"paramIntWait timeout before Network Agent restart, in milliseconds. The default value is 60000 milliseconds.
See also: