Difference between revisions of "NXSL:FindAllDCIs"
Jump to navigation
Jump to search
(Created page with "__NOTOC__ Find all DCIs with matching name or description on given node. '''Since:''' 1.2.12 == Syntax == FindAllDCIs(''node'', ''nameFilter'', ''descriptionFilter''); =...") |
(No difference)
|
Revision as of 12:14, 7 January 2016
Find all DCIs with matching name or description on given node.
Since: 1.2.12
Syntax
FindAllDCIs(node, nameFilter, descriptionFilter);
Parameters
node Node object. Predefined variable $node can be used to refer to current node in transformation script or event processing policy rule. nameFilter Filter for DCI names (* and ? metacharacters can be used). If omitted all names will be matched. descriptionFilter Filter for DCI names (* and ? metacharacters can be used). If omitted all names will be matched.
Return Value
Array of DCI objects. If no matching objects found empty array will be returned.
Examples
FindAllDCIs($node, "System.CPU.Usage(*)"); // Find System.CPU.Usage() parameters for all CPUs