macros and scripts possible in DCI parameter field?

Started by Dani@M3T, March 25, 2014, 10:20:34 PM

Previous topic - Next topic

Dani@M3T

Is it possible to use macros and/or scripts in the 'Parameter' field of DCIs? I could use it with subagents. Otherwise everything must be implemented in transformation scripts. That would be a litlle bit confusing if you only need things like node-name oder node-IP.

Victor Kirhenshtein

Currently this is very limited. You can use macros in templates - these macros will be expanded when template applied to nodes. This can be useful if you create template and need to pass IP address or node name to parameter after it was applied to node. Here is short description for template macros: https://www.netxms.org/documentation/adminguide/data-collection.html#macros-in-template-items

Best regards,
Victor

Dani@M3T

Thanks Victor. I know this in templates. I just thought there could be a similar possibility directly in DCIs of a node.