NXSL:GetDCIValueByName
Jump to navigation
Jump to search
Get last value of DCI with given name on given node.
Syntax
GetDCIValueByName(node, name);
Parameters
node Node object. Predefined variable $node can be used to refer to current node in transformation script or event processing policy rule. node DCI name (parameter's name for agent or internal source, and OID for SNMP source).
Return Value
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.
Examples
GetDCIValueByName($node, "Agent.Version") -> "1.2.0"