Is it possible for an admin to create dashboards that he can then "share" to specific users to make maintenance easy? For instance, I have clients that will need access to their own hosts. If I give them their access through the notifications, i've created a dashboard that I want to grant to members of a specific contact group. They may add people and I don't want to have to login as each user to configure the same dashboard if possible. I'd rather create it once through the admin user, save it, and then assign it to each member as I add their accounts to the server.
If not, is there a way to "save" the dashboard somewhere so that I can grant permissions to it so that they can grab it and add it to their views?
Share or Create default dashboard
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Share or Create default dashboard
I believe this feature is a current work in progress actually. I'm not sure of an ETA, but probably "soon".
Re: Share or Create default dashboard
Oh yes, I was gonna post my own and then I spotted this one! We all have a boss that wants "YOUR" dashboard! The ability to clone to another user or share out a dashboard would be VERY helpful! If this is in devlopment please let me know when it is available!
Re: Share or Create default dashboard
We have had several variations on this request and appears it would be an extremely useful feature. We will definitely make a post once completed 
Re: Share or Create default dashboard
Indeed it would be extremely useful, any ETA on this?rdedon wrote:We have had several variations on this request and appears it would be an extremely useful feature. We will definitely make a post once completed
Re: Share or Create default dashboard
I'll mention it again in staff meeting today. There is definite interest in this feature.
Re: Share or Create default dashboard
cheers!mguthrie wrote:I'll mention it again in staff meeting today. There is definite interest in this feature.
Re: Share or Create default dashboard
Until the awaited feature is available, You can use a workaround -> copy all dashboards directly in the postgres database
To do this connect to postgres nagiosxi database. Then in the table xi_users locate the user_id of the users You want to copy dashboards between.
Next go to the table xi_usermeta and look for the rows that have user_id equal to what You've found in xi_users and the keyname='dashboards'.
Then You can simply copy the keyvalue data from one user to another (using SQL update or phpPgAdmin) - this will duplicate all dashboards between users (be careful while coping - You cannot add data from one user's keyvalue to another. Have to overwrite it, so the destination user will loose all his current dashboards).
Of course an alternative to copying all dashboards is to copy just the dashboards You need, but it requires more effort to understand the data structure (not enough just to copy sections - have to change some values too) and is a little bit tricky, since all this data is actually one veeeery long line - so it is easy to make a mistake).
To do all of this I recommend using phpPgAdmin
It simplifies the whole operation 
Michalux
To do this connect to postgres nagiosxi database. Then in the table xi_users locate the user_id of the users You want to copy dashboards between.
Next go to the table xi_usermeta and look for the rows that have user_id equal to what You've found in xi_users and the keyname='dashboards'.
Then You can simply copy the keyvalue data from one user to another (using SQL update or phpPgAdmin) - this will duplicate all dashboards between users (be careful while coping - You cannot add data from one user's keyvalue to another. Have to overwrite it, so the destination user will loose all his current dashboards).
Of course an alternative to copying all dashboards is to copy just the dashboards You need, but it requires more effort to understand the data structure (not enough just to copy sections - have to change some values too) and is a little bit tricky, since all this data is actually one veeeery long line - so it is easy to make a mistake).
To do all of this I recommend using phpPgAdmin
Michalux
Re: Share or Create default dashboard
We this component just about ready, but it will be released as a customer-only download. I'm guessing it should be available in the next month or so.
-
cloberjewels
- Posts: 23
- Joined: Wed Sep 21, 2011 10:59 am
Re: Share or Create default dashboard
Was this released yet? Thx.