Page 1 of 1
Dashboards not available without password
Posted: Tue Mar 20, 2018 9:38 am
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?
Re: Dashboards not available without password
Posted: Tue Mar 20, 2018 4:46 pm
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.
Re: Dashboards not available without password
Posted: Wed Mar 21, 2018 4:38 pm
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
Re: Dashboards not available without password
Posted: Thu Mar 22, 2018 10:03 am
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!