Nagios – How to display specific monitors for a specific user/contactgroup while these monitors will also be displayed to the Admin team

nagios

I have a Nagios server which monitors many servers, a number of the servers is used for QA matters.
I'd like to allow the QA team access to the Nagios UI and i want them to be able to view only monitors which are related to their work.
More than that, these servers which i want the QA team to monitor should be displayed for the admins group as well (as it is configured at the moment) in addition to the QA team.
Is that doable?

At the moment, the QA are able to see all hosts/services which are configured on Nagios and not only the ones i specified in hosts.cfg which is what i'm trying to change.

Best Answer

Users are only able to see hosts (and the associated services) for which they are contacts.

If you make your 'admins' group the default contact for hosts/services (e.g., in your base templates), you can then add the QA team as contacts to the hosts that you want them to see.

See the CGI authorization docs for more-detailed info on who can see what, and also the Inheritance docs, specifically the section on "additive inheritance".