NetXMS Support Forum

English Support => General Support => Topic started by: blazarov on November 06, 2015, 04:28:40 PM

Title: Change node IP address - needs reapplying the template
Post by: blazarov on November 06, 2015, 04:28:40 PM
Hello everyone,

I have just noticed something that never crossed my mind so far.

We're extensively using ICMP subagent via nxagent proxies. Therefore we have templates with DCIs like these:
Icmp.AvgPingTime(%{node_primary_ip})
Icmp.PacketLoss(%{node_primary_ip})

When the template is applied on a node the macro %{node_primary_ip} is being transformed with the correct value. My problem is that when we change the node IP address, it is not being updated in the node's DCI,  because it seems the macro is being replaced only at the moment of template apply. Is that correct?

If so Any ideas how to work around it?

Thanks in advance!