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!
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!