Difference between revisions of "UM:Data Collection"

Jump to navigation Jump to search
16 bytes removed ,  22:52, 7 May 2012
Line 370: Line 370:
{| class="prettytable"
{| class="prettytable"
| '''Macro'''
| '''Macro'''
| '''Expands to…'''
| '''Expands to...'''


|-
|-
Line 386: Line 386:
|-
|-
| script:''name''
| script:''name''
| String returned by script ''name''. Script should be stored in script library (accessible via Control Panel -> Script Library). Inside the script, you can access current node’s properties via $node variable.
| String returned by script ''name''. Script should be stored in script library (accessible via Control Panel -> Script Library). Inside the script, you can access current node's properties via $node variable.


|}
|}
For example, if you wish to insert node’s IP address into DCI description, you can enter the following in the description field of template DCI:
For example, if you wish to insert node's IP address into DCI description, you can enter the following in the description field of template DCI:




Line 402: Line 402:


Please note that if you change something in the node, name for example, these changes will not be reflected automatically in DCI texts generated from macros. However, they will be updated if you reapply template to the node.
Please note that if you change something in the node, name for example, these changes will not be reflected automatically in DCI texts generated from macros. However, they will be updated if you reapply template to the node.


== Working with collected data ==
== Working with collected data ==
AutoPatrol
191

edits

Navigation menu