After upgrading from Icinga Web 2 2.8.4 to 2.9.3 I’ve recognized that I’m unable to filter for contacts anymore.
No matter what I’m entering into the filter field, I’m always getting listed all contacts (see screenshot below).
Two ways to reproduce:
Go directly to “Overview” - “Contacts” and search for something non-existent
or (more regularly used)
Click on one of the “Contactgroups” on a host or service page, then click on that contact group.
In that case I’d expect to only see the contacts that are members of this group.
Question: Am I the only one with this problem as I haven’t found an issue neither on Github nor an article here in the community forum.
Can anyone confirm this bug? If so I’d create an issue on Github.
Maybe the mentioned problem isn’t in relation to the upgrade mentioned above!
I have done further research on this and found that not only the filter for contacts isn’t working for me.
Current State Contacts
There are only 62 out of 104 contacts listed in “Overview” - “Contacts”.
The number of items seems to be correctly calculated, as the page count on top varies when the number of items per page is modified.
Contact Groups
There are only 51 out of 95 contact groups listed in “Overview” - “Contactgroups”.
The number of items seems to be correctly calculated, as the page count on top varies when the number of items per page is modified.
Things I’ve looked at Contacts
I’ve checked for special characters and removed one user entry with beginning underline character and one with an accent mark in a display name but nothing changed.
In users.conf created by Icinga Director all 104 user objects are present
Calling "icinga2 object list --type User" is showing all 104 User objects
Contact Groups
I’ve checked for special characters and removed one usergroup entry with beginning underline character but nothing changed.
In usergroups.conf created by Icinga Director all 95 usergroup objects are present
Calling "icinga2 object list --type UserGroup" is showing all 95 UserGroup objects
Note
The users were created via Icinga Director.
Questions
Are there any limitations for the fields “email”, “display_name”, “object_name” (lenght, special characters, etc.)?
I’ve found the following issue: Contacts from Director are only visible for administrators · Issue #3089 · Icinga/icingaweb2 · GitHub
This one led me to test the behavior with the “build in” / “local” Icinga Web 2 administrative account. With this user all Contacts and Contactgroups are displayed.
My regular user is in role “Administrators” via an AD group membership.
The role “Administrators” was set to “Administrative Access” = “Yes” but “Unrestricted Access” = “No”.
After also setting “Unrestricted Access” = “Yes” I can now see all contacts with my regular admin user.
So I’m setting this one as closed.