Possible permissions problem with the Xi interface

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Brian_M
Posts: 43
Joined: Wed Apr 04, 2012 8:08 am

Possible permissions problem with the Xi interface

Post by Brian_M »

Hello,

First I must apologize about the length of this beast of a post ;-)

I'm currently running 2011r3.3 on a CentOs 6.3 minimum install (with Gnome). I have configured the groupings as such:

Hostgroups: The country the host physically sits in.
Servicegroups: The service the host is providing to the region.

Each servicegroup and hostgroup has a generic admin account so that they may monitor all services throughout the region (e.g. dco_admins can log in and see all domain controllers regardless of hostgroup assignment, cz_admins can see all hosts in the Czech Republic regardless of servicegroup assignment). In the past, these regular user accounts could not see hosts / services they were not explicitly authorized to view. Now when a dco_admin logs in, they see all the domain controllers in the DCO service group (correct), but clicking on hostgroup summary, the screen displays all countries along with complete status of every host / service in each country as opposed to only domain controllers. The user can then click on a specific country, and they have a complete list of hosts / services, but see a "no matching services" message on everything but the domain controllers.

If this same user then clicks on the "hostgroup grid", they see all hosts and services regardless of their location / service, and the "no matching services" message is not displayed....they can simply see everything in the system just like an administrative account.

This appears to be happening on all user accounts - when this behavior started I'm not sure, but after the initial install a dco_admin could only see domain controllers. If they clicked on any of the hostgroup links, they would be presented with a list of all domain controllers sorted by country and could not see any information on hosts that were not domain controllers.

Hope this explanation was sufficient to describe the problem.

Thanks,
Brian
User avatar
CGraham
Posts: 115
Joined: Tue Aug 16, 2011 2:43 pm

Re: Possible permissions problem with the Xi interface

Post by CGraham »

I'm attaching a screenshot of the user settings I put in place for an admin who didn't want to see anyone else's alerts.
You do not have the required permissions to view the files attached to this post.
Brian_M
Posts: 43
Joined: Wed Apr 04, 2012 8:08 am

Re: Possible permissions problem with the Xi interface

Post by Brian_M »

Thanks for looking into it, but those settings had no effect for me. My default was just "user" with no additional privileges. :-(
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Possible permissions problem with the Xi interface

Post by mguthrie »

We did come across a permissions bug last week where some users were seeing the Configure tab when they weren't supposed to be. We corrected it in the 2012r1.0 release, but I'm wondering if these could be related. Here's the patched file if you want to test the fix on your installation without the full upgrade.

Make a backup first, and then replace the following file with the one that is attached.

/usr/local/nagiosxi/html/includes/utils-objects.inc.php

Let us know if that fixes the issue.
You do not have the required permissions to view the files attached to this post.
User avatar
CGraham
Posts: 115
Joined: Tue Aug 16, 2011 2:43 pm

Re: Possible permissions problem with the Xi interface

Post by CGraham »

Do you have any escalations configured?
Brian_M
Posts: 43
Joined: Wed Apr 04, 2012 8:08 am

Re: Possible permissions problem with the Xi interface

Post by Brian_M »

None - host and service escalations are all blank.
CGraham wrote:Do you have any escalations configured?
Brian_M
Posts: 43
Joined: Wed Apr 04, 2012 8:08 am

Re: Possible permissions problem with the Xi interface

Post by Brian_M »

Same results I'm afraid. I see the change management guys have me scheduled to do the 2012r1 update and OS patches this weekend....i'll try the update and see if the problem is corrected. Either way, I"ll update this thread.

Thanks again for the help!

-Brian
mguthrie wrote:We did come across a permissions bug last week where some users were seeing the Configure tab when they weren't supposed to be. We corrected it in the 2012r1.0 release, but I'm wondering if these could be related. Here's the patched file if you want to test the fix on your installation without the full upgrade.

Make a backup first, and then replace the following file with the one that is attached.

/usr/local/nagiosxi/html/includes/utils-objects.inc.php

Let us know if that fixes the issue.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Possible permissions problem with the Xi interface

Post by scottwilkerson »

Yes, please do let us know.

Thanks.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Brian_M
Posts: 43
Joined: Wed Apr 04, 2012 8:08 am

Re: Possible permissions problem with the Xi interface

Post by Brian_M »

Hello Gentlemen,

I'm still experiencing the same behavior after the successful upgrade to 2012r1.0 (see attachments). I'm now logged in as dco_admin and see the following:

Hostgroup Overview:
dco.jpg
Hostgroup Grid:
dco2.jpg
dco_admin account settings:
dco3.jpg

scottwilkerson wrote:Yes, please do let us know.

Thanks.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Possible permissions problem with the Xi interface

Post by scottwilkerson »

Can you open a ticket by sending your latest config snapshot to xisupport@nagios.com along with a link to this thread and the results of the following command

Code: Select all

ps -ef|grep bin/nagios
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked