I wonder if I can use the {HOST.NAME} macro, or another variable or possebility, to set the value of a global macro.
Currently I set a userdefined macro this way for for one of our hosts called host1.example.com:
Macro name: {$ICMP_PING.FQDN}
Value: host1.example.com
For host2.example.com I have to set the same macro with the different hostname:
Macro name: {$ICMP_PING.FQDN}
Value: host2.example.com
Can this be done more generic e.g. using a global macro this way:
Macro name: {$ICMP_PING.FQDN}
Value: {HOST.NAME}
I've tried it but it did not work this way, but maybe I am doing something wrong...
Thanks for any hint and help :-)!
Currently I set a userdefined macro this way for for one of our hosts called host1.example.com:
Macro name: {$ICMP_PING.FQDN}
Value: host1.example.com
For host2.example.com I have to set the same macro with the different hostname:
Macro name: {$ICMP_PING.FQDN}
Value: host2.example.com
Can this be done more generic e.g. using a global macro this way:
Macro name: {$ICMP_PING.FQDN}
Value: {HOST.NAME}
I've tried it but it did not work this way, but maybe I am doing something wrong...
Thanks for any hint and help :-)!