Multitenancy view hosts / not view services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
szalaj
Posts: 1
Joined: Thu Aug 04, 2016 7:32 am
Contact:

Multitenancy view hosts / not view services

Post by szalaj »

Hi, I am trying to set visibility for hosts and only some services which are checked on it. Case is:

I have two Nagios users: web & secweb
One host, which is checked by alive check: Host1
On Host1 I am monitoring two services: HTTP & HTTPS

Ultimate goal would be if both users will see Host1 status (UP/DOWN) and only services belongs to them (web - only HTTP & secweb - only HTTPS).
Host has two services monitored, but users should see Host and only one service.
If I add any user as Host1 contact, it can see both services as well as Host1.

Is it even possible?
Not afraid of some scripting etc.

Thanks.
Jan Szala
Solutia, s.r.o.
Czech Republic
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Multitenancy view hosts / not view services

Post by rkennedy »

You need to explicitly specify the contact assigned to the service, otherwise you'll experience implied inheritance which pushes the same contact down to your services.

See this link for an explanation - https://assets.nagios.com/downloads/nag ... tance.html
Former Nagios Employee
Locked