I am relative new at Icinga with some experience. I want to create a role which don’t have any right to some of the hosts and the services. My goal would be to create a role which has access to all devices, except for printers and their services.
I tried to create such role, but I did not find where should I restrict the access. As I understood, this place also depends on the modules I use. Currently I am using the IcingaDB and Icinga Director modules. Of course IcingaWeb2 is also installed. The Icinga monitoring module is not enabled.
You can use Icingaweb2 filter syntax to restrict access.
First create a Dashboard with the required rules and then copy them into the filters of the modules - probably icingadb/filter/objects with the rule looking something like hostgroup_name!=Printing|servicegroup_name!=Printing
For the director you probably need to create a host group with all hosts except the printers to put into director/filter/hostgroups. You can use the same rule as above to attach the host group to the non printer hosts.
Thanks, it is much better this way. I created the needed host and service groups also the filters on the dashboard. But the problems are still shown under Problems menu entry. Is there a way to “remove” them somehow from there?