> Task object
The task object has the following properties:
The ‘Execute now’ task request object has the following properties.
Property | Description | |
---|---|---|
itemid | string | ID of item and low-level discovery rules. |
The diagnostic information task request object has the following properties. Statistic request object for all types of properties is described in detail below.
Property | Description | |
---|---|---|
historycache | object | History cache statistic request. Available on server and proxy. |
valuecache | object | Items cache statistic request. Available on server. |
preprocessing | object | Preprocessing manager statistic request. Available on server and proxy. |
alerting | object | Alert manager statistic request. Available on server. |
lld | object | LLD manager statistic request. Available on server. |
Statistic request object
Statistic request object is used to define what type of information should be collected about server/proxy internal processes. It has the following properties.
List of statistic fields available for each type of diagnostic information request
Diagnostic type | Available fields | Description |
---|---|---|
historycache | items | Number of cached items. |
values | Number of cached values. | |
memory | Shared memory statistics (free space, number of used chunks, number of free chunks, max size of free chunk). | |
memory.data | History data cache shared memory statistics. | |
memory.index | History index cache shared memory statistics. | |
valuecache | items | Number of cached items. |
values | Number of cached values. | |
memory | Shared memory statistics (free space, number of used chunks, number of free chunks, max size of free chunk). | |
mode | Value cache mode. | |
preprocessing | values | Number of queued values. |
preproc.values | Number of queued values with preprocessing steps. | |
alerting | alerts | Number of queued alerts. |
lld | rules | Number of queued rules. |
values | Number of queued values. |
List of sorting fields available for each type of diagnostic information request
Following statistic fields can be used to sort and limit requested information.
Statistic result object
Statistic result object is retrieved in field of task object.
Property | Type | Description |
---|---|---|
status | integer | Status of the task result. Possible values: -1 - error occurred during performing task; 0 - task result is created. : - read-only |
data | string/object | Results according the statistic request object of particular diagnostic information task. Contains error message string if error occurred during performing task. |