KSC Open API
Kaspersky Security Center API description
"Information about running PRCI component instances"

Information about running PRCI component instances is contained in the "klhst-rt-InstInfo" container. It has sub-containers named after products *. Each such sub-container has klhst-rt-InstInfoArray variable which is an array of containers, and each array entry contains following variables.

NameTypeDescription
instStateparamInt

PRCI component instance state, one of:

  • 0 (STATE_INACTIVE) Inactive (only for initializing purposes)
  • 1 (STATE_CREATED) Just created
  • 2 (STATE_INITIALIZING) Initializing
  • 3 (STATE_RUNNING) Running
  • 4 (STATE_SUSPENDING) Suspended
  • 5 (STATE_DEINITIALIZING) Deinitializing
  • 6 (STATE_FAILURE) Failed to start
  • 7 (STATE_SHUTTING_DOWN) Shutting down
  • 8 (STATE_DESTROYED) Destroyed

instStatisticsparamParamsStatistics, see "Product-specific instance statistics"
klhst-ComponentNameparamStringPRCI component name
klhst-InstanceIdparamStringPRCI component instance id

Example

        +--- (PARAMS_T)
            +---klhst-rt-InstInfo (PARAMS_T)
                +---1103 (PARAMS_T)
                    +---klhst-rt-InstInfoArray (ARRAY_T)
                        +---0 (PARAMS_T)
                        |   +---instState = (INT_T)3
                        |   +---instStatistics (PARAMS_T)
                        |   +---klhst-ComponentName = (STRING_T)"85"
                        |   +---klhst-InstanceId = (STRING_T)"1103-85"
                        +---1 (PARAMS_T)
                        |   +---instState = (INT_T)3
                        |   +---instStatistics (PARAMS_T)
                        |   +---klhst-ComponentName = (STRING_T)"KLNAGNETSCAN"
                        |   +---klhst-InstanceId = (STRING_T)"KLNAGNETSCAN"
                        +---2 (PARAMS_T)
                        |   +---instState = (INT_T)3
                        |   +---instStatistics (PARAMS_T)
                        |   +---klhst-ComponentName = (STRING_T)"Updater"
                        |   +---klhst-InstanceId = (STRING_T)"UPD_COMPONENT_WELLKNOWN_NAME"
                        +---3 (PARAMS_T)
                            +---instState = (INT_T)3
                            +---instStatistics (PARAMS_T)
                            |   +---KLNAG_ST_LAST_PING_ATTEMPT = (DATE_TIME_T)29-01-2018 06:56:27
                            |   +---KLNAG_ST_PING_ATTEMPTS_CNT = (INT_T)5
                            |   +---KLNAG_ST_PING_ATTEMPTS_SUC_CNT = (INT_T)5
                            |   +---KLNAG_ST_SYNC_ATTEMPTS_CNT = (INT_T)1
                            |   +---KLNAG_ST_SYNC_ATTEMPTS_SUC_CNT = (INT_T)1
                            +---klhst-ComponentName = (STRING_T)"86"
                            +---klhst-InstanceId = (STRING_T)"ecbd4e91-8322-4cd0-8e46-35393e68944f"