GetDCIValueByName

GetDCIValueByName(node, name): String | Table

Get last value of DCI with given name on given node.

Table 1. Parameters

node

Node

Node object instance (e.g. $node)

name

String

DCI name (parameter’s name for agent or internal source, and OID for SNMP source).

Return

Last value for given DCI (string for normal DCIs and Table object for table DCIs) or null if DCI with given name does not exist or has no collected values.

GetDCIValueByName($node, "Agent.Version")	// "5.0.0"