NXSL:FindAllDCIs

From NetXMS Wiki
Jump to navigation Jump to search
This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

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