We have strange low performance behaviour in IcingaWeb 2.7.1 or higher, when we use group name filtering in user roles. For instance, when we set the role attribute “monitoring/filter/objects” for a GUI login to, say,
to restrict visibility of hosts to those few groups, opening a services list page from a host view in the GUI takes 15-25 seconds!! (The behaviour is similar if just an asterisk is provided, or even a straight single group name!)
(URL looking something like this…) https://18.104.22.168/icingaweb2/dashboard#!/icingaweb2/monitoring/list/services?host=XYZ-SWITCH3
(We have more than 100 host groups defined in this instance.)
We have found a work-around by defining “visibility*” host variables, and then using those in the filter definition, but we wonder why this very long delay is happening? Is it a known bug in the IcingaWeb source? (And only with host group names?!)
P.S.: I did look to see whether this has been reported anywhere else before, but did not find anything. Please let me know if it’s been “solved” somehow, somewhere in the WWW. Thanks!