Difference between revisions of "NXSL:DCI"

From NetXMS Wiki
Jump to navigation Jump to search
m
Line 36: Line 36:
|-
|-
| id || uint32 || Unique DCI identifier
| 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)
| lastPollTime || int64 || Time of last DCI poll (either successful or not) as number of seconds since epoch (1 Jan 1970 00:00:00 UTC)
Line 66: Line 68:
|-
|-
| systemTag || string || System tag; always empty for user-defined DCIs
| systemTag || string || System tag; always empty for user-defined DCIs
|-
| type || int32 || DCI type: 1 for single valued, 2 for table
|}
|}


[[Category:NXSL Class Reference|DCI]]
[[Category:NXSL Class Reference|DCI]]

Revision as of 17:50, 23 April 2014

Represents Data Collection Item (DCI).


Class Name

DCI


Attributes

Name Type Description
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
type int32 DCI type: 1 for single valued, 2 for table