Difference between revisions of "UM:Data Collection"

13 bytes removed ,  22:29, 14 May 2012
m
Line 360: Line 360:


{| class="wikitable" style="width: 70%"
{| class="wikitable" style="width: 70%"
| '''Macro'''
! Macro || Expands to...
| '''Expands to...'''


|-
|-
Line 382: Line 381:
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:


 
My ip address is %{node_primary_ip}
My ip address is %{node_primary_ip}
 


When applying to node with primary IP address 10.0.0.1, on the node will be created DCI with the following description:
When applying to node with primary IP address 10.0.0.1, on the node will be created DCI with the following description:


 
My ip address is 10.0.0.1
My ip address is 10.0.0.1
 


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.
AutoPatrol
191

edits