Difference between revisions of "NXSL:GetDCIValueByName"

From NetXMS Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ Get last value of DCI with given name on given node. == Syntax == GetDCIValueByName(''node'', ''name''); == Parameters == :{| |- | ''node'' || [[NXSL:Node|Node...")
(No difference)

Revision as of 21:35, 21 April 2012

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 or null if DCI with given name does not exist or has no collected values.


Examples

GetDCIValueByName($node, "Agent.Version")	->	"1.2.0"