Combining Variables

Hi all,

trying to combine multipe variables in Director e.g. var.customer = “CustomerName”, vars.wmi_authfile_path = “/etc/icinga/auth/[ “$vars.Customer$” ].auth”

I defined vars.cusomers in Director Data List

object Service "CPU" {
    host_name = "servername.domain.local"
    check_command = "check_wmi"
    max_check_attempts = "3"
    check_interval = 1m
    retry_interval = 30s
    check_timeout = 30s
    enable_notifications = true
    enable_active_checks = true
    enable_passive_checks = true
    enable_event_handler = false
    enable_flapping = true
    enable_perfdata = true
    command_endpoint = null
    vars.Customer = "CustomerName"
    vars.check_mode = "checkcpu"
    vars.wmi_authfile_path = "/etc/icinga2/auth/[ \"$vars.Customer$\" ].auth"
    vars.wmi_crit = "80%"
    vars.wmi_warn = "60%"
}

How i can combine these variables that vars.wmi_authfile_path = “/etc/icinga2/auth/CustomerName.auth” will be the output at the end?

Director version 1.8.1
Icinga Web 2 2.9.5
PHP 8.0.14

okay looks like i found it:

/etc/icinga2/auth/$service.vars.Customer$.auth