Sevice & Host visibility for additional users!

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
desesperado
Posts: 3
Joined: Mon Jun 06, 2016 1:54 pm

Sevice & Host visibility for additional users!

Post 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?
desesperado
Posts: 3
Joined: Mon Jun 06, 2016 1:54 pm

Re: Sevice & Host visibility for additional users!

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Sevice & Host visibility for additional users!

Post 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 :(
Former Nagios employee
desesperado
Posts: 3
Joined: Mon Jun 06, 2016 1:54 pm

Re: Sevice & Host visibility for additional users!

Post 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 :(
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Sevice & Host visibility for additional users!

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked