The Director aims to be your new favourite Icinga config deployment tool. Director is designed for those who want to automate their configuration deployment and those who want to grant their “point & click” users easy access to the configuration.
We are importing our hosts from a csv-file. Then we use sync rules and filter expressions to assign host templates. For example:
all hosts with var "Betriebssystem" "Linux" -> template_host_server_linux
all hosts with var "Betriebssystem" "Windows" -> template_host_server_windows
all other hosts should get "template_host_others"
so far so good, but if I want to assign more hosts to different templates, I have to change the filter for "template_host_others" each time and it gets very unclearly
Expected Behavior
Is there a better solution to implement this?
maybe a filter expression, that assigns the "template_host_others" to all hosts, which have not yet assigned a template!?
Your Environment
Director version (System - About): latest Master Branch c2d54f9de92
Icinga Web 2 version and modules (System - About): 2.5.3
Current Behavior
We are importing our hosts from a csv-file. Then we use sync rules and filter expressions to assign host templates. For example: all hosts with var "Betriebssystem" "Linux" -> template_host_server_linux all hosts with var "Betriebssystem" "Windows" -> template_host_server_windows all other hosts should get "template_host_others"
so far so good, but if I want to assign more hosts to different templates, I have to change the filter for "template_host_others" each time and it gets very unclearly
Expected Behavior
Is there a better solution to implement this? maybe a filter expression, that assigns the "template_host_others" to all hosts, which have not yet assigned a template!?
Your Environment
icinga2 --version
): r2.8.4-1