Page 1 of 1

Sevice & Host visibility for additional users!

Posted: Mon Jun 06, 2016 2:07 pm
by desesperado
Hi guys,

I'm currently working on Nagios configuration for my company.
What I have now is distributed nagios setup using mod_gearman & livestatus for fast data access.

The thing is that I'm looking for mechanism on how to control user's visibility.
What exactly I need:

For example we have 100 hosts with 10 services on each, 10 of them should be monitored only by one department and only specific services.
nagiosadmin see all hosts and services.
departmentX see 10 hosts and able to view only 5 services.

---------------------
I have successfully tested and have been able to configure contact so see speceific services but in this case the contact can't see hosts.
Also I have been able to configure specific contact to see specific hosts but in this case the contact see all services assigned to the host at hand.

--------------------
Could some one point me to the mechanism or article on how I can control visibility for both objects hosts&services at the same time?

Re: Sevice & Host visibility for additional users!

Posted: Mon Jun 06, 2016 3:10 pm
by desesperado
I also found that mk_check has what I'm looking for but I'm not sure where I should configure this.

https://mathias-kettner.de/checkmk_live ... figuration

nagios.cfg file show error as the variable unknown.

Re: Sevice & Host visibility for additional users!

Posted: Mon Jun 06, 2016 5:10 pm
by tmcdonald
Unfortunately not how Core is going to work:

https://support.nagios.com/forum/viewto ... 688#p61499

If you are assigned as a contact on a host, you will be able to view all of its services.

I am unfamiliar with the Livestatus method, and since it's not our product you'll need to reach out to them for assistance with it.

Sorry for the bad news :(

Re: Sevice & Host visibility for additional users!

Posted: Mon Jun 06, 2016 5:55 pm
by desesperado
What about Nagios XI ?
Do you have such functionality in commercial solution ?

tmcdonald wrote:Unfortunately not how Core is going to work:

https://support.nagios.com/forum/viewto ... 688#p61499

If you are assigned as a contact on a host, you will be able to view all of its services.

I am unfamiliar with the Livestatus method, and since it's not our product you'll need to reach out to them for assistance with it.

Sorry for the bad news :(

Re: Sevice & Host visibility for additional users!

Posted: Mon Jun 06, 2016 6:09 pm
by Box293
Nagios XI relies on Core and hence that underlying logic in Core is the same in Nagios XI ... If you are assigned as a contact on a host, you will be able to view all of its services.