Difference between revisions of "NXSL:FindAllDCIs"

From NetXMS Wiki
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''); =...")
 
m (Text replacement - "^" to "{{deprecated}}")
 
Line 1: Line 1:
__NOTOC__
{{deprecated}}__NOTOC__
Find all DCIs with matching name or description on given node.
Find all DCIs with matching name or description on given node.



Latest revision as of 18:13, 13 September 2022

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