Bug: Users not receiving correct permissions

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Bug: Users not receiving correct permissions

Post by jsmurphy »

So a couple weeks ago I posted a topic about a bunch of minor issues and one in particular was users not receiving the correct permissions through Nagios XI, while unfortunately not a reproducible case of the same bug this is a reproducible case of a very similar one.

The Nagios set up for this particular brand is as follows:

user -> contact group -> contact group -> host template for networks -> host
user -> contact group -> contact group -> host template for servers -> host

When a device goes down, they are able to see both the network devices and servers as you would expect, only network devices however will ever provide the option to acknowledge or set downtime so on and so forth. The configuration for both networks and servers in this particular instance is identical except for two things:

- The server and networks each have a unique (currently empty) template with the sole purpose of adding additional user groups to view/control the device.
- The server has no attached services.

You can work around the problem on the host page by going -> advanced -> view host in Nagios core and then you can acknowledge the problem as you would expect. Given XI's propensity to occasionally do silly things when a host has no services, I added a service and this made the problem go away... users could then set downtime for that host.

Oh and NXI r2.1
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Bug: Users not receiving correct permissions

Post by scottwilkerson »

I was able to reproduce this, and subsequently found the bug.

Attached is a file that can be unzipped and placed in
/usr/local/nagiosxi/html/includes

This should resolve the issue.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Bug: Users not receiving correct permissions

Post by jsmurphy »

You're the man Scott thanks!
Locked