icingaweb2-module-director
icingaweb2-module-director copied to clipboard
Service from unmatching `apply for` rule are shown in Director
We are using apply for to apply services by iterating over an array. Director forces us to set the assign where rule as well even when it's not used by Icinga 2.
We set it to assign where [array] != "".
While this works perfectly well in Icinga 2, all hosts in Director show these services like they would have them applied.
Since this is just a viewing issue please handle this issue very low priority.
If I'm wrong and there is a way to omit the assign where part, please let me know.
Instead of not only being displayed, I would prefer not having to set the assign where for apply for as in most cases it will simply be applied on the array/dictionary using in the for.