Page 1 of 1

Bug/Enhancement regarding Home Dashboard management?

Posted: Fri Feb 09, 2018 10:50 am
by yo_marc
Hello Nagios Support,

I ran into an issue with managing my Home Dashboard - It took me a while to work around the problem.

Not sure if this is a bug, or enhancement-request, or user-error.

Problem:

I had an issue displaying my Home Dashboard after setting up my XI server to enforce HTTPS. My Home Dashboard was a custom URL, set to "http://mynagiosserver/dashboard/xyz". My browsers were having issues with this and blocking the page from displaying... as the page was trying to load insecure content.

I found it very difficult to go back in an re-assign my Home Dashboard. I could not find any options in XI to go in and reset things. I tried to delete the dashboard in an effort to reset the Home Dashboard to the default out of the box dashboard. That left me with the "Dashboard Not Valid" error, with still no way to mange it.

Resolution:

What I ended up doing is logging in as a user who still had the default dashboard page, with the management link available. I grabbed the full URL: "https://mynagiosserver/nagiosxi/include ... eropts.php" -- and navigated to that after logging back in as myself. From there I fixed up my custom URL and all is well.

I could not find any other way to manage the dashboard... Did I miss something in the XI GUI where I could do this? Or should this be an enhancement request?

Thanks!

Re: Bug/Enhancement regarding Home Dashboard management?

Posted: Fri Feb 09, 2018 11:39 am
by npolovenko
Hello, @yo_marc. I believe you can reset the home page dashboard if you go to the Admin Menu, then "Manage Components" in the left column. FInd the component called Home Page Modifications and click on Edit:
Uncheck Allow users to override their default homepage settings.
Select Home Dashboard.
Click on Update Settings.
Does that help?

Re: Bug/Enhancement regarding Home Dashboard management?

Posted: Fri Feb 09, 2018 3:44 pm
by yo_marc
Got it... Yes, that does help. I didn't realize you can get into the Home Dashboard configs by doing that.

It seems like it would be more user-friendly to be able to access the same config screen as seen in ~useropts.php at any time, as that would allow non-admins to more easily manage their Home Dashboard(s). It seems like if you're a non-admin and modify your Home Dashboard choice, you kind of lock yourself out from reverting back or making any other dashboard choices at this level. It's not a big concern on my behalf - Just mentioning it while the topic is at hand.

Re: Bug/Enhancement regarding Home Dashboard management?

Posted: Fri Feb 09, 2018 4:12 pm
by kyang
There are more granular user permissions coming to XI 6.

This is probably something that will help in that regard.

https://www.nagios.com/roadmaps/

Re: Bug/Enhancement regarding Home Dashboard management?

Posted: Fri Feb 09, 2018 4:16 pm
by npolovenko
@yo_marc, So the homepage destination in your case was a custom URL. And after you changed the XI to use the SSL that link no longer worked. Then you removed the url and you've tried all the other options in the drop-down menu, including the Static XI 5 home, but none of them would revert a standard "normal" XI homepage. If this is the case, I do agree that there should be a way to bring everything to defaults for non-admin users. I'll make a feature request.

Re: Bug/Enhancement regarding Home Dashboard management?

Posted: Sat Feb 10, 2018 7:59 am
by yo_marc
Awesome, I appreciate it!

I'm looking forward to the additional user permissoin work too - its something some of our users have asked about in the past.

I appreciate the attention to this... Thanks.

Re: Bug/Enhancement regarding Home Dashboard management?

Posted: Mon Feb 12, 2018 11:31 am
by npolovenko
@yo_marc, No problem. Yeah, what you're asking for is already on the XI roadmap:
New user permission system with more granular, well-defined permissions
https://www.nagios.com/roadmaps/
Here's our changelog:
https://assets.nagios.com/downloads/nag ... NGES-5.TXT
Regards.