Permissions not working

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Narie
Posts: 57
Joined: Thu Apr 18, 2013 9:36 am

Permissions not working

Post by Narie »

Hi,

I've imported a new user from our AD, and I would like to restrict this user (developer) to a specific host. So I create a new host list with this host, and I edited this user with Host Visibility to this Host List. When I login with this user I don't get any data in my Dashboard. Have I missed something? We're on NLS version 2.1.3.
Narie
Posts: 57
Joined: Thu Apr 18, 2013 9:36 am

Re: Permissions not working

Post by Narie »

When I select the NLS itself, it works, but with any other host it shows no data in the Dashboards.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Permissions not working

Post by lmiltchev »

I haven't been able to reproduce the issue in Nagios Log Server 2.1.3. Permissions / Host Lists worked for me as expected.

Is there any data (logs), coming in from this host? Can other (admin) users see the data? Can you show us screenshots of "Host Lists" page (Admin > Management > Host List Management), and the "Edit User" page (Admin > Management > User Management > Edit > Permissions)

Also, log in as your user, click on "Dashboards", then click on the "host" link on the left, and show us a screenshot of this page as well.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Narie
Posts: 57
Joined: Thu Apr 18, 2013 9:36 am

Re: Permissions not working

Post by Narie »

There is data coming in from this host as all users with Admin access can view the logs just fine.

Attached you find the screenshots of the 'Host Lists' and 'Permissions' page. I obfuscated our domain with red marker.

On the 'Dashboards' page there does not seem to be a 'host' link. It is only showing the Default Dashboard (or another dashboard when clicked). Could you clarify what page you mean exactly?

Thanks in advance!
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Permissions not working

Post by lmiltchev »

On the 'Dashboards' page there does not seem to be a 'host' link. It is only showing the Default Dashboard (or another dashboard when clicked). Could you clarify what page you mean exactly?
Sure. First, log in as "test7tim", and click on the "Dashboards" menu on top.

Example:
example01.PNG
Click on the "host" link on the left (under "ALL EVENTS"), and show a screenshot of the page.

Example:
example02.PNG
You should be able to see the host that is in the whitelist. In my case, this is my "test" host 192.168.18.201.

Example:
example03.PNG
example04.PNG
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Narie
Posts: 57
Joined: Thu Apr 18, 2013 9:36 am

Re: Permissions not working

Post by Narie »

Thanks for your reply.

Under Dashboards > Host I see nothing (see attached image). In the Host List that is applied to the user I see the allowed server as:

hostname ()

Could it be related to the fact it does not have a IP address associated with the hostname?
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Permissions not working

Post by lmiltchev »

You said in your previous post:
There is data coming in from this host as all users with Admin access can view the logs just fine.
Can you show us a screenshot of what other (admin) users see when they click on the same link (host)?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Narie
Posts: 57
Joined: Thu Apr 18, 2013 9:36 am

Re: Permissions not working

Post by Narie »

See the attached screenshot.

Thanks!
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Permissions not working

Post by lmiltchev »

The only thing I can think of that could cause this issue is having a filter set up on your default dashboard. For example, if your user set up a filter on the default dashboard to see ONLY NLS itself, then saved the dashboard, he wouldn't see anything else. Normally, you may not be able to see the filter, unless you click on the "FILTERING" button to expand it.

Example:
example01.PNG
If this is not the case, then we would probably have to do a remote session to further troubleshoot the issue. You can open a new ticket via our support center here:

https://support.nagios.com/tickets/
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Narie
Posts: 57
Joined: Thu Apr 18, 2013 9:36 am

Re: Permissions not working

Post by Narie »

Thanks for your reply.

No additional FILTERING is applied besides the 'last 24 hour' filtering. We will open a support ticket.
Locked