Hi,
I am playing around with runtime macros. Now I have a test construct to
check out which address variable is taken
object Host "test" {
address = "localhostx"
vars.address = "vars_localhost"
check_command = "dummy"
}
object Service "test_a" {
host_name = "test"
check_command = "dummy"
var a = "$address$"
log(LogCritical,"Console",a)
}
The /var/log/syslog just prints out
icinga2[17617]: [2017-11-23 14:37:47 +0100] critical/Console: $address$
--
Shouldn't it resolve one of the address variables?
Greetings
Tobias
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users