NXSL:DCI

From NetXMS Wiki
Jump to navigation Jump to search
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

Represents Data Collection Item (DCI).


Class Name

DCI


Attributes

Name Type Description
comments string Comments (since 2.0-M5)
dataType int32 Configured data type; possible values are:
0 Integer
1 Unsigned integer
2 64 bit integer
3 64 bit unsigned integer
4 String
5 Floating point number
6 Null
description string Description
errorCount uint32 Number of consecutive data collection errors
id uint32 Unique DCI identifier
instance string DCI instance (only for single value DCIs)
lastPollTime int64 Time of last DCI poll (either successful or not) as number of seconds since epoch (1 Jan 1970 00:00:00 UTC)
name string Parameter's name
origin int32 Data origin (source); possible values are:
0 Internal
1 NetXMS agent
2 SNMP agent
3 Check Point SNMP agent
4 Push
status int32 DCI status; possible values are:
0 Active
1 Disabled
2 Not supported
systemTag string System tag; always empty for user-defined DCIs
template object Template object or NULL if this DCI was not added from template (since 2.1.3)
templateId int32 Template object ID or 0 if this DCI was not added from template (since 2.1.3)
templateItemId int32 Template item ID or 0 if this DCI was not added from template (since 2.1.3)
type int32 DCI type: 1 for single valued, 2 for table