Hide Services from Contact Group

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Re: Hide Services from Contact Group

Post by nms »

Hi,

Correct. The aim is to hide some services from the user, but if an issue on the host occurs (host down) the user still sees it.
Is this possible? Or there a workaround that can be done?

Rgds,

Matthew
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Hide Services from Contact Group

Post by ssax »

I don't think this is possible based on the current multi-tenancy functionality, here's why:

In order to see the HOST alerts the user viewing the Operations Center screen has to be a contact of the HOST which automatically gives them permissions to view the SERVICES. Now they see all the services, which you don't want.

So if you remove them from the HOST and then only show them SERVICE_Y, they will not see the HOST alerts anywhere because of the multi-tenancy functionality.

I can't think of a way to get what you want based on current functionality.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Hide Services from Contact Group

Post by cdienger »

One potential work around - you could create a service check that uses the same plugin and settings as the host check. It would be a service but function the same as the host check.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Re: Hide Services from Contact Group

Post by nms »

As a workaround, you can create a duplicate host (with a slightly different config name) and assign it to the user group.
From the original host with its services, you can remove the user group so some services can be hidden.
With this method at least the em group of users will know that the host is down, whilst some services are still hidden from them.

Can this be a feature request?

Rgds,

Matthew
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Hide Services from Contact Group

Post by cdienger »

Good work around.

The functionality is a part of Nagios Core's implied inheritance functionality(https://assets.nagios.com/downloads/nag ... tance.html). A change like this likely wouldn't be a trivial, but the first step would be to file a feature request on the project's github page - https://github.com/NagiosEnterprises/nagioscore/issues
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked