Dashboards not available without password

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Dashboards not available without password

Post by highness »

I created a dashboard that several users need to view. I have deployed the dashboards to the users that need to see it, but when they go to view the dashboard, they get this:
nagios_nodashboard.png
I saw this thread: https://support.nagios.com/forum/viewto ... 16&t=46212 but that thread is about as clear as mud.

We're running Nagios version 5.4.3. Please help?
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Dashboards not available without password

Post by npolovenko »

Hello, @highness. That other thread is a different story. What version of XI are you using?
First, please go to the Admin menu, click on System Extensions -> Manage Components, then select Check For Updates and Install Updates.
When you deployed the dashboard did you check the "Keep Synced" box?
Also, what security settings do these other users have?To check that please go to the admin menu, then Manage Users, and click on Edit next to the username. Please take a screenshot of the paragraph with Security Settings.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
highness
Posts: 192
Joined: Thu May 01, 2014 4:25 pm

Re: Dashboards not available without password

Post by highness »

npolovenko wrote:Hello, @highness. That other thread is a different story. What version of XI are you using?
First, please go to the Admin menu, click on System Extensions -> Manage Components, then select Check For Updates and Install Updates.
When you deployed the dashboard did you check the "Keep Synced" box?
Also, what security settings do these other users have?To check that please go to the admin menu, then Manage Users, and click on Edit next to the username. Please take a screenshot of the paragraph with Security Settings.
We're running Nagios XI 4.5.3. Updating our instance isn't really an option at this point, unless you're telling me that we need to do that to resolve this issue.

A high percentage of the dashboards that the administrator account creates are shared with all users and yes, we always enable the "Keep Synced" box.
All the users that we typically have on our system are "Users" and have their security permissions look like this:
Screen Shot 2018-03-21 at 2.34.54 PM.png
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: Dashboards not available without password

Post by lmiltchev »

The only way I can see this is going to work is to do the following:

1. Log in (masquerade in) as the user in question, go to Dashboards, right-click on the deployed dashboard > Open link in new tab, and copy the URL.

2. Logged in as nagiosadmin or other admin, go to Admin > Manage Components > Backend API URL > Edit Settings, select your user from the "User" drop-down menu, and click on Apply Settings.

3. Grab the last part of any of the URLs, which contains the username and the ticket, e.g. "&username=user1&ticket=Fhm8P9GJKl60ZMhNrF9UkgGoCSDIbXY7ekejMa2su7MNa3QEXfOhvrInjB5OukU3", and append it to the dashboard URL that you obtained earlier.

4. Provide user with the new URL.

Example:

Code: Select all

http://x.x.x.x/nagiosxi/dashboards/dashboard.php?id=lKo5Ju&username=user1&ticket=Fhm8P9GJKl60ZMhNrF9UkgGoCSDIbXY7ekejMa2su7MNa3QEXfOhvrInjB5OukU3
Let us know if this worked for you. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked