Page 1 of 1

Dashboard related thing

Posted: Wed Oct 07, 2020 12:58 pm
by SteveBeauchemin
So, this is something I just noticed that happens when making a new user.

As the new user, you get no default dashboards. By default, until you click something on the menu.
New-User-No-Default-Dashboards.PNG
So now click New, or Manage, or Deploy and these pop into place.
New-User-Yes-Default-Dashboards.PNG
So why is this a bad thing? Well, if you make a new user, and deploy a Dashboard to them before they acquire the default items, they get something like this.
Manage-My-Dashboards.PNG
Once those blank items are in place, they are unable to delete them. The blank items also show up in the Deploy screen. I tested with both Admin users and Normal users.

Not complaining - just informing.

Thanks.

Steve B

Re: Dashboard related thing

Posted: Wed Oct 07, 2020 4:56 pm
by jdunitz
This may be a database issue.
Would you PM me a profile, so we can have a look?

--Jeffrey

Re: Dashboard related thing

Posted: Thu Oct 08, 2020 10:26 am
by SteveBeauchemin
I sent the profile.

I should note that I see this on 2 Nagios XI 5.7.3 servers. Both have offloaded databases.

Did you try making a new user and looking at the menu?

Thanks

Steve B

Re: Dashboard related thing

Posted: Thu Oct 08, 2020 5:04 pm
by ssax
I just labbed this up and I'm unable to replicate it.

I create a new user that has never existed (and don't login with them or masquerade as them) then deploy a dashboard to them, then login and I see only the Home dashboard and the deployed dashboard on XI 5.7.3.

What version of mysql/mariadb are your offloaded DB server's running?

Re: Dashboard related thing

Posted: Mon Oct 12, 2020 10:45 am
by SteveBeauchemin
Red Hat 7
# rpm -qa | grep -i mari
mariadb-libs-5.5.65-1.el7.x86_64
mariadb-devel-5.5.65-1.el7.x86_64
mariadb-server-5.5.65-1.el7.x86_64
mariadb-5.5.65-1.el7.x86_64

=============

These are my exact steps
Make a user.
deploy a dashboard
masquerade as the user
click dashboard > Manage my dashboards
Manage-My-Dashboards-v2.PNG
And I get this

This is not a clean new install. It is an upgrade from 5.5.8

Steve B

Re: Dashboard related thing

Posted: Mon Oct 12, 2020 5:07 pm
by ssax
I was able to replicate it by following your steps, as soon as I logged in normally as that user it fixed those blanks and the deployed dashboard stayed.

You you login as that user like normal and see if that fixes it on yours?

Thank you!