The non-admin user however only gets a very small number of hosts (2) and services (2) in the overview. But when clicking on the Host Group, the right hand side shows the same list of hosts (clearly more than 2 hosts):
Hello @Napsty
Please review your Role permission in icingaweb2. If the role filter for non-admin is configured this way then what you are see is correct.
Can you share the roles.ini (/etc/icingaweb2/roles.ini) file?
As you can see in the screenshots, the hostgroup_name matches.
By using the search in Icingaweb2, this user (relevantuser) can also see all hosts from this hostgroup. Also the “Tactical Overview” shows the correct amount of hosts (174) and services:
Hello @Napsty
I did a test on my icingaweb2 (ver 2.7.3) and noticed the count was wrong also.
I mirrored the filter you have and under my admin user there are 15 host count under the hostgroup. Under a user account assigned to this icingaweb2 role to the same hostgroup the count is 12 BUT if I manually count the host there were 15.
Thanks for validating @aclark6996!
Do you have a 2.8 installation, too? Are the numbers appearing correctly in 2.8?
The icingaweb2 setup (in this affected environment) still runs on Xenial, so I can’t just upgrade to 2.8.