Page 1 of 1
How to change Dashboards owner?
Posted: Wed Nov 25, 2020 5:51 am
by ancert
Hi,
We have a problem with a user that´s own a lot of Dashboards and We need to remove him.
If We remove the user, all Dashboards will be erased too. We need only remove the user and mantain all his Dashboards.
How We can change the owner of the dashboards? We must update it throught de mysql DB?
Many Thanks.
Re: How to change Dashboards owner?
Posted: Wed Nov 25, 2020 4:26 pm
by vtrac
Hi ancert,
The best solution would be to deploy all his/her dashboards to another user then "disable" that user account.
Yes, delete that user would automatically remove all of his/her dashboards.
Here are the steps:
Code: Select all
Let call this user "A".
Grant user "A" an "admin" privilege.
Login as user "A"
Click "Dashboards" (menu bar) -> Deploy Dashboards (left menu)
Select the dashboard you would like to deploy, then select the user to deploy to then click "Deploy Dashboards" button at the bottom.
Now, log back to Nagios XI as admin user and "disable" that user "A".
Hope this helps.
Regards,
Vinh
Re: How to change Dashboards owner?
Posted: Thu Nov 26, 2020 2:08 am
by ancert
vtrac wrote:Hi ancert,
The best solution would be to deploy all his/her dashboards to another user then "disable" that user account.
Yes, delete that user would automatically remove all of his/her dashboards.
Here are the steps:
Code: Select all
Let call this user "A".
Grant user "A" an "admin" privilege.
Login as user "A"
Click "Dashboards" (menu bar) -> Deploy Dashboards (left menu)
Select the dashboard you would like to deploy, then select the user to deploy to then click "Deploy Dashboards" button at the bottom.
Now, log back to Nagios XI as admin user and "disable" that user "A".
Hope this helps.
Regards,
Vinh
Hi vtrac,
Then, your proposal is to "share" his dashboards with other user/s and disable the owner account but no remove it. right?
For your response, is not posible to change the owner, right?
Many thanks
Re: How to change Dashboards owner?
Posted: Mon Nov 30, 2020 10:25 am
by vtrac
Hi ancert,
Good day!! ...

Yes, it is not possible to change the dashboard's owner.
The best solution would be to "share" his dashboards then "disable" his account.
If you "delete" that account, all the dashboards will also be deleted.
Regards,
Vinh
Re: How to change Dashboards owner?
Posted: Wed Dec 02, 2020 4:59 pm
by SteveBeauchemin
The steps provided get you most of the way to where you want to be.
After you deploy the dashboards to a new user, the new user needs to "Clone" his new dashboards.
After clone, rename it. Do not rename it during the clone process.
After that, the original user can delete the dashboard and yes the deployed dashboard will probably be gone.
The Cloned dashboard will remain.
Please make sure to test this.
I have my own process to manage Dashboards that I would recommend. I have 2 special accounts where we
1.) Develop Dashboard Masters. User = Dashboard-Developer
2.) Deploy dashboards to the general user population. User = Dashboard-Deployer
Both accounts are admin and have no way to login. Use masquerade to get in them.
From the Developer account
Create / Develop and deploy a "Master" dashboard to the Deployer account only. Not to normal users
Do not check the box to keep dashboards in sync.
Logout of the developer account
Login to the Deployer account
From the Deployer account,
Clone the Master Dashboard that you just got.
Rename the cloned dashboard to the Name you want to actually use.
Deploy the Cloned and renamed dashboard to All users but not to the Developer account
Keep the box checked to keep the Dashboards in Sync.
Then delete the Master dashboard from the Deployer account.
Keep the Dashboard in the Developer account as a Master.
This process keep a pristine master Dashboard that admins and users cannot accidentally break.
The Deployer account is used only to keep User dashboards in place and under a master control.
Any time someone develops a cool dashboard they want to share, make them an admin user, immediately masquerade as that user, deploy the dashboard to the Dashboard Developer account. Logout and change the user back to a Non-admin user. Then, from the Developer account, clone the dashboard and rename it. From that point, tweak as needed, sent to Deployer account and push out to users. Rinse and repeat.
That is how I keep isolation and prevent accidental updates to important dashboards that all my users see.
Sorry if I was kind of wordy, but I hate losing work and Dashboards can be a lot of work. Hence the isolation process.
Steve B
Re: How to change Dashboards owner?
Posted: Thu Dec 03, 2020 11:01 am
by vtrac
Thank you Steve for the wonderful suggestion.
Best Regards,
Vinh