Icinga / icingaweb2-module-director

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.
https://icinga.com/docs/director/latest
GNU General Public License v2.0
413 stars 203 forks source link

Service from unmatching `apply for` rule are shown in Director #779

Open widhalmt opened 7 years ago

widhalmt commented 7 years ago

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.

dgoetz commented 7 years ago

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.