GetDCIValueByTag
- GetDCIValueByTag(node, userTag): String | Table
-
Get last value of DCI with given user tag on given node.
Added in version 5.2
Table 1. Parameters node
Node object instance (e.g.
$node)userTag
String
DCI user tag (exact match).
ReturnLast value for given DCI (string for normal DCIs and Table object for table DCIs) or null if DCI with given tag does not exist or has no collected values.
GetDCIValueByName($node, "Agent.Version") // "5.0.0"